DVP-ES3 Series Programming Manual ARRAY to declare the operands. 5. When the hour value in S 1 is larger than the value set in S 3 , it means the time to stop working is the next day. For example, when you set the time to start working at 18:00 on Monday and the time to stop working at 6:00, it means the time to stop working is at 6:00 Tuesday. 6. The setting value for the hour is between 0–23. When the setting value is out of range, this function is not enabled. The setting value for the minute is between 0–59. When the setting value is out of range, this function is enabled but uses 0 as the setting value. 7.
When it is required to set the work time to be more than 1 day, you can set the hour as 24, which means the system does not check the start working time and the stop working time. For example, to set the start working time to 8 am Monday and the stop working time to 8pm Tuesday, use S 1 +1=8, S 3 +1=24, S 1 +2 =24 and S 3 +2=20. See the formula in the following table. _6 8. This instruction should work with the real-time clock in the PLC. Before operating, make sure the PLC battery is securely installed and working correctly. 9. There is no limit on the number of times you can execute the instruction but the output control device D cannot be used repeatedly.
If you use the device D repeatedly, only the last output result from the WWON instruction is executed. 10. If more than 1 set of work hours are needed, use the WWON instruction repeatedly as required. Note that you cannot use the output control device D repeatedly. Example 1 6-504 Start working time Stop working time Day Start Hour Start Minute Stop Hour Stop Minute Sunday S1 24 S2 00 S3 24 S4 00 Monday S1+1 18 S2+1 00 S3+1 06 S4+1 00 Start working time Stop working time Day Start Hour Start Minute Stop Hour Stop Minute Sunday S1 24 S2 00 S3 24 S4 00 Monday S1+1 08 S2+1 00 S3+1 24 S4+1 00 Tuesday S1+2 24 S2+2 00 S3+2 20 S4+2 00