Communication Setup: PLC (GX Developer)
The following configuration is needed on the PLC side.
This can be done at the ‘PLC Parameter-Serial’ setup window of GX Developer as shown in the following picture.
Enable the ‘Use serial communication’ option.
Configure the communication speed. This configuration must match with the one of the Xpanel’s configuration.
Configure the ‘Sum check' option. This option must match with the Xpanel’s configuration.
Set ‘Transmission wait time’ appropriately. Typically, this item is set as ‘No waiting Time’.
Enable the ‘Run while setting: Permit’ option which makes it possible for the operator to control the value of the PLC with the Xpanel.
Be aware that the PLC parameters are applied only after the cold restart of the PLC system.
This communication driver was tested with a Q00 CPU. |
These CPUs do not have special configuration items for loader port communication:
Q2(H) / Q6H / Q12H / Q25H CPU
This communication driver was tested with a Q12H CPU. |
Communication Setup: Xpanel
Create a new device
| For creating a new device, go to [Tools] - [ I/O Devices] or click on the I/O Device Name: Give a device name. This name will be used in the Tag configuration window of the database accompanied by the station name. |
Select a device type
| After clicking the [Ok] button on the previous step, the 'Serial Communication Configuration’ dialog box will pop up. Configure the properties according to the type of PLC CPU. Please notice that the communication parameter combination shown in the following box is the only one allowed in the Q series CPU programming port (regardless of the type of CPU, no other configuration is allowed).
Q00CPU / Q01CPU If the connecting CPU type is Q00 or Q01, then select the 'MITSUBISHI MELSEC Q Loader (Q00/Q01)' as the device type. Q2(H) / Q6H / Q12H / Q25H If the connecting CPU type is Q02(H), Q06H, Q12H, or Q25H, then select the 'MITSUBISHI MELSEC Q Loader (Q02/Q06/Q12/Q25)' as the device type. |
Create a station | Move to the [Station] tab of the ‘Serial Communication Configuration’ dialog box. In this dialog box, all the connected PLC stations can be configured and registered to the Xpanel. Each field can be configured as follows: Station Name: Q_CPU This name will be used in the database window accompanied by the device name. Station Type: Q00 CPU Choose the type of connected PLC CPU. If the connecting CPU is Q01CPU, then choose "Q00CPU". These two CPUs have no difference in the Xpanel communication driver. Network ID: This field has no effect. Station No.: 0 This number has no meaning for this driver. 16Bit Data Swap: This field has no effect. 32Bit Data Swap: This field has no effect. Using Checksum This configuration should be matched with the same configuration item of the PLC CPU. Ensure that this option is checked with the same status on both sides (verify the check status of the 'Sum Check' item of GX Developer). Comm. Error Message Pop Up: When this item is checked, Xpanel displays a communication error message box for every Rx and Tx error. Otherwise (unchecked), Xpanel does not display a message for communication errors. This message box will close automatically after a few seconds. |
Supported PLC Memories
Q00CPU / Q01CPU
Memory Area | Symbol | Range | Notation | Bit / Word |
Input Relay | X | X0000-X07FF | 16 | Bit |
Output Relay | Y | Y0000-Y07FF | 16 | Bit |
Internal Relay | M | M0000-M8191 | 10 | Bit |
SM | SM0000-SM1023 | 10 | Bit | |
Latch Relay | L | L0000-L2047 | 10 | Bit |
Link Relay | B | B0000-B07FF | 16 | Bit |
SB | SB0000-SB07FF | 16 | Bit | |
Edge Relay | V | V0000-V1023 | 10 | Bit |
Annunciator | F | F0000-F1023 | 10 | Bit |
Timer Contact | TS | TS0000-TS0511 | 10 | Bit |
Timer Clear | TC | TC0000-TC0511 | 10 | Bit |
Timer Current Value | TN | TN0000-TN0511 | 10 | Word |
Counter Contact | CS | CS0000-CS0511 | 10 | Bit |
Counter Coil | CC | CC0000-CC0511 | 10 | Bit |
Counter Current Value | CN | CN0000-CN0511 | 10 | Word |
Data Register Special Data Register | D | D00000-D11135 | 10 | Word |
SD | SD0000-SD1023 | 10 | Word | |
Link Register Special Link Register | W | W0000-W07FF | 16 | Word |
SW | SW0000-SW03FF | 16 | Word |
Q02(H) / Q06H / Q12H / Q25H
Memory Area | Symbol | Range | Notation | Bit / Word |
Input Relay | X | X0000-X1FFF | 16 | Bit |
Output Relay | Y | Y0000-Y1FFF | 16 | Bit |
Internal Relay | M | M0000-M8191 | 10 | Bit |
SM | SM0000-SM1023 | 10 | Bit | |
Latch Relay | L | L0000-L8191 | 10 | Bit |
Link Relay | B | B0000-B1FFF | 16 | Bit |
Edge Relay | V | V0000-V2047 | 10 | Bit |
Annunciator | F | F0000-F2047 | 10 | Bit |
Timer Clear | TC | TC0000-TC2047 | 10 | Bit |
Timer Current Value | TN | TN0000-TN2047 | 10 | Word |
Counter Coil | CC | CC0000-CC1023 | 10 | Bit |
Counter Current Value | CN | CN0000-CN1023 | 10 | Word |
Data Register Special Data Register | D | D00000-D12287 | 10 | Word |
SD | SD0000-SD2047 | 10 | Word | |
Link Register Special Link Register | W | W0000-W1FFF | 16 | Word |
SW | SW0000-SW07FF | 16 | Word |
Wiring Diagram
RS-232C |