Jump to content

Can't get the PID block to work


Recommended Posts

Hi everybody

thank you for your support and great advice in the past

yet unfortunately I have stumbled across another problem I was not able to solve:

 

I can't get the PID to work in my program - I defined all the parameter, all the data, I've even assigned a button to turn on the PID block, yet it refuses to switch to on state, it's status not changing after it's activation.

 

Thank you in avance for your help

02_PROJECT 12.vlp

Link to comment
Share on other sites

Hello,

 

Within the project you have the PID configuration being powered by the power up bit, SB 2 in the HE PID subroutine. However, in your main routine you have a bit, MB 0, acting as an initial condition that calls the subroutine. If you are calling the subroutine to run after it has already powered up the PID configuration will not be able to run. All subroutines that have power up conditions being set should also be run on the first scan.

 

Once the configuration is run you will be able to use the status message within the PID configuration to troubleshoot any issues.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...