Msg-Snd Function - YASKAWA MP920 User Manual

Machine controller
Table of Contents

Advertisement

8 Example Communications Module Applications

8.3.5 MSG-SND Function

8.3.5

MSG-SND Function

The following diagram shows a MELSEC Master MSG-SND 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
Set the station number set for MELSEC by
00001
the station number setting switch.
00003
00000
00064
00001
00000
00000
00000
00000
00000
IEND
Transmission busy
Executing
monitioring timer
DB000210
T
003.00
DW00031
Stop command
DB000202
Stop command
Stop counter
DB000202
DB00021B
INC
DW00023
Send start
Send cycle timer
DB000200
T
001.00
DW00030
Normal
Abnormal
Send start
completion
completion
DB000200
DB000211
DB000212
Command
DB000201
Command
DB000201
EXECUTE
Stop
DB000202
ABORT
DEV-TYP
00005
PRO-TYP
00001
CIR-NO
00002
CH-NO
00001
Normal
completion
DB000211
Normal counter
INC
DW00024
Abnornal completion
DB000212
IFON
INC
Error counter
DW00025
DW00000
DW00001
IEND
DEND
DW00002
DW00004
DW00005
DW00006
DW00007
DW00008
DW00009
DW00010
DW00011
DW00012
DW00024
DW00025
Abnormal
Stop
Normal
completion
command
completion
DB000212
DB000202
DB000211
Transmission start
DB000200
Command
DB000202
DB000201
MSG-SND
Executing
DB000210
BUSY
Normal
completion
DB000211
COMPLETE
Abnormal
completion
DB000212
ERROR
The circuit number
changes according to the
system configuration.
PARAM
DA00000
DW00026
DW00027
8-22
At startup, set the parameters in the first scan.
Remote station number setting
Connection code setting (readout)
Data address setting (address 0)
Data size setting (64 words)
Remote CPU No. setting
Coil offset setting
Input relay offset setting
Input register offset setting
Holding register offset setting
System register clear
Normal pulse counter clear
Error counter clear
Force stop if still not completed 3 seconds
after the Send command is issued.
Stop counter added when the Stop
command is issued.
Send started at 1-second intervals.
Function Send instruction
Sends a message to a remote station.
The executing coil turns ON when the CPU
receives the command.
The normal completion or abnormal completion
coil turns ON at processing completion.
Use PRO-TYP 1 (MEMOBUS communications).
CIR-NO (circuit number) 2 (depending on the connection port)
CH-NO (channel number) 1 (fixed at 1 with the 217IF Module)
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents