9 - 23 9 - 23
MELSEC-Q
9 PROGRAMMING
(2) Parameter setting
Set the parameters using a sequence program.
Parameter setting can be omitted under the following conditions.
Parameter Setting Omitting Condition
Parameter
Condition Setting
method
Basic parameters
Use the default parameters. ( 1)
With the intelligent function module switch 2,
set the basic parameter starting method (bit
0) to "0: Start with the default parameters".
(Refer to (1) in this section.)
Automatic communication
parameters
Do not use the automatic communication
function (master function).
No need to set.
Use the default parameters. ( 2)
With the intelligent function module switch 2,
set the MODBUS
R
device assignment
parameter starting method (bit 1) to "0: Start
with the default parameters". (Refer to (1) in
this section.)
MODBUS
R
device assignment
parameters
Do not use the MODBUS
R
device
assignment function (slave function).
No need to set.
1: To utilize the basic parameters with the initial values (refer to Section 7.2.1), it is recommended to use the default
parameters.
2: When the device assignment of the CPU is not changed, it is recommended to use the default parameters.
(a) Basic parameters
For a program example of the basic parameters, refer to <<Basic
parameter setting>> in (5).
(b) Automatic communication parameters
For a program example of the automatic communication parameters, refer
to <<Automatic communication parameter setting>> in (5).
(c) MODBUS
®
device assignment parameters
For a program example of the MODBUS
R
device assignment parameters,
refer to <<MODBUS device assignment parameter setting>> in (5).
(3) Auto refresh setting
For the processing equivalent to the auto refresh setting (GX Configurator-MB),
refer to <<Refresh processing>> in (5).
(4) Automatic communication function
(a) For a program example for normal automatic communication, refer to
<<Processing for normal automatic communication>> in (5).
(b) For a program example for error code acquisition at an automatic
communication error, refer to <<Handling of automatic communication
error>> in (5).