Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 426

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

Advertisement

C-mode (Host Link) Command Master
Response Frame
Host Link
unit number
"@"
1
40 hex
(X10
)(X10
PMCR(260)
#02BC
S
D
User-specified Send/Receive Command with ASCII Conversion
(Sequence No. 700 (Hex 02BC))
This sequence converts the text data for the specified C-mode command into ASCII and sends to the specified
Host Link Unit. The response is converted into hexadecimal and stored starting from the specified word.
Send Data Word Allocation (3rd Operand of PMCR(260))
Command
End code
code
1
0
(X10
)(X10
)
Communications sequence No. 700
Number of receive data words
D
D+1
(Undefined)
D+2
Receive data (hex)
+0
First word of
send data
+1
+2
+3
+4
Offset
Contents (data format)
+0
Number of send data words
+1
(Undefined)
+2
C-mode command code
+3
Number of send bytes
+4
Text
Text
FCS
0
)
End code
(2 digits BCD)
Number of send data words
(Undefined)
Host Link unit No.
C-mode command code
Number of send bytes
Text
Host Link unit
No.
(2 digits BCD)
Appendix C
"*"
CR
2A hex
0D hex
Data
0004 to 0022 hex (4 to 34 decimal)
00 to 31
Specify the C-mode command code in
ASCII (e.g., RR is specified as 5252
hex.)
Specify the number of send bytes for
the communications line.
0000 to 007A hex (0 to 122 decimal)
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.
Specify the text that corresponds to the
command. The specified hexadecimal
data will be converted into ASCII and
sent.
397

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents