myork82

QCPU Set Time to CPUS on Melsecnet

2 posts in this topic

I have a group of 12 Mitsubishi PLC's on a Melsecnet and have the SNTP time server working on the Master PLC. (Q03UDV) I found under "Set Clock" where I could broadcast the time to the other processors on the Melsecnet which I tried and it worked. Is there a way to have the Master broadcast and set the time on the other CPU's on the Melsecnet automatically? I could dump the clock data to a W0-W3 in the master for example and then in the slave CPU's dump the values of W0-W3 to SD210-SD213 and then turn on SM210 which would set the clock, but I would have to do that in all 11 slave CPUS's. Be nice to do it automatically like I clicked the execute button in the attached picture.      

master plc set clock.JPG

Share this post


Link to post
Share on other sites

Check the melsecnet H reference manual and look for the following dedicated instruction:

RTMWR

Write clock data into other station

or

RTMRD

Other station clock data read

Edited by Gambit

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