12/26/2012 7:41 AM | |
Joined: 1/28/2009 Last visit: 9/10/2024 Posts: 6849 Rating: (1365) |
Hello, You have 2 options as far as I know and both are solutions in PLC: 1-Using Time of Day intterupt, Time is fix and should be set in Hardware Configuration 2-Using SFC1 for reading current date and time of CPU and generate actions and alarms base on that.it is a bit more complex but flexible i.e you can set time and compare it in your program.I think the following link will be helpful for that: How can you read out the date and time with SFC1 (READ_CLK) and input them with SFC0 (SET_CLK)? Best regards Hamid Hosseini |
Follow us on