EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 694

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
692
7 APPLICATION INSTRUCTIONS
7.15 Clock Instructions
Program example
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

Table of Contents

Related product manuals