36
4 FUNCTION
4.13 Slave Module Parameter Read/Write
Parameter access
The operating procedure for parameter access is as follows.
■
To read parameters
1.
Set the access method.
Store 0000H (read) in 'Parameter access setting' (Un\G10320).
2.
Set the access target ID.
Store the access target ID in 'Parameter access target module ID specification' (Un\G10321).
3.
Turn on and off 'Parameter access request command for the slave module' (Un\G27 b8).
At this time, 'Parameter access completion flag' (Un\G28 b9) turns off. When the parameter access is completed, 'Parameter
access completion flag' (Un\G28 b9) automatically turns on.
4.
The read parameters are stored in the following location of each ID.
Device parameter in 'Parameter storage area' (Un\G12288 to Un\G12335)
*1
*1 Buffer memory addresses when one slave module is connected. For details, refer to the following.
Page 82 Parameter storage area
■
To write parameters
1.
Before writing parameters, read parameters according to the procedure of "To read parameters", or "Parameter batch
read".
*1
*1 Since all the parameters of the target slave module are updated at the time of writing parameters, all the parameters, including the
parameters of the changed part, must be set correctly.
If writing parameters is executed without reading parameters, it may cause malfunction.
2.
Set the access method.
Store 0001H (write) in 'Parameter access setting' (Un\G10320).
3.
Set the access target ID.
Store the access target ID in 'Parameter access target module ID specification' (Un\G10321).
4.
Store the parameters to be written in the following location.
Device parameter read/write areas in 'Parameter storage area' (Un\G12288 to Un\G12335)
*1
*1 Buffer memory addresses when one slave module is connected. For details, refer to the following.
Page 82 Parameter storage area
5.
Turn on and off 'Parameter access request command for the slave module' (Un\G27 b8).
At this time, 'Parameter access completion flag' (Un\G28 b9) turns off. When the parameter access is completed, 'Parameter
access completion flag' (Un\G28 b9) automatically turns on.
6.
After writing parameters, check that the setting have been saved in the slave module by reading parameters in the slave
module according to the procedure of "To read parameters", or "Parameter batch read".
ID
Description
0000H to 00FFH
ID of the output slave module
0200H to 02FFH
ID of the input slave module or I/O combined slave module
ID
Description
0000H to 00FFH
ID of the output slave module
0200H to 02FFH
ID of the input slave module or I/O combined slave module
Содержание MELSEC iQ-F FX55-ASL-M
Страница 1: ...MELSEC iQ F FX5 User s Manual ASLINK ...
Страница 2: ......
Страница 12: ...10 INDEX 88 REVISIONS 90 WARRANTY 91 TRADEMARKS 92 ...
Страница 13: ...11 CONTENTS ...
Страница 23: ...3 PROCEDURES BEFORE OPERATION 21 3 MEMO ...
Страница 91: ...I 89 MEMO ...
Страница 95: ......