Msg-Snd And Msg-Rcv Functions (Memobus Master) - YASKAWA MP920 User Manual

Machine controller
Table of Contents

Advertisement

8.6.5

MSG-SND and MSG-RCV Functions (MEMOBUS Master)

MSG-SND Function (MEMOBUS Master)
The following diagram shows a MEMOBUS Master MSG-SND ladder logic program for
the 217IF Module of the MP920.
One scan at startup
SB000003
IFON
00001
00003
00000
00100
00001
00000
00000
00000
00000
00000
IEND
Executing
DB000210
T
Stop
command
DB000202
Stop
Stop
counter
command
DB00021B
DB000202
INC
DW00023
DB000200
T
Normal
Send start
completion
DB000200
DB000211
Command
DB000201
Command
DB000201
Stop
DB000202
00005
00001
00002
00001
Normal completion
DB000211
Normal counter
INC
DW00024
Abnormal completion
DB000212
IFON
Error counter
INC
DW00025
DW00000
DW00001
IEND
DEND
Low-speed scan (DWG L): SB000003
High-speed scan (DWG H): SB000001
Device address set in the Slave
Transmission Parameters Window
Normal
Abnormal
Send busy
completion
completion
monitoring timer
DB000211
DB000212
003.00
DW00022
Send cycle
timer
001.00
DW00030
Abnormal
Stop
completion
command
DB000212
DB000202
MSG-SND
EXECUTE
BUSY
ABORT
COMPLETE
Abnormal completion
DEV-TYP
ERROR
PRO-TYP
The circuit number
CIR-NO
changes according to
CH-NO
the system configuration.
PARAM
DA00000
8-37
8.6 Modem-to-Modem Connection
At startup, set the parameters in the first scan.
DW00002
Remote station number setting
DW00004
Connection code setting (readout)
DW00005
Data address setting (address 0)
Data size setting (100 words)
DW00006
DW00007
Remote CPU No. setting
Coil offset setting
DW00008
DW00009
Input relay offset setting
DW00010
Input register offset setting
Holding register offset setting
DW00011
System register clear
DW00012
Normal pulse counter clear
DW00024
DW00025
Error counter clear
Stop
command
DB000202
Force stop if still not completed 3 seconds
after the Send command is issued.
Stop counter added when the Stop
command is issued.
Send start
DB000200
Send started at 1-second intervals.
Command
DB000201
Function Send instruction
Executing
Sends a message to a remote station.
DB000210
The execuiting coil turns ON when the CPU
Normal completion
receives the command.
DB000211
The normal completion or abnormal completion
coil turns ON at processing completion.
DB000212
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 conter added
Processing result stored
DW00026
Status stored
DW00027
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents