Host Link Commands; Ir/Sr Area Read –– Rr; Lr Area Read –– Rl - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Host Link Commands

6-5
Host Link Commands
6-5-1
IR/SR AREA READ –– RR
Command Format
1
@
x 10
x 10
Node
No.
Response Format
1
@
x 10
x 10
Node
No.
Parameters
6-5-2
LR AREA READ –– RL
Command Format
1
@
x 10
x 10
Node No.
Response Format
1
@
x 10
x 10
Node
No.
Parameters
This section explains the commands that can be issued from the host com-
puter to the PC.
Reads the contents of the specified number of IR and SR words, starting from
the specified word.
0
3
2
R
R
x 10
x 10
x 10
Header
Beginning word
code
(0000 to 0255)
An end code of 00 indicates normal completion.
0
1
0
R
R
x 16
x 16
x 16
Header
End code
code
Note The response will be divided when reading more than 30 words of data.
Read Data (Response)
The contents of the number of words specified by the command are returned
in hexadecimal as a response. The words are returned in order, starting with
the specified beginning word.
Reads the contents of the specified number of LR words, starting from the
specified word.
0
3
2
R
L
x 10
x 10
x 10
Header
Beginning word
code
(0000 to 0063)
An end code of 00 indicates normal completion.
0
1
0
R
L
x 16
x 16
x 16
Header
End code
code
Read Data (Response)
The contents of the number of words specified by the command are returned
in hexadecimal as a response. The words are returned in order, starting with
the specified beginning word.
1
0
3
2
1
x 10
x 10
x 10
x 10
No. of words
(0000 to 0256)
3
2
1
0
x 16
x 16
x 16
Read data (1 word)
Read data (for number of words read)
1
0
3
2
1
x 10
x 10
x 10
x 10
No. of words
(0001 to 0064)
3
2
1
0
x 16
x 16
x 16
Read data (1 word)
Read data (for number of words read)
Section 6-5
0
*
x 10
FCS
Terminator
*
FCS
Terminator
*
0
x 10
FCS
Terminator
*
FCS
Terminator
447

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents