Msg-Rcv Function - YASKAWA MP920 User Manual

Machine controller
Table of Contents

Advertisement

8.1.5

MSG-RCV Function

The following diagram shows a MEMOBUS Slave MSG-RCV ladder logic program for the
MP920 and CP-217.
One scan at startup
SB000003
IFON
00000
00000
00000
00000
00000
32767
00000
IEND
Command
SB000004
Stop
SB000004
00005
00001
00003
00001
Normal completion
DB000211
Normal counter
INC
DW00024
Abnormal completion
DB000212
IFON
Error counter
INC
DW00025
DW00000
DW00001
DW00002
DW00004
DW00005
DW00006
DW00007
IEND
DEND
Low-speed scan (DWG L): SB000003
High-speed scan (DWG H): SB000001
DW00002 is not set with the CP-217.
MSG-RCV
EXECUTE
BUSY
Normal completion
ABORT
COMPLETE
Abnormal completion
DEV-TYP
ERROR
PRO-TYP
The circuit number
CIR-NO
changes according to the
system configuration.
CH-NO
RECV PARAM
DA00000
8-9
8.1 Connection to a Display Device
At startup, set the parameters in the
first scan.
DW00008
Coil offset setting
Input relay offset setting
DW00009
DW00010
Input register offset setting
DW00011
Holding register offset setting
DW00012
Write range: LO
DW00013
Write range: HI
DW00014
System register clear
DW00024
Normal pulse counter clear
DW00025
Error counter clear
Executing
DB000210
Issue a Receive Message
instruction.
The executing coil turns ON when
DB000211
the CPU receives the command.
The normal completion or abnormal completion
DB000212
coil turns ON at processing completion.
General-purpose message communications
Circuit No. 3 (depending on the connection port)
Channel No. 1
(With the 217IF Module, 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
DW00026
Processing result stored
Status stored
DW00027
DW00028
Command receive destination ST# stored
DW00029
FC stored
DW00030
Data address stored
DW00031
Deta size stored
DW00032
Remote CP# stored
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents