Ir/Sr Area Write –– Wr; Lr Area Write –– Wl - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Host Link Commands
6-5-9
IR/SR AREA WRITE –– WR
Command Format
1
0
@
x 10
x 10
W
Node No.
Response Format
Parameter
6-5-10 LR AREA WRITE –– WL
Command Format
1
0
@
x 10
x 10
W
Node No.
Header
code
Response Format
Parameters
Writes data to the IR and SR areas, starting from the specified word. Writing
is done word by word.
3
2
1
R
x 10
x 10
x 10
x 10
Header
Beginning word
code
(0000 to 0252)
Note Divide the command when writing more than 30 words of data.
An end code of 00 indicates normal completion.
@
Write Data (Command)
Specify in order the contents of the number of words to be written to the IR or
SR area in hexadecimal, starting with the specified beginning word.
Note The results will be as follows depending on the first write word.
Setting
First write word ≤ 252
253 ≤ First write word ≤ 255
255 < First write word
Writes data to the LR area, starting from the specified word. Writing is done
word by word.
3
2
1
L
x 10
x 10
x 10
x 10
Beginning word
(0000 to 0063)
An end code of 00 indicates normal completion.
@
Write Data (Command)
Specify in order the contents of the number of words to be written to the LR
area in hexadecimal, starting with the specified beginning word.
Note If data is specified for writing which exceeds the allowable range, an error will
be generated and the writing operation will not be executed. If, for example,
0
3
2
1
0
x 16
x 16
x 16
x 16
Write data (1 word)
Write data
(for number of words to write)
1
0
x 10
x 10
W
R
x 16
Node
Header
End code
No.
code
Data will be written through word 252 but not to other
words and a normal response will be returned.
No data will be written and a normal response will be
returned.
No data will be written and an error will occur.
0
3
2
1
0
x 16
x 16
x 16
x 16
Write data (1 word)
Write data
(for number of words to write )
1
0
x 10
x 10
W
L
x 16
Node No.
Header
End code
code
Section 6-5
*
Terminator
FCS
*
1
0
x 16
FCS
Terminator
Results
*
FCS
Terminator
*
1
0
x 16
FCS
Terminator
451

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF