926
Clock Instructions
Section 3-28
Applicable Program Areas
Operands
S and S+1: Source Data
Set the seconds source data in S and S+1, as shown in the following diagram.
S and S+1 must be in the same data area.
D and D+1: Result Data
D and D+1 contain the result data in hours/minutes/seconds format. D and
D+1 must be in the same data area.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
S
D
CIO Area
CIO 0000 to CIO 6142
Work Area
W000 to W510
Holding Bit Area
H000 to H510
Auxiliary Bit Area
A000 to A958
A448 to A958
Timer Area
T0000 to T4094
Counter Area
C0000 to C4094
DM Area
D00000 to D32766
EM Area without bank
E00000 to E32766
EM Area with bank
En_00000 to En_32766
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Rightmost 4 digits
Seconds: 0000 to 9999 (BCD)
Leftmost 4 digits
Seconds: 0000 to 3599 (BCD)
15
0
S
15
0
S
+1
Minutes: 00 to 59 (BCD)
Seconds: 00 to 59 (BCD)
Hours: 0000 to 9999 (BCD)
15
8
0
7
D
15
0
D+1
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...