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

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

Advertisement

C-mode Command Details
Response Format
Parameters
Limitations
Note "SP" represents a space (20 Hex).
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) 0 to C
Data register
Index register
Note "SP" represents a space (20 Hex).
@
x 10
Unit No. (BCD) Header
Program Address (Command)
Designate the program address in four digits decimal (BCD) for beginning the
search for the specified timer/counter instruction.
Timer/Counter Type (Command)
Designate the timer/counter instruction type for changing the constant SV or
the word address in which it is stored.
Timer/Counter Number (Command)
Designate the timer/counter instruction number for reading the constant SV.
(Index register designation is not possible.) The range that can be designated
is the same as for R#.
Constant/Area Classification (Command)
Designate the ASCII characters to express the new SV area classification or
constant.
New SV/Word Address (Command)
Designate the newly set constant SV or the word address in which it is stored.
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.
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
1
0
1
W
$
x 10
x 16
x 16
End code
code
Section 4-3
SV or word
address
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
*
0
FCS
Terminator
(BCD)
129

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents