1 ) msg-snd function setting, 2 ) msg-snd parameter setting – Yaskawa JAPMC-MC2303-E User Manual
Page 127
6.5 Programming Example
6.5.4 Sending Request (Client)/Response (Server) according to Non-procedure Protocol
6-42
6.5.4 Sending Request (Client)/Response (Server)
according to Non-procedure Protocol
As for transparent messages, only the MSG-SND function is started because no response reception processing is
required after request was sent.
Though the server usually sends no response at transparent message request reception, it starts only the MSG-SND
function independently to send a response if necessary.
The following shows an example for sending transparent message with the data size of 512 words in MW00100 and
the subsequent to a destination with node number 1.
( 1 ) MSG-SND Function Setting
The MSG-SND function is set as follows:
( 2 ) MSG-SND Parameter Setting
The parameter list from DA00000 is set as follows:
For register access method and notes at register input, refer to 6.4 Displaying a Register List and Notes at Register
Input on page 6-30.
In the above setting, setting a request transaction code of the transparent message (10000) in MW00100 and message
data in the subsequent register (MW00001 and subsequent), and then setting Execute (DB000201) to ON (=1) starts the
MSG-SND function so that the 262IF-01 can send the transaction code and message data from MW00100.
For transaction codes, refer to 6.1.5 ( 5 ) PARAM05: Data Address on page 6-13.
Transmission device = FL-net
Protocol type = Non-procedure protocol
Circuit number = 1
Transmission buffer channel number = 1
Parameter list leading address
= DA00000
(DW00000 to DW00016 is used.)
Parameter list
F
· · · · · · ·
0
Register
Contents
Setting
Value
Remarks
PARAM00
DW00000
Processing result
–
PARAM01
DW00001
Status
–
PARAM02
DW00002
Remote node number
1
PARAM03
DW00003
Option
0
Not used
PARAM04
DW00004
Function code
0
Not used
PARAM05
DW00005
Data address
100
FL-net virtual address
PARAM06
DW00006
Data size
513
One-word transaction code
included
PARAM07
DW00007
Remote CPU number
(Address upper word)
0
PARAM08
DW00008
Coil offset
0
Not used
PARAM09
DW00009
Input relay offset
0
Not used
PARAM10
DW00010
Input register offset
0
Not used
PARAM11
DW00011
Holding register offset
0
PARAM12
DW00012
Reserved by the system
0
PARAM13
DW00013
Reserved by the system
0
PARAM14
DW00014
Reserved by the system
0
PARAM15
DW00015
Reserved by the system
0
PARAM16
DW00016
Reserved by the system
0