Omron SYSMAC CS1W-SCB41-V1 Operation Manual page 402

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

Advertisement

CompoWay/F Master Protocol
• D+1: Response code
• D+2 and on: Receive data
STX
Node No.
1
1
( × 10
( × 10
(02 Hex)
)
)
Data in shaded portions is stored at the location specified by the operand in the PMCR(260) instruction.
Note 1. Response Codes
2. The read data is returned as 4-digit hexadecimal as follows: F0019999 to 00099999 Hex.
The 3rd and 4th operands of the PMCR(260) instruction are specified as follows.
Send Data Word Allocation (3rd Operand of PMCR(260))
Receive Data Word Allocation (4th Operand of PMCR(260))
Subad-
End
Command code
dress
code
MRC
01
Response code
"0000"
"1001"
"1002"
"1100"
"1101"
"1103"
"2203"
Offset
Contents (data format)
+0
Number of send data words
(4 digits Hex)
+1
(Undefined)
+2
MRC
(2 digits Hex)
+3
Number of send bytes (4 digits BCD)
+4
Send data (12 digits Hex)
+5
+6
Offset
Contents (data format)
+0
Number of receive data words
(4 digits Hex)
+1
Response code (4 digits Hex)
+2
Receive data (8 digits Hex)
+3
Response code
SRC
Note 1
01
00
00
Normal end
Command too long
Command too short
Parameter error
Area type error
First address range error
Operating error
0007 Hex
Node No. (2 digits
0000 Hex
BCD)
SRC (2 digits Hex) 0101 Hex
000C Hex
C000 Hex
0000 Hex
0001 Hex
EX is stored at reception (0004 Hex)
The response code will be stored in hexa-
decimal form.
The normal end response code is 0000.
The 4 bytes of read data.
Appendix B
Receive
ETX
data
Read data
(Note 2)
0000
(03 Hex)
Meaning
Data
Data
BCC
373

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents