Lr Area Read - - Rl - Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual

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

Advertisement

C-mode Command Details
Limitations
Execution Conditions
Commands
Single
Multiple
Single
OK
No
End Codes
4-3-3
LR AREA READ – – RL
Command Format
1
@
x 10
x 10
Unit No. (BCD)
Response Format
1
@
x 10
x 10
Unit No. (BCD)
Limitations
The text portion of the response's first frame can contain up to 30 words. If
more than 30 words are read, the data will be returned in multiple frames.
In the second and later frames, the text portion of the response can contain
up to 31 words.
The INITIALIZE and ABORT commands can be sent instead of the delimiter
for multiple responses for this command. If other commands are sent, they will
be treated as delimiters.
Responses
Multiple
RUN
OK
OK
OK
An end code of 14 (format error) will be returned if the length of the command
is incorrect and an end code of 15 (entry number data error) will be returned if
the specified words exceed the data area boundaries, or are not specified in
BCD, or if the number of words to read is 0.
End code (Hex)
00
13
14
15
18
21
Treats CIO 1000 to CIO 1199 as a data link area and reads the contents of the
specified number of words starting from the specified word.
0
3
2
R
L
x 10
x 10
x 10
Header
Beginning word
code
(0000 to 0199)
0
1
0
R
L
x 16
x 16
x 16
Header
End code
code
The text portion of the response's first frame can contain up to 30 words. If
more than 30 words are read, the data will be returned in multiple frames.
In the second and later frames, the text portion of the response can contain
up to 31 words.
The INITIALIZE and ABORT commands can be sent instead of the delimiter
for multiple responses for this command. If other commands are sent, they will
be treated as delimiters.
PLC Mode
MON
PROG
OK
OK
Normal completion
FCS error
Format error
Entry number data error
Frame length error
Not executable due to CPU Unit CPU error.
1
0
3
2
1
x 10
x 10
x 10
x 10
x 10
No. of words
(0001 to 0200)
3
2
1
0
x 16
x 16
x 16
Read data (1 word)
Read data (for number of words read)
Section 4-3
UM Area
Write-protected
Read-protected
OK
Contents
0
*
FCS
Terminator
*
FCS
Terminator
OK
107

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Table of Contents