Msg-rcv program – Yaskawa MP920 Communications Module User Manual
Page 48

3 Communications Protocols
3.3.2 Slave Function
3-16
MSG-RCV Program
In the top half, the Slave function (MSG-RCV) parameters are set in the first scan after star-
tup.
In the lower half, messages are transmitted. At this time, the Communications Module type
and the protocol type are set in the device type (DEV-TYP) and protocol type (PRO-TYP),
respectively, as the Master function inputs.
With the protocol type, the setting value of the Extended MEMOBUS, MEMOBUS,
MELSEC, and OMRON protocols is 1. This value is specified in the transmission parameter
setting of each Communications Module. See the section on the transmission definitions for
each Communications Module.
SB000004
DB000210
DB000211
DB000212
Command
Executing
Normal completion
Abnormal completion
MSG-RCV
EXECUTE BUSY
ABORT COMPLETE
DEV-TYP ERROR
PRO-TYP
CIR-NO
CH-NO
SEND PARAM
DA00000
00006
00001
00001
00001
SB000004
Interrupt
MEMOBUS communications
Line No.1
Channel No.1
The normal completion or abnor-
mal completion coil turns ON at
reception completion.
Sends a Receive Message
command from connection
ST#1.
The executing coil turns ON when
the CPU receives the command.
Normal completion
Normal counter
Abnormal completion
DB000211
DB000212
IFON
IEND
DEND
INC DW00024
Error counter
INC
DW00025
Ended by a transmission error
Error pulse counter added
Turns ON command message has
been received normally and re-
sponse message has been trans-
mitted normally.
Normal pulse counter added
At power ON, set the param-
eters in the first scan.
SB000003
One scan at power ON
IFON
Coil offset setting
00000
00000
00000
00000
00000
DW00008
DW00009
DW00010
DW00011
DW00012
DW00013
DW00024
DW00025
Relay offset setting
Input offset setting
Holding register offset setting
Write range lower bytes
Write range higher bytes
Normal pulse counter clear
Error counter clear
DW00000
DW00026
DW00027
Processing result stored
Status stored
DW00001
DW00002
DW00028
DW00029
Remote ST# stored
FC stored
DW00004
DW00005
DW00030
DW00031
Data address stored
Data size stored
DW00006
DW00007
DW00032
Remote CP# stored
00000
IEND
32767
00000
DW00014
System clear
00000
FOR i=0 TO 31 BY 1
FEND
0
DW0000i
DW register clear
DEV-TYP
PRO-TYP
L scan: SB03
H scan: SB01
215IF=1
217IF=5
218IF=6
Set the device
type.
= 1
Protocol type.
Extended MEMOBUS
(MEMOBUS alias)
MEMOBUS
MELSEC
OMRON
No protocol = 2
(Word specification)
No protocol = 3
(Byte specification)