7-355
HOUR(P)
1
2
3
4
6
6
7
8
7.15 Clock instructions
7.15.6 Time data conversion (from Second to Hour/Minute/Second ) (HOUR(P))
Program Example
(1) The following program converts the seconds stored at D0 and D1 into an hour, minute,
second format, and stores the result at devices starting from D100 when X20 is turned ON.
[Ladder Mode] [List Mode]
[Operation]
• Conversion to hour minute, and second format by the HOURP instruction (when the value
40000 seconds has been designated by D1 and D0).
Step Instruction Device
40000D1,D0
11
6
40
D101
D102
D100