Omron C200HX Operation Manual page 517

Hide thumbs Also See for C200HX:
Table of Contents

Advertisement

Host Link Commands
10-3-35 COMPOUND COMMAND –– QQMR
Command Format
1
0
@
x 10
x 10
Q
Node no.
Header
code
Response Format
Registers at the PC all of the bits, words, and timers/counters that are to be read,
and reads the status of all of them as a batch. The registered information is re-
tained in the PC until it is overwritten by the COMPOUND COMMAND or the
PC's power is turned off.
Q
M
R
OP1 OP2 OP3 OP4
Sub-header
Read area
code
Single read information
Total read information (128 max.)
OP1 OP2 OP3 OP4
,
Data break
Read area
Single read information
Total read information (128 max.)
The "Read area" indicates the data area, the "Read word address" indicates the
word address, and the "Data format" indicates the bit number (00 to 15) or entire
word (CH).
Data area/instruction
IR or SR
LR
HR
AR
TIMER
HIGH-SPEED TIMER
COUNTER
REVERSIBLE COUNTER
TOTALIZING TIMER
DM
EM (current bank)
EM (bank 0)
EM (bank 1)
EM (bank 2)
Each word or bit address is specified one item at a time separated by a break
code (,). The maximum number of items that can be specified is 128 unless an
address in the EM area is specified, in which case the maximum is 100. (When
the PV of a timer/counter is specified, the status of the Completion Flag is also
returned, and must therefore be counted as two items.)
1
x 10
x 10
@
Node no.
3
2
1
x 10
x 10
x 10
x 10
Read word address
3
2
1
0
x 10
x 10
x 10
x 10
Read word address
Operand
OP1
OP2
C
I
O
L
R
(Space)
H
R
(Space)
A
R
(Space)
T
I
M
T
I
M
C
N
T
C
N
T
T
T
I
D
M
(Space)
E
M
(Space)
E
M
0
E
M
0
E
M
0
0
x 16
Q
Q
M
R
Header
Sub-header
End code
code
code
Section 10-3
0
OP1 OP2
,
Data
Data break
format

OP1 OP2
Data
FCS
Terminator
format
Constant or
word address
d dd
OP3
OP4
(Space)
0000 to 0511
(Space)
0000 to 0063
(Space)
0000 to 0099
(Space)
0000 to 0027
0000 to 0511
(Space)
H
(Space)
R
M
(Space)
0000 to 6655
(Space)
0000 to 6143
0
0000 to 6143
1
0000 to 6143
2
0000 to 6143

1
0
x 16
FCS
Terminator
499

Advertisement

Table of Contents
loading

This manual is also suitable for:

C200hgC200he

Table of Contents