Sign in to follow this  
Followers 0
sid

PLC Scan

5 posts in this topic

I am working on a machine where scan time affects my process. I want to know that memory flags such as M0 are refreshed at the end of program scan or it is updated as soon as logic processing?

Share this post


Link to post
Share on other sites
The M coils are are direct refreshing. As the update as soon as the PLC scans the rung and does not wait till the end of the scan. The X and Ys wait till the end of the scan until they are updated.

Share this post


Link to post
Share on other sites
The normal scan of a PLC is like follow; 1st read inputs 2nd program execution 3rd write outputs All other devices than inputs and outputs are directly updated when used in the program.

Share this post


Link to post
Share on other sites
An alternative would be to set your plc to a constant scan time. This way you should get the same results continuously. For FX set M8039 and set scan time duration in D8039. For Q Cpu use setup in GX Dev

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0