jcuthbertson

Q Series Scanning Order and IO Refresh

2 posts in this topic

Hello everyone,

Long time listener first time caller :)

Relatively new to Mitsubishi PLC's, and I have a general question on the scanning and IO refresh for Q series PLC's. I haven't been able to find the answer searching so if I missed it, then, my bad.

For PLC's that have multiple programs running in them, at what point is the IO actually updated? For example:

You have two programs running. A and B. For both programs the "Program Parameter", lists A before B, and both are set to "Scan". (I am assuming this means scan them in series as fast as possible.)

You are controlling Y1, and you set the output to ON in Program A. Then in Program B you set Y1 to OFF.   What happens?

Does Y1 get switched ON immediately when its rung gets scanned?

Does it get switched ON at the end of Program A's scan?

Or does it never actually switch ON, because the IO is updated after ALL programs are scanned, and it gets set to OFF in program B?

 

Also, does it function the same with digital registers? What about MELSEC registers?

 

Hopefully my question makes sense.

Thanks for any help, and if you can point me to a manual that answers this question that would be great too!

-Joe

1 person likes this

Share this post


Link to post
Share on other sites

inputs and outputs are refreshed at the end of the sequence. This means if program B resets Y0. Y0 will never turn on,

If you would like to set an output directly use DY0 then it will be activated immediately.

All other devices are changed directly 

 

1 person likes this

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