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

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

Advertisement

C-mode Command Details
Response Format
Parameters
Limitations
Execution Conditions
Commands
Single
Multiple
OK
No
End Codes
132
1
@
x 10
x 10
Unit No. (BCD)
Program Address (Command)
Designate the program address in six digits decimal (BCD) for beginning the
search for the specified timer/counter instruction.
Timer/Counter Type (Command)
Designate the timer/counter instruction type, in ASCII, for changing the con-
stant 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 reading
the constant SV. (Index register designation is not possible.)
Constant/Area Classification (Command)
Designate the ASCII characters to express the constant or area classification.
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 changed.
If the SV is a DM or EM indirect address, only indirect BCD designations will
be read and an end code of 16 (command not supported) will be returned if
the indirect designation is not BCD.
The SV can be changed only in cyclic task 0.
The maximum EM bank number that can be specified is 12 (0C Hex).
Responses
Single
Multiple
RUN
OK
No
No
An end code of 14 (format error) will be returned if the length of the command
is incorrect.
An end code of 15 (entry number data error) will be returned if the program
address is not BCD, or if the timer/counter type or number is out of range
(including hexadecimal data).
An end code of 15 (entry number data error) will be returned if a constant or
area classification is out of range (including hexadecimal data).
An end code of 16 (command not supported) will be returned if the specified
instruction does not exist in the UM Area.
End code (Hex)
00
01
04
13
14
15
16
18
19
21
23
0
1
0
W
%
x 16
x 16
Header
End code
code
PLC Mode
MON
PROG
OK
OK
Normal completion
Not executable in RUN mode
Address over
FCS error
Format error
Entry number data error
Command not supported
Frame length error
Not executable
Not executable due to CPU Unit CPU error.
User memory protected
*
FCS
Terminator
UM Area
Write-protected
Read-protected
No
Contents
Section 4-3
No

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents