9
.
Program
39
●Send/Re
ceive Messages
[Frames of send/receive messages]
Send message (command)
STX
Node
No.
Sub
address
SID
Command
Text
ETX
BCC
16#02
MRC
SRC
16#03
Reception message (response)
STX
Node
No.
Sub
address
End
code
Command
Response
Text
ETX
BCC
16#02
MRC
SRC
MRES SRES
16#03
[Relationship between send command (SendCmd instruction operand) and send message]
Local_cmd
CWFdata
Node No.
Subaddress
SID
Command
MRC
SRC
Text
Local_cm
ddata
[0]
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
・・
28
03
AA
BB
CC
DD
EE
FF
GG
HH
II
**
CPU
→
SCU
CompoWay/F
command
Node No.
Subaddress
SID
Command
MRC
SRC
Text
SCU
→
Destination
Device
(send data)
STX
Node
No.
Sub
address
SID
Command
Text
ETX
BCC
16#02
MRC
SRC
16#03
[Relationship between receive response (SendCmd instruction operand) and receive
message]
Destination
Device
→
SCU
(receive
data)
STX
Node
No.
Sub
address
End
code
Command
Response
Text
ETX
BCC
16#02
MRC
SRC MRES SRES
16#03
Local_re
cvdata
[0]
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9] [10] [11] [12] [13] [14] [15] [16] [17]
・
28
03
aa
bb
AA BB CC DD
cc
dd
FF GG HH
II
ee
ff
gg hh
**
SCU
→
CPU
Compo
Way/F
command
Comm-
and end
code
Node No.
Sub
address
End code
Command
Response
Text
MRC
SRC
MRES
SRES
Output_rec
vCWFdata
Node
No.
Sub
address
End
code
Command
Response
Text
MRC
SRC
MRES
SRES
Controller
Destination
Device