1 ) msg-snd function setting, 2 ) msg-snd parameter setting – Yaskawa JAPMC-MC2303-E User Manual
Page 130
![background image](https://www.manualsdir.com/files/819956/content/doc130.png)
6
Message Send and Receive Functions
6.5 Programming Example
6.5.5 Sending Request/Receiving Response (Client) according to Non-procedure Protocol
6-45
6.5.5 Sending Request/Receiving Response (Client)
according to Non-procedure Protocol
As for FL-net messages other than transparent messages, the MSG-RCV function must be started to receive a response
message after message request was sent by the MSG-SND function.
The following shows an example of a profile read for response reception after request was sent. In this example, a pro-
file read transaction code (65011) is set in MW00000 and sent, a response code (65211) for the received profile is
stored in MW10000 and profile data is stored in MW10001 and subsequent.
( 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.
Transaction code (request)
Transaction code (response)
MW00000
MW10000
MW10001
㨪
㨪
㨪
㨪
㨪
Server
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
0
FL-net virtual address
PARAM06
DW00006
Data size
1
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