3 ) msg-snd function setting, 4 ) msg-rcv parameter setting – Yaskawa JAPMC-MC2303-E User Manual
Page 131
6.5 Programming Example
6.5.5 Sending Request/Receiving Response (Client) according to Non-procedure Protocol
6-46
( 3 ) MSG-SND Function Setting
The MSG-RCV function is set as follows:
( 4 ) MSG-RCV Parameter Setting
The parameter list from DA00040 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 transaction code (request) in MW00000 and message data in the subsequent register
(MW00001 and the 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 MW00000.
After completion of sending, setting Execute (DB000601) to ON (=1) starts the MSG-RCV function and waits for mes-
sage reception, and then the MSG-RCV function stores a transaction code (response) in MW10000 and message data in
the subsequent register (MW10001 and the subsequent) upon response message reception.
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
= DA00040
(DW00040 to DW00056 is used.)
Parameter list
F
· · · · · · ·
0
Register
Contents
Setting
Value
Remarks
PARAM00
DW00040
Processing result
–
PARAM01
DW00041
Status
–
PARAM02
DW00042
Remote node number
–
PARAM03
DW00043
Reserved by the system
0
Not used
PARAM04
DW00044
Function code
–
Not used
PARAM05
DW00045
Data address
–
FL-net virtual address
PARAM06
DW00046
Data size
–
One-word transaction code
included
PARAM07
DW00047
Remote CPU number
(Address upper word)
–
PARAM08
DW00048
Coil offset
0
Not used
PARAM09
DW00049
Input relay offset
0
Not used
PARAM10
DW00050
Input register offset
0
Not used
PARAM11
DW00051
–
0
Not used
PARAM12
DW00052
Holding register offset
10000
PARAM13
DW00053
Write range HI
32767
PARAM14
DW00054
Reserved by the system
0
PARAM15
DW00055
Reserved by the system
0
PARAM16
DW00056
Reserved by the system
0
Clear to 0 only once, when the
power is turned ON.