8/15/2009 6:15 PM | |
Posts: 12 Rating:
|
Hello! how I can set only "time" of PLC without "date" if I used a digital imputs. best regards! |
8/17/2009 3:11 PM | |
Posts: 126 Rating:
|
I am not sure what you are asking but here is an example. To manipulate system time and date you have to use a data block with an element of type DTL. You can read the current system time and date into DTL variable with the RD_SYS_T block. Make changes to the time as needed. Write the new system time and date to the PLC with the WR_SYS_T block. In the attached example I showed the blocks with DTL variables attached to them but didn't put any additional control elements. AttachmentScreenshots.zip (910 Downloads) |
Follow us on