4-5
Section
Host Link Commands
303
Read Word address, Data Format (Command)
Depending on the area and type of data that are to be read, the information to be
read is as shown in the following table. The “read data” is specified in four digits
BCD, and the data format is specified in two digits BCD.
Area
l
ifi
ti
Read data
Read area
Read word
Data format
classification
CPM2A/
CPM2C PCs
CPM1/
CPM1A/
SRM1(-V2)
PCs
IR or SR
Bit
C I O (S)
0000 to 0049
0200
0255
0000 to 0019
0200
0255
00 to 15 (decimal)
Word
( )
0200 to 0255
0200 to 0255
“CH”
LR
Bit
L R (S) (S)
0000 to 0015
0000 to 0015
00 to 15 (decimal)
Word
( ) ( )
“CH”
HR
Bit
H R (S) (S)
0000 to 0019
0000 to 0019
00 to 15 (decimal)
Word
( ) ( )
“CH”
AR
Bit
A R (S) (S)
0000 to 0023
0000 to 0015
00 to 15 (decimal)
Bit
( ) ( )
“CH”
Timer
Completion Flag
T I M (S)
0000 to 0255
0000 to 0127
2 characters other than “CH”
PV
( )
“CH”
High-speed timer
Completion Flag
T I M H
0000 to 0255
0000 to 0127
2 characters other than “CH”
g
p
PV
“CH”
Long timer
Completion Flag
T I M L
0000 to 0255
Not used.
2 characters other than “CH”
g
PV
“CH”
Very high-speed timer
Completion Flag
T M H H
0000 to 0255
Not used.
2 characters other than “CH”
y
g
p
PV
“CH”
Counter
Completion Flag
C N T (S)
0000 to 0255
0000 to 0127
2 characters other than “CH”
PV
( )
“CH”
Reversible counter
Completion Flag
C N T R
0000 to 0255
0000 to 0127
2 characters other than “CH”
PV
“CH”
DM
Word
D M (S) (S)
0000 to 2047
6144 to 6655
0000 to 1023*
6144 to 6655
Any 2 characters
Note
*For SRM1(-V2) PCs, the DM range is from 0000 to 2047.
(S): Space
Data Break (Command)
The read information is specified one item at a time separated by a break code
(,). The maximum number of items that can be specified is 128. (When the PV of
a timer/counter is specified, however, the status of the Completion Flag is also
returned, and must therefore be counted as two items.)
Batch Reading
The bit, word, and timer/counter status is read as a batch according to the read
information that was registered with QQ.
Command Format
@
Q
Q
x 10
0
x 10
1
I
R
↵
Node no.
Header
code
Sub-header
code
Terminator
FCS