Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-353
SECOND(P)
1
2
3
4
6
6
7
8
7.15 Clock instructions
7.15.5 Time data conversion (from Hour/Minute/Second to Second) (SECOND(P))
Program Example
(1) The following program converts the clock time data read from the clock element into second
when X20 is turned ON, and stores the result at D100 and D101.
[Ladder Mode] [List Mode]
[Operation]
Time data read operation triggered by DATERDP instruction.
Conversion to seconds as triggered by the SECONDP instruction.
Step Instruction Device
Clock device
95
4
20
D11
D12
Year
Day
Month
20
21
23
5
D10
D13
D14
D15
D16
Hour
Minute
Second
Day of week
Time data
20
21
23
D14
D15
73283
D13
D101,D100