YASKAWA MP920 User Manual page 228

Machine controller
Table of Contents

Advertisement

8 Example Communications Module Applications
8.6.5 MSG-SND and MSG-RCV Functions (MEMOBUS Master)
MSG-RCV Function (MEMOBUS Slave)
The following diagram shows a MEMOBUS Slave MSG-RCV ladder logic program for the
217IF Module of the MP920.
One scan at startup
Low-speed scan (DWG L): SB000003
SB000003
High-speed scan (DWG H): SB000001
IFON
00000
00000
00000
00000
00000
32767
00000
IEND
MSG-RCV
Command
SB000004
EXECUTE
Stop
SB000004
ABORT
COMPLETE
DEV-TYP
00005
PRO-TYP
00001
CIR-NO
00005
CH-NO
00001
PARAM
DA00000
Normal completion
DB000211
Normal counter
INC
DW00024
Abnormal completion
DB000212
IFON
Error counter
INC
DW00025
DW00000
DW00001
DW00002
DW00004
DW00005
DW00006
DW00007
IEND
DEND
DW00008
DW00009
DW00010
DW00011
DW00012
DW00013
DW00014
DW00024
DW00025
Executing
DB000210
BUSY
Normal completion
DB000211
Abnormal completion
DB000212
ERROR
The circuit number
changes according to
the system configuration.
DW00026
DW00027
DW00028
DW00029
DW00030
DW00031
DW00032
8-38
At startup, set the parameters in the first scan.
Coil offset setting
Input relay offset setting
Input register offset setting
Holding register offset setting
Write range: LO
White range: HI
System register clear
Normal pulse counter clear
Error counter clear
Issue a Receive Message instruction from a
remote station.
The executing coil turns ON when the CPU receives the
command.
The normal completion or abnormal completion coil tums ON at
processing completion.
MEMOBUS communications
Circuit No.5
Channel No.1
(With the 217IF, the channel number is fixed at 1.)
Turns ON at receive completion of a query message and at send
completion of a response message.
Normal pulse counter added
Ended by a transmission error
Error pulse counter added
Processing result stored
Status stored
Command receive destination ST# stored
FC stored
Data address stored
Data size stored
Remote CP# stored

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents