Appendix 4 Instruction List
App. 4-34
(18) Time related instruction
Reads PLC Time to save in D ~ D+6
(Yr/Mn/Dt/Hr/Mn/Sd/Day)
Input
S ~ S+6’s Time Data in PLC
(Yr/Mn/Dt/Hr/Mn/Sd/Day)
Adds S1 ~ S1+2 & S2 ~ S2+2 Time
Data to save in D ~ D+2 in Time
Data format (Hr/Mn/Sd)
Extracts S2 ~ S2+2’s Time Data from
S1 ~ S1+2 to save in D ~ D+2 in
Time Data format (Hr/Mn/Sd)
Time Data
Format
Conversion
Converts Time Data S ~ S+2 to
seconds to save in double word D
Converts the seconds saved in
double word S to Hr/Mn/Sd to save
in D ~ D+2
(19) Divergence instruction
Jumps and designates the location
to move to
Subroutine
Call Functional
Calls Function applicable to LABEL
Designates Function to be called by
CALL