The Q series PLC has the following characteristics
* Modular structure for easy installation by users.
A wide variety of input/output modules and special function modules are available, making it easy for users to configure and expand the system.
* A rich set of basic and application commands makes programming easy for users.
* It can use various programming methods such as instruction list, ladder diagram, SFC, ST, etc.
There are two methods for allocating Q-series PLCI/O addresses.
1) The CPU automatically allocates addresses for I/O.
2) Assign values to I/O addresses using external devices.
The CPU automatically allocates addresses for I/O.
The CPU automatically allocates addresses for I/O.
When the PLC is powered on or reset, it will automatically perform I/O address assignment verification.
1. The I/O address is assigned continuously to the right starting from slot 0 of the main substrate, with input components assigned X□□□ and output components assigned Y□□□.
2. When using an expansion board, the first address of the first expansion board is sequentially connected to the last address of the main board. The address assignment of the expansion board is independent of the cable connection order and depends on the level number of the expansion board set by the level setting connector on the expansion board.
3. The number of I/O points occupied by each component is equal to the number of I/O points of the component itself. Empty slots without I/O components or special function components occupy 16 I/O points.
4. When assigning I/O address values, the various main boards and expansion boards are processed according to the actual number of slots.
5. If the level settings of the expansion board are not continuous (level settings jump), then the number of I/O points occupied by these skipped expansion levels is equal to 0, and the number of empty slots is not increased.
6. Setting the same number of expansion levels: Setting the same number of expansion levels will not work in multiple expansion substrates.
Assigning values to I/O addresses using external devices
Assigning values to I/O addresses using external devices has a higher priority than the actual installed I/O modules.
The address assignment of I/O components and special function components can be controlled by external devices, while ignoring the address assignment based on slot number and I/O point number of the component.
Available software (GPPW)
When the set number of slots is inconsistent with the number of slots on the substrate in use, the following situation will occur:
1) If the number of slots set is greater than the number of slots on the substrate in use, the set number of slots will be used. The slots that exceed the number of slots on the substrate in use will become empty slots.
2) If the number of slots set is less than the number of slots on the substrate in use: slots after the set number of slots will be unusable.
For example: If using an 8-slot board, and it is set to 5 slots, the 3 slots on the right side of the board will be disabled. (Installing modules in the disabled slots will result in an error (SP . UNITLAYERR”).
To facilitate system expansion, a portion of I/O addresses can be reserved when assigning values to I/O addresses, enabling the system to accommodate non-16-point components.
When non-16-point I/O components or special function components need to be repaired or replaced, the number of I/O points they originally occupied should remain unchanged.
When an external device assigns a value to the I/O address of a slot, its priority is higher than the number of I/O points of the components actually installed in that slot.
1) If the number of I/O points specified by an external device for a slot is less than the number of I/O points of the component it actually has installed, then the number of I/O points that the component can actually use should be reduced accordingly.
2) If the number of I/O points specified by an external device for a slot is greater than the number of I/O points of the components actually installed in it, then the extra points are considered as dummy points.
3) If a slot is set to empty by an external device, then the I/O components inserted into that slot will be unusable.
4) For those slots that do not use external devices to assign I/O addresses, the I/O addresses they occupy are assigned according to the number of I/O points of the installed components.
Notice:
1) If the inserted component is a special function component, then the I/O address assignment of the slot must be consistent with the number of I/O points actually occupied by the component. If they are inconsistent, it will cause an error.
2) When using the MELSECNET data communication system, the I/O address allocation is as follows:
a) If I/O address is assigned to the master station, then I/O address assignment is required for both the master station and all remote I/O stations.
b) If an I/O address is to be assigned to a local station, then only the local station needs to be assigned the I/O address.
c) If an I/O address is assigned to a combined I/O component, the I/O address allocation should be performed according to the output component assignment rules.
I/O address number of remote station
In remote I/O systems such as MELSECNET/H and CC-Link, the input (X) and output (Y) of CPU module software devices can be allocated and controlled to the I/O modules/intelligent function modules of remote stations. Additionally, the input (X) and output (Y) can be used to refresh the refresh objects (soft devices on the CPU module side) of the MELSECNET/H module's link I/O (LXLY) .
(1) The I/O address number of the CPU module that can be used by the remote station
When using the CPU module's input (X) and output (Y) for remote station I/O address numbers, do not use the I/O address numbers currently being used by the CPU-side I/O module or intelligent function module; only use the numbers following them for allocation.
For example, when X/Y0~X/Y3FF (1024 points) are used in the CPU-side I/O module and intelligent function module, X/Y400 and beyond can be used in the remote station.
(2) Precautions when using the I/O address number of a remote station
(a) Setting for future expansion
When configuring the CPU module's input (X) and output (Y) for remote station I/O address numbers, please consider the expansion of the CPU module's I/O modules and intelligent function modules during configuration.
(b) When using MELSECNET/H and CC-Link, do not repeatedly set the I/O address number of the refresh object (CPU module-side soft device) of MELSECNET/H and the I/O address number of the CC-Link remote I/O system.
(c) Regarding the number of I/O soft devices in the CPU module, the number of I/O soft device points varies in each CPU module.
I/O allocation via GXDeveloper
(1) I/O allocation settings
I/O allocation is performed in the I/O allocation settings of the PLC parameters.
(a) slot
This indicates the slot number and which slot is in which stage of the substrate.
When the substrate is set in automatic mode, the substrate level becomes "*", and the slot number becomes the slot number starting from the 0th slot of the main substrate.
(b) Types (used in CPU modules)
Select the type of module to install from the following options.
• Idle (empty slot)
• Input (Input Module)
High-speed input (high-speed input module)
• Output (output module)
·I/O hybrid (I/O hybrid module)
• Intelligent (Intelligent Function Module)
• Interrupt (Interrupt Module)
Slots without a specified type will be considered as having the type of module installed.
(c) Model Name
The model name of the installed module should be set to a font size of 16 or lower (half-width). The set model name should not be used in the CPU module. (For user records only)
(d) Points (used in the CPU module)
When changing the number of I/O points for each slot, select the number of points below.
·0 (0 points) ·16 (16 points) ·32 (32 points)
·48 (48 points) ·64 (64 points) ·128 (128 points)
·256 (256 points) ·512 (512 points) ·1024 (1024 points)
Slots without a specified number of points will be treated as having the number of points for the installed module.
(e) Initial XY (used in the CPU module)
When changing the I/O address number of each slot, set the new starting I/O address number.
Slots without a specified starting XY address will be assigned to a consecutive I/O address number following the specified slot.