Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

State Machine with PID Control

Solved!
Go to solution

Hi there, I've currently got a problem with my state machine, I'm controlling two double acting pistons in sequence which works fine. However there is a point in which I need to increase the pressure in the cylinder and maintain that pressure through out the state machine sequence, however when the state machine transitions to the next state the PID controller resets itself, how can I overcome this? While also being allowed to apply pressure in another cylinder (same IO Node being accessed).

 

Thanks I've attached my project in a WinZip file, so it will need to be extracted. The two main VI's to look at are "Park Brake FPGA VI New" and "Park Brake Host VI Modified (New) 2"

 

Thanks.

0 Kudos
Message 1 of 3
(3,630 Views)

2012 version incase someone doesn't have 2015.

0 Kudos
Message 2 of 3
(3,627 Views)
Solution
Accepted by topic author OA1

Never mind I've solved the issue with a parallel loop.

0 Kudos
Message 3 of 3
(3,600 Views)