Ar Area Write –– Wj - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Host Link Commands
6-5-16 AR AREA WRITE –– WJ
Command Format
1
0
@
x 10
x 10
W
Node
Header
No.
code
Response Format
Parameters
6-5-17 SV READ 1 –– R#
Command Format
1
@
x 10
x 10
Node
No.
Response Format
@
x 10
Node
No.
Writes data to the AR area, starting from the specified word. Writing is done
word by word.
3
2
1
J
x 10
x 10
x 10
x 10
Beginning word
(0000 to 0027)
An end code of 00 indicates normal completion.
@
x 10
Write Data (Command)
Specify in order the contents of the number of words to be written to the AR
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,
26 is specified as the beginning word for writing, and three words of data are
specified, then 28 will become the last word for writing data, and the com-
mand will not be executed because AR 28 is beyond the writable range.
Searches for the first instance of a TIM, TIMH(15), TTIM, CNT, and CNTR(12)
instruction with the specified TC number in the user's program and reads the
PV, which assumed to be set as a constant. The SV that is read is a 4-digit
decimal number (BCD). The program is searched from the beginning, which
may take as much as 10 seconds to produce a response.
0
R
#
OP1 OP2
OP3 OP4 x 10
Header
Name
code
1
0
1
x 10
R
#
x 16
x 16
Header
End code
code
0
3
2
0
x 16
x 16
x 16
x 16
1
Write data (1 word)
Write data
(for the number of words to write)
1
0
1
x 10
W
J
x 16
Node
Header
End code
No.
code
3
2
1
x 10
x 10
x 10
TC number
(0000 to 0511)
0
3
2
1
0
x 10
x 10
x 10
x 10
SV
Section 6-5
*
FCS
Terminator
*
0
x 16
:
Terminator
FCS
*
0
Terminator
FCS
*
FCS
Terminator
455

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents