Msg-Snd And Msg-Rcv Functions - YASKAWA MP920 User Manual

Machine controller
Table of Contents

Advertisement

8 Example Communications Module Applications

8.4.5 MSG-SND and MSG-RCV Functions

8.4.5

MSG-SND and MSG-RCV Functions

The following diagrams show the no-protocol MSG-SND and MSG-RCV ladder logic pro-
grams for a Temperature Controller and the 217IF Module.
MSG-SND and MSG-RCV
One scan at startup
Low-speed scan (DWG L): SB000003
SB000003
High-speed scan (DWG H): SB000001
IFON
Set the unit address set by the SR-Mini.
0700
0005
0000
0000
0000
07030
07049
00000
H0002
H0001
H2000
H0400
H0A0D
IEND
Send busy
Executing
monitoring timer
DB000210
T
003.00
DW00022
Stop
command
DB000202
Stop
Stop
counter
command
DB00021B
DB000202
INC
DW00023
Stop
Normal
Send start
command
completion
DB000601
DB000602
DB000211
Command
DB000201
MSG-SND
Command
DB000201
EXECUTE
Stop
DB000202
ABORT
DEV-TYP
00005
PRO-TYP
00002
CIR-NO
00003
CH-NO
00001
PARAM
DA00000
Normal completion
DB000211
Normal counter
INC
DW00024
Abnormal completion
DB000212
IFON
Error counter
INC
DW00025
DW00000
DW00001
IEND
DW00005
DW00006
DW00007
DW00011
DW00012
DW00024
DW00025
DW00052
DW00053
DW00054
DW00064
DW00065
MW07000
MW07001
MW07002
MW07003
MW07004
Normal
Abnormal
Stop
completion
completion
command
DB000211
DB000212
DB000202
Abnormal
completion
Stop command
Command
DB000212
DB000202
DB000201
Executing
DB000210
BUSY
Normal completion
DB000211
COMPLETE
Abnormal completion
DB000212
ERROR
The circuit number
changes according to the
system configuration.
DW00026
DW00027
8-28
At startup, set the parameters in the first scan.
MSG-SND parameter
Send register number setting
Send register size setting
Remote CPU No. setting
Holding register offset setting
System register clear
Normal pulse counter clear
Error counter clear
MSG-RCV parameter
Receive area start address (7030)
Receive area end address (7049)
System register clear
Normal pulse counter clear
Error counter clear
Send data creation for SR-Mini
STX and address number setting
Parameter number (CH1 temperature input)
Control code setting (same item CH order)
Read data items setting (4 words)
CR, LF
Force stop if still not completed 3 seconds after the
Send instruction is issued.
Stop counter added when the Stop command is issued.
Function Send instruction
Sends a message to remote station.
The executing coil tums ON when the CPU receives the
command.
The normal completion or abnormal completion coil turns ON at
processing completion.
General-purpose message communications
Circuit No. 3
Channel No.1
Tuen On at receive completion of a query message and at
send completion of a response message.
Normal pulse counter added
Ended by transmission error
Error pulse counter added
Processing result stored
Status stored

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents