Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual page 145

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

C-mode Command Details
Response Format
1
0
@
x 10
x 10
Unit No. (BCD)
Parameters
Limitations
1
0
R
$
x 16
x 16
OP1 OP2 OP3 OP4
Header
End code
code
Classification
Constant
CIO
AR
HR
WR
Timer
Counter
DM
DM (indirect)
EM current bank
EM (indirect) current
bank
EM banks 0 to C
EM (indirect) banks 0 to
C
Data register
Index register (indirect)
Note "SP" represents a space (20 Hex).
Program Address (Command)
Designates the program address in four digits decimal (BCD) for beginning
the search for the specified timer/counter.
Timer/Counter Type (Command)
Designate in ASCII characters the timer/counter instruction type for reading
the constant SV or the word address in which it is stored.
Timer/Counter Number (Command)
Designate in four digits (BCD) the timer/counter instruction number for read-
ing the constant SV or the word address in which it is stored. (Data register
designation is not possible.)
Constant/Area Classification (Response)
The constant or I/O memory area classification is returned, in ASCII, to this
parameter.
SV/Word Address (Response)
The constant SV or the word address in which it is stored is returned to this
parameter.
Timers T2048 to T4095 and counters C2048 to C4095 cannot be read.
The SV of the first timer/counter found after the designated program address
will be read.
If the SV is outside of range for the timer/counter type or number, an end code
of 16 (command not supported) will be returned.
3
x 10
x 10
Constant/area
SV/word address
classification
Constant/area classification
Charac-
Charac-
ter 1
ter 2
C
O
C
I
A
R
H
R
W
R
T
I
C
N
D
M
D
M
E
M
E
M
E
M
E
M
D
R
,
I
Section 4-3
*
2
1
0
x 10
x 10
FCS
Terminator
Charac-
Charac-
ter 3
ter 4
N
(SP)
0000 to 9999
O
(SP)
0000 to 6143
(SP)
(SP)
0000 to 0959
(SP)
(SP)
0000 to 0511
(SP)
(SP)
0000 to 0511
M
(SP)
0000 to 2047
T
(SP)
0000 to 2047
(SP)
(SP)
0000 to 9999
*
(SP)
0000 to 9999
(SP)
(SP)
0000 to 9999
*
(SP)
0000 to 9999
0 to C
(SP)
0000 to 9999
*
0 to C
0000 to 9999
(SP)
(SP)
0000 to 0015
R
(SP)
0000 to 0015
SV or word
address
123

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents