Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 438

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

C-mode (Host Link) Command Master
HR AREA WRITE (WH Command)
(Sequence No. 712 (Hex 02C8))
Writes the specified write data to the specified Host Link Unit starting from the designated HR Area word. Writ-
ing is done in word units.
Send Data Word Allocation (3rd Operand of PMCR(260))
Receive Data Word Allocation (4th Operand of PMCR(260))
Number of send data words
+0
First word of
send data
(Undefined)
+1
+2
First write word
+3
Number of write bytes
Write data
+4
Offset
Contents (data format)
+0
Number of send data words
+1
(Undefined)
+2
First write word (4 bits hex)
+3
Number of write bytes
(4 digits hex)
Write data
+4
+5
+0
Receive data
Number of receive data words
storage words
(Undefined)
+1
Offset
Contents (data format)
Number of receive data words
+0
(Undefined)
+1
Host Link unit No.
0005 to 0021 hex (5 to 33 decimal)
Host Link unit
00 to 31
No.
(2 digits BCD)
0000 to 0511
Specify the number of write bytes for
the communications line.
Note: The text data is converted into
ASCII on the communications line, so
specify twice the number of bytes of
text data bytes in S+4 onwards.
Sends the write data to the first write
word.
Sends the write data to the first write
word +1.
End code
Always 0002 hex (2 decimal)
End code
The end code is stored in hexadecimal.
(2 digits hex)
Appendix C
Data
Data
409

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents