YASKAWA MP920 User Manual page 46

Machine controller
Table of Contents

Advertisement

3 Communications Protocols
3.3.1 Master Function
MSG-SND Program
SB000003
IFON
FOR
0
FEND
00001
00003
00000
00100
00000
00000
00000
00000
00000
00000
00000
00000
IEND
Always ON
SB000004
Command
DB000201
Command
DB000201
Always ON
DEV-TYP
SB000004
Set the interface
type.
215IF=1
217IF=5
218IF=6
00006
00001
PRO-TYP
00001
Set the protocol type.
00001
Extended MEMOBUS
(MEMOBUS alias)
= 1
MEMOBUS
MELSEC
OMRON
Normal completion
No protocol = 2
DB000211
(Word specification)
No protocol = 3
(Byte specification)
Normal counter
INC
Abnormal completion
DB000212
IFON
Error counter
INC
DW00000
DW00001
IEND
DEND
In the top half, the Master function (MSG-SND) 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.
L scan: SB03
H scan: SB01
i=0
TO
31 BY 1
Normal
Abnormal
completion
completion
DB000212
DB000211
MSG-SND
EXECUTE
BUSY
ABORT
COMPLETE
DEV-TYP
ERROR
PRO-TYP
CIR-NO
CH-NO
SEND PARAM
DA00000
DW00024
DW00025
3-14
Set the parameters in the first
scan after startup
DW0000i
DW register clear
Remoto station No.
DW00002
DW00004
Function code setting (readout)
DW00005
Data address setting (address 0)
DW00006
Data size setting (100 words)
Remote PLC No. setting
DW00007
(CP#1)
DW00008
Coil offset setting
DW00009
Relay offset setting
DW00010
Input offset setting
Holding register offset
DW00011
setting
DW00024
Normal pulse counter clear
DW00025
Error counter clear
DW00014
System clear
Command
DB000201
Function send instruction
Executing
Sends a message to
DB000210
connection ST#1.
Normal completion
The coil turns ON when the CPU
receives the command.
DB000211
Abnormal completion
The normal completion or abnormal
completion coil turns ON at proces-
DB000212
sing completion.
MEMOBUS communications
Line No.1
Channel No.1
Turns ON after command message has
been completed normally and response
message has been received normally.
Normal pulse counter added
Ended by a transmission error
Error pulse counter added
DW00026
Processing result stored
Status stored
DW00027
When multiple CPUs
can be mounted in the
remote PLC:
CP-317
CP-9200SH
CP920
Other: 0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents