403
C-mode (Host Link) Command Master Appendix C
TIMER/COUNTER STATUS READ (RG Command)
(Sequence No. 706 (Hex 02C2))
Reads the contents of the specified number of timer/counter status words (T0000 to T2047, C0000 to C2047)
beginning with the designated word from the specified Host Link Unit and stores starting from the specified
storage word.
Send Data Word Allocation (3rd Operand of PMCR(260))
Receive Data Word Allocation (4th Operand of PMCR(260))
Offset Contents (data format) Data
+0
Number of send data words Always 0004 hex (4 decimal)
+1
(Undefined) Host Link unit
No.
(2 digits BCD)
00 to 31
+2
First read word (4 digits BCD) Timers: T0000 to T2047 (timer No.s
0000 to 2047))
Counters: C2048 to C4095 (counter
No.s 0000 to 2047)
Note: Specify T0000 to T2047 for tim-
ers and in C2048 to C4095 for
counters.
+3
Number of read words
(4 digits BCD)
Depends on the remote CPU Unit.
+0
+1
+2
+3
(Undefined)
Number of read words
First read word
First word of
send data
Number of send data words
Host Link unit No.
Offset Contents (data format) Data
+0
Number of receive data words 0003 to 00FA hex (3 to 250 decimal)
+1
(Undefined) End code
(2 digits hex)
The end code is stored in hexadecimal.
+2
+0 +1 +2 +3 ON: 1 hex
OFF: 0 hex
The Timer/Counter Completion Flag is
1 digit hex (4 bits) per point, and the
ON (1 hex) or OFF (0 hex) status is
stored in order from the leftmost to
rightmost digit in 1 word for each 4
points.
+3
+4 +5 +6 +7
+0
+1
+2
Read data
Receive data
storage words
Number of receive data words
(Undefined) End code