9 - 39 9 - 39
MELSEC-Q
9 PROGRAMMING
9.3.3 Program without using utility package
(1) Intelligent function module switch setting
Set the intelligent function module switches by clicking Switch setting on <<I/O
assignment>> of GX Developer.
Refer to Section 9.2.3 (1) for the intelligent function module switches.
(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
Section 9.2.3 (1).)
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 9.2.3 (1).)
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
Execute Basic parameter setting request (Y1001) after writing the basic
parameters to the buffer memory by the REMOTO instruction.
For a program example for basic parameter setting, refer to <<Basic
parameter setting>> in (6) (b) in this section.
(b) Automatic communication parameters
Execute Automatic communication parameter setting request (Y1004) after
writing the automatic communication parameters to the buffer memory by
the REMOTO instruction.
For a program example for automatic communication parameter setting,
refer to <<Automatic communication parameter setting>> in (6) (b) in this
section.
(c) MODBUS
®
device assignment parameters
Execute MODBUS
R
device assignment parameter setting request (Y1008)
after writing the MODBUS
R
device assignment parameters to the buffer
memory by the REMOTO instruction.
For a program example for MODBUS
R
device assignment parameter
setting, refer to <<MODBUS device assignment parameter setting>> in (6)
(b) in this section.