Jump to content

Recommended Posts

Posted
I have a auto reset set up using the Date/Time comparison function that requires the part detect sensors to be checked at the beginning of every shift. The problem arises when the time changes for daylight savings time and I have to go sync all of the plc clocks with a laptop. Is there a way to do this through an NS series touch screen where the internal PT clock can be used to adjust the PLC clock?

Posted
There is a block for that in the Smart Active Parts.Another option is in the download section http://forums.mrplc.com/index.php?app=downloads&showfile=446 and http://forums.mrplc.com/index.php?app=downloads&showfile=588
Posted
John, the Smart Active Part option is the easiest for setting the clock in the PLC from the screen. Just set the screen clock and press the button. The code will do the daylight saving stuff for you as well.
Posted
Bob, one more question. How do I adjust the function block calculations for the start date and end date for Daylight Savings Time? The function block is calculating that the start date for this year as March 3 when it was actually March 10 and the end date as November 24 when it is actually November 3.
Posted (edited)
John - I have no idea as I have never used it. I will have a look at it for you. Here is a link to an explanation - it was written by a friend of mine http://forums.mrplc.com/index.php?app=downloads&showfile=588 Hope this helps Edited by BobB
Posted
Thanks, Bob. I got it figured out, just had to add 7 to the Start Date calculations. I have attached the modified file if you want to check it out. I also have it where the touchscreen auto updates to the plc clock as well. Daylight Savings Usage.cxp

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
×
×
  • Create New...