YASKAWA MP920 User Manual page 48

Machine controller
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents