Mitsubishi Electric FX3U-128ASL-M User Manual page 48

Melsec-f fx3u
Table of Contents

Advertisement

FX
-128ASL-M User's Manual
3U
2) Parameter reading and writing methods
• Automatic update
No special operation is required because data are automatically updated.
To check the parameter information, refer to the corresponding buffer memory address.
• Parameter access
The procedure for parameter access is as follows.
a) To read parameters
1. Set the access method.
Store 0000H: read parameter access method setting (BFM#10320).
2. Set the access target module ID.
Store the access target module ID in parameter access target module ID specification (BFM#10321).
3. Turn ON parameter access request command for the slave module (BFM#27 b8).
At this time, the parameter access completion flag (b9 of BFM#28) turns OFF.
The parameter access completion flag (b9 of BFM#28) turning ON completes the access, and
turns OFF the parameter access request command for the slave module (b8 of BFM#27).
4. The read parameters are stored in parameter storage areas (corresponding locations of
BFM#12288 and later).
b) To write parameters
1. Before writing parameters, read parameters according to the procedure of "a) To read parameters",
or "c) Parameter batch read".
*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 parameter access method setting (BFM#10320).
3. Set the access target module ID.
Store the access target module ID in parameter access target module ID specification (BFM#10321).
4. The written parameters are stored in parameter storage areas (corresponding locations of
BFM#12288 and later).
5. Turn ON parameter access request command for the slave module (BFM#27 b8).
At this time, the parameter access completion flag (b9 of BFM#28) turns OFF.
The parameter access completion flag (b9 of BFM#28) turning ON completes the access, and
turns OFF the parameter access request command for the slave module (b8 of BFM#27).
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 "a) To read parameters", or "c)
Parameter batch read".
c) Parameter batch read
1. Turn ON parameter batch read command for the slave module (BFM#27 b9).
At this time, the parameter access completion flag (b9 of BFM#28) turns OFF.
The parameter access completion flag (b9 of BFM#28) turning ON completes the access, and
turns OFF the parameter batch read command for the slave module (b9 of BFM#27).
2. The read parameters are stored in parameter storage areas (corresponding locations of
BFM#12288 or later).
d) Parameter batch write
1. Before executing parameter batch write, read parameters of all ID registered slave modules
according to the procedure of "c) Parameter batch read".
*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. The written parameters are stored in parameter storage areas (corresponding locations of
BFM#12288 or later).
42
ID
0000H to 007FH
ID of output slave modules
0200H to 027FH
ID of input slave modules or I/O combined slave modules
*1
ID
0000H to 007FH
ID of output slave modules
0200H to 027FH
ID of input slave modules or I/O combined slave modules
6 Introduction of Functions
6.2 Details of functions
Description
Description
*1

Advertisement

Table of Contents
loading

Table of Contents