0% found this document useful (0 votes)
19 views

mitqacpu

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

mitqacpu

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Mitsubishi Electric Corporation

QnA Series
CPU Direct Driver

1 System Configuration....................................................................................................... 3
2 Selection of External Device ............................................................................................ 6
3 Example of Communication Setting ................................................................................. 7
4 Setup Items ...................................................................................................................... 9
5 Cable Diagram ............................................................................................................... 13
6 Supported Device........................................................................................................... 17
7 Device Code and Address Code.................................................................................... 19
8 Error Messages.............................................................................................................. 21

1
QnA Series CPU Direct Driver

Introduction
This manual describes how to connect the Display and the External Device (target PLC).
In this manual, the connection procedure will be described by following the below sections:

1 System Configuration
)"1 System Configuration" (page 3)
This section shows the types of External
Device which can be connected and SIO
type.

2 Selection of External Device


)"2 Selection of External Device" (page 6)
Select a model (series) of the External
Device to be connected and connection
method.

3 Example of Communication Settings


)"3 Example of Communication Setting"
This section shows setting examples for
(page 7)
communicating between the Display and
the External Device.

4 Setup Items
)"4 Setup Items" (page 9)
This section describes communication
setup items on the display.
Set communication settings of the Display
with GP-Pro Ex or in off-line mode.

5 Cable Diagram
)"5 Cable Diagram" (page 13)
This section shows cables and adapters
for connecting the Display and the
External Device.

Operation

GP-Pro EX Device/PLC Connection Manual 2


QnA Series CPU Direct Driver

1 System Configuration

The system configuration in the case when the External Device of Mitsubishi Electric Corp. and the Display are
connected is shown.

Setting Cable
Series CPU Link I/F SIO Type
Example Diagram

Setting Cable
Q4A CPU RS232C Example 1 Diagram 1
Q3A CPU (page 7) (page 13)
Q2A CPU -S1 CPU Direct
MELSEC QnA Q2A CPU Setting Cable
RS422/485
Q2ASH CPU -S1 Example 2 Diagram 2
Series (4wire)
Q2ASH CPU (page 8) (page 14)
Q2AS CPU -S1
Q2AS CPU 2-port adapter II Setting Cable
RS422/485
Q4AR CPU by Pro-face *1 Example 2 Diagram 3
(4wire)
(Model: GP070-MD11) (page 8) (page 15)
*1 Supported by 2-port adapter II Rev. B or later. 2-port adapter II does not support the communication in 38,400. Please
use it in 19,200.

GP-Pro EX Device/PLC Connection Manual 3


QnA Series CPU Direct Driver

„ IPC COM Port


When connecting IPC with an External Device, the COM port used depends on the series and SIO type. Please
refer to the IPC manual for details.

Usable port

Usable Port
Series
RS-232C RS-422/485(4 wire) RS-422/485(2 wire)
*1
COM1 , COM2,
PS-2000B - -
COM3*1, COM4
PS-3450A, PS-3451A COM1, COM2*1*2 COM2*1*2 COM2*1*2
PS-3650A, PS-3651A COM1*1 - -
PS-3700A (Pentium®4-M) COM1*1, COM2 ,*1
COM3*2 COM3*2
PS-3710A COM3*2 , COM4
PS-3711A COM1*1, COM2*2 COM2*2 COM2*2
PL-3000B, PL-3600T,
COM1*1*2, COM2*1,
PL-3600K, PL-3700T, COM1*1*2 COM1*1*2
COM3, COM4
PL-3700K, PL-3900T
*1 The RI/5V can be switched. Use the IPC’s switch to change if necessary.
*2 Set up the SIO type with the DIP switch. Please set up as follows according to SIO type to be used.

DIP switch setting: RS-232C

DIP switch Setting Description


1 OFF*1 Reserved (always OFF)
2 OFF
SIO type: RS-232C
3 OFF
4 OFF Output mode of SD (TXD) data: Always output
5 OFF Terminal resistance (220Ω) insertion to SD (TXD): None
6 OFF Terminal resistance (220Ω) insertion to RD (RXD): None
7 OFF Short-circuit of SDA (TXA) and RDA (RXA): Not available
8 OFF Short-circuit of SDB (TXB) and RDB (RXB): Not available
9 OFF
RS (RTS) Auto control mode: Disabled
10 OFF
*1 When using PS-3450A and PS-3451A, turn ON the set value.

GP-Pro EX Device/PLC Connection Manual 4


QnA Series CPU Direct Driver

DIP switch setting: RS-422/485 (4 wire)

DIP switch Setting Description


1 OFF Reserved (always OFF)
2 ON
SIO type: RS-422/485
3 ON
4 OFF Output mode of SD (TXD) data: Always output
5 OFF Terminal resistance (220Ω) insertion to SD (TXD): None
6 OFF Terminal resistance (220Ω) insertion to RD (RXD): None
7 OFF Short-circuit of SDA (TXA) and RDA (RXA): Not available
8 OFF Short-circuit of SDB (TXB) and RDB (RXB): Not available
9 OFF
RS (RTS) Auto control mode: Disabled
10 OFF

DIP switch setting: RS-422/485 (2 wire)

DIP switch Setting Description


1 OFF Reserved (always OFF)
2 ON
SIO type: RS-422/485
3 ON
4 OFF Output mode of SD (TXD) data: Always output
5 OFF Terminal resistance (220Ω) insertion to SD (TXD): None
6 OFF Terminal resistance (220Ω) insertion to RD (RXD): None
7 ON Short-circuit of SDA (TXA) and RDA (RXA): Available
8 ON Short-circuit of SDB (TXB) and RDB (RXB): Available
9 ON
RS (RTS) Auto control mode: Enabled
10 ON

GP-Pro EX Device/PLC Connection Manual 5


QnA Series CPU Direct Driver

2 Selection of External Device

Select the External Device to be connected to the Display.

Setup Items Setup Description


Select the maker of the External Device to be connected. Select "Mitsubishi Electric
Maker
Corporation".
Select a model (series) of the External Device to be connected and connection method.
Select " QnA Series CPU Direct".
Driver Check the External Device which can be connected in " QnA Series CPU Direct" in system
configuration.
) "1 System Configuration" (page 3)
Check this option when you synchronize the system data area of Display and the device
(memory) of External Device. When synchronized, you can use the ladder program of
External Device to switch the display or display the window on the display.
Cf. GP-Pro EX Reference Manual "Appendix 1.4 LS Area (Direct Access
Method)"
Use System Area
This can be also set with GP-Pro EX or in off-line mode of Display.
Cf. GP Pro-EX Reference Manual " 5.17.6 Setting Guide of [System Setting
Window]„[Main Unit Settings] Settings Guide‹System Area Setting"
Cf. Maintenance/Troubleshooting "2.15.1 Settings common to all Display
models‹System Area Settings"
Port Select the Display port to be connected to the External Device.

GP-Pro EX Device/PLC Connection Manual 6


QnA Series CPU Direct Driver

3 Example of Communication Setting

Examples of communication settings of the Display and the External Device, recommended by Pro-face, are
shown.

3.1 Setting Example 1


„ Setting of GP-Pro EX
‹ Communication Settings
To display the setting screen, select [Device/PLC Settings] from [System setting window] in workspace.

„ Settings of External Device


There is no setting on the External Device. The speed automatically switches according to the Display setting.

GP-Pro EX Device/PLC Connection Manual 7


QnA Series CPU Direct Driver

3.2 Setting Example 2


„ Setting of GP-Pro EX
‹ Communication Settings
To display the setting screen, select [Device/PLC Settings] from [System setting window] in workspace.

„ Device Setting
There is no setting on the External Device. The speed automatically switches according to the Display setting.

GP-Pro EX Device/PLC Connection Manual 8


QnA Series CPU Direct Driver

4 Setup Items

Set communication settings of the Display with GP-Pro Ex or in off-line mode of the Display.
The setting of each parameter must be identical to that of External Device.
)"3 Example of Communication Setting" (page 7)

4.1 Setup Items in GP-Pro EX


„ Communication Settings
To display the setting screen, select [Device/PLC Settings] from [System setting window] in workspace.

Setup Items Setup Description


SIO Type Select the SIO type to communicate with the External Device.
Speed Select speed between the External Device and the Display.
Data Length Select data length.
Parity Select how to check parity.
Stop Bit Select stop bit length.
Select the communication control method to prevent overflow of transmission and
Flow Control
reception data.
continued to next page

GP-Pro EX Device/PLC Connection Manual 9


QnA Series CPU Direct Driver

Setup Items Setup Description


Use an integer from 1 to 127 to enter the time (s) for which the Display waits for the
Timeout
response from the External Device.
In case of no response from the External Device, use an integer from 0 to 255 to enter how
Retry
many times the Display retransmits the command.
Use an integer from 0 to 255 to enter standby time (ms) for the Display from receiving
Wait To Send
packets to transmitting next commands.
You can switch RI/VCC of the 9th pin when you select RS232C for SIO type.
RI/VCC It is necessary to change RI/5V by changeover switch of IPC when connect with IPC.
Please refer to the manual of the IPC for more detail.

GP-Pro EX Device/PLC Connection Manual 10


QnA Series CPU Direct Driver

4.2 Settings in Off-Line Mode

• Refer to the Maintenance/Troubleshooting manual for information on how to enter off-line mode
or about the operation.

Cf. Maintenance/Troubleshooting Manual "2.2 Off-line Mode"

„ Communication Settings
To display the setting screen, touch [Device/PLC Settings] from [Peripheral Settings] in off-line mode. Touch the
External Device you want to set from the displayed list.

(Page 1/2)

Setup Items Setup Description


Select the SIO type to communicate with the External Device.

To make the communication settings correctly, confirm the serial interface specifications of
SIO Type Display unit for [SIO Type].
We cannot guarantee the operation if a communication type that the serial interface does
not support is specified.
For details concerning the serial interface specifications, refer to the manual for Display
unit.
Speed Select speed between the External Device and the Display.
Data Length Data length is displayed.
Parity The parity check method is displayed.
Stop Bit Stop bit length is displayed.
The communication control method to prevent overflow of transmission and reception data
Flow Control
is displayed.
continued to next page

GP-Pro EX Device/PLC Connection Manual 11


QnA Series CPU Direct Driver

Setup Items Setup Description


Use an integer from 1 to 127 to enter the time (s) for which the Display waits for the
Timeout (s)
response from the External Device.
In case of no response from the External Device, use an integer from 0 to 255 to enter how
Retry
many times the Display retransmits the command.
Use an integer from 0 to 255 to enter standby time (ms) for the Display from receiving
Wait to Send (ms)
packets to transmitting next commands.

(Page 2/2)

Setup Items Setup Description


You can switch RI/VCC of the 9th pin when you select RS232C for SIO type.
RI/VCC It is necessary to change RI/5V by changeover switch of IPC when connect with IPC.
Please refer to the manual of the IPC for more detail.

GP-Pro EX Device/PLC Connection Manual 12


QnA Series CPU Direct Driver

5 Cable Diagram

The cable diagram shown below may be different from the cable diagram recommended by Mitsubishi Electric
Corp. Please be assured there is no operational problem in applying the cable diagram shown in this manual.
• The FG pin of the main body of the External Device must be D-class grounded. Please refer to the manual of
the External Device for more details.
• SG and FG are connected inside the Display. When connecting SG to the External Device, design the system
not to form short-circuit loop.
• Connect the isolation unit, when communication is not stabilized under the influence of a noise etc..

Cable Diagram 1

Display
Cable Notes
(Connection Port)

GP (COM1) Interface internal cable for Mitsubishi FA equipments


ST (COM1) by Diatrend Corp. Available to order the length
IPC*1 up to 15 m
PC/AT DAFXIH-CABV (3m)
*1 Only the COM port which can communicate by RS-232C can be used.
) „ IPC COM Port (page 4)

Display
External Device
DAFXIH-CABV

GP-Pro EX Device/PLC Connection Manual 13


QnA Series CPU Direct Driver

Cable Diagram 2

Display
Cable Notes
(Connection Port)

GP*1 (COM1) Mitsubishi A connection cable by Pro-face


A
AGP-3302B (COM2) CA3-CBLA-01 (5m)
ST*2 (COM2) The cable length must be
IPC*3 B Your own cable
500m or less.
*1 All GP models except AGP-3302B
*2 All ST models except AST-3211A
*3 Only the COM port which can communicate by RS-422/485 (4 wire) can be used.
) „ IPC COM Port (page 4)
A) When using Mitsubishi A connection cable (CA3-CBLA-01) by Pro-face.
Display
External Device
CA3-CBLA-01

B) When using your own cable


External Device
D-sub 9 pin (socket) Shield D-sub 25 pin (plug)
Termination
Pin Signal name Pin Signal name
resistance
Display
330Ω 1/4W 1 RDA 3 SDA
2 RDB 16 SDB
3 SDA 2 RDA
7 SDB 15 RDB
4 ERA 4 CSA
Termination
resistance 9 ERB 17 CSB
330Ω 1/4W 8 CSA 5 ERA
6 CSB 18 ERB
5 SG 7 SG
Shell FG 20
21
Shell FG

GP-Pro EX Device/PLC Connection Manual 14


QnA Series CPU Direct Driver

Cable Diagram 3

Display
Cable Notes
(Connection Port)

COM port conversion adapter by Pro-face


CA3-ADPCOM-01
+
2-port adapter cable for AGP by Pro-face
A
GP*1 (COM1) CA3-MDCB11 (5m)
AGP-3302B (COM2) +
ST*2 (COM2) 2-port adapter II by Pro-face
IPC*3 GP070-MD11

Your own cable


+ The cable length must be
B
2-port adapter II by Pro-face 600m or less.
GP070-MD11

Online adapter by Pro-face


CA4-ADPONL-01
+
2-port adapter cable for AGP by Pro-face
C
CA3-MDCB11 (5m)
+
2-port adapter II by Pro-face
GP*4 (COM2) GP070-MD11

Online adapter by Pro-face


CA4-ADPONL-01
+
The cable length must be
D Your own cable
600m or less.
+
2-port adapter II by Pro-face
GP070-MD11
*1 All GP models except AGP-3302B
*2 All ST models except AST-3211A
*3 Only the COM port which can communicate by RS-422/485 (4 wire) can be used.
) „ IPC COM Port (page 4)
*4 All GP models except GP-3200 series and AGP-3302B

A) When using COM port conversion adapter (CA3-ADPCOM-01), 2-port adapter cable for AGP (CA3-
MDCB11) by Pro-face and 2-port adapter II (GP070-MD11) by Pro-face

Terminal block

Display Signal name Signal name GP070-MD11


RDA SDA External Device
CA3-MDCB11
RDB SDB
SDA RDA
D-sub 9 pin
SDB RDB
(plug)
SG SG
CA3-ADPCOM-01

GP-Pro EX Device/PLC Connection Manual 15


QnA Series CPU Direct Driver

B) When using your own cable and 2-port adapter II (GP070-MD11) by Pro-face.
D-sub 9 pin (socket) Shield Terminal block
Termination
resistance Pin Signal name Signal name
330Ω 1/4W
1 RDA SDA
GP070-MD11
Display 2 RDB SDB
RDA External Device
3 SDA
7 SDB RDB
5 SG SG
6 CSB
9 ERB
8 CSA
4 ERA
Shell FG

Your own cable

C) When using online adapter (CA4-ADPONL-01), 2-port adapter cable for AGP (CA3-MDCB11) by Pro-face
and 2-port adapter II (GP070-MD11) by Pro-face.

Terminal block

Display Signal name Signal name GP070-MD11


RDA SDA External Device
CA3-MDCB11
RDB SDB
SDA RDA
D-sub 9 pin
(plug)
SDB RDB
SG SG
CA4-ADPONL-01

D) When using online adapter (CA4-ADPONL-01) by Pro-face, your own cable and 2-port adapter II (GP070-
MD11) by Pro-face.

Termination D-sub 9 pin (plug) Shield Terminal block


resistance Pin Signal name Signal name
330Ω 1/4W
2 RDA SDA GP070-MD11
Display
7 RDB SDB External Device
3 SDA RDA
8 SDB RDB
5 SG SG
Shell FG
CA4-ADPONL-01 1 TERMRX

Your own cable

GP-Pro EX Device/PLC Connection Manual 16


QnA Series CPU Direct Driver

6 Supported Device

Range of supported device address is shown in the table below.

This address can be specified as system data area.

Device Bit Address Word Address 32 bits Notes

Input Relay X0000 - X1FFF X0000 - X1FF0

Output Relay Y00000 - Y1FFF Y0000 - Y1FF0

Internal Relay M00000 - M32767 M00000 - M32752

Special Relay SM0000 - SM2047 SM0000 - SM2032

Latch Relay L000000 - L32767 L00000 - L32752

Annunciator F00000 - F32767 F00000 - F32752

Edge Relay V00000 - V32767 V00000 - V32752

Step Relay S0000 - S8191 S0000 - S8176

Link Relay B0000 - B7FFF B0000 - B7FF0

Special Link Relay SB000 - SB7FF SB000 - SB7F0

Timer (Contact) TS00000 - TS23087 ------

Timer (Coil) TC00000 - TC23087 ------

Retentive Timer (Contact) SS00000 - SS23087 ------

Retentive Timer (Coil) SC00000 - SC23087 ------

Counter (Contact) CS00000 - CS23087 ------

Counter (Coil) CC00000 - CC23087 ------

Timer (Current Value) ------ TN0000 - TN23087

Retentive Timer (Current


------ SN0000 - SN23087
Value)

Counter (Current Value) ------ CN0000 - CN23087

Data Register ------ D0000 - D25983

Special Register ------ SD0000 - SD2047

Link Register ------ W0000 - W657F

Special Link Register ------ SW000 - SW7FF

continued to next page

GP-Pro EX Device/PLC Connection Manual 17


QnA Series CPU Direct Driver

Device Bit Address Word Address 32 bits Notes


*1
File Register (Normal) ------ R00000 - R32767

File Register (Block switching ZR0000000 - *1


------
is not necessary) ZR1042431

------ 0R00000 - 0R32767

------ 1R00000 - 1R32767

------ 2R00000 - 2R32767

------ 3R00000 - 3R32767


File Register*2 *1
: :
(0R - 31R)
------ 28R00000 - 28R32767

------ 29R00000 - 29R32767

------ 30R00000 - 30R32767

------ 31R00000 - 31R26623


*1 You need the memory card when using the file register.
*2 Set the block No. on the head of device name. This is the device name for conversion with GP-Pro/PB III for
Windows. When you newly specify the device, we recommend that you should use the file register (Block
switching is not necessary).

• Please refer to the GP-Pro EX Reference Manual for system data area.
Cf. GP-Pro EX Reference Manual "Appendix 1.4 LS Area (Direct Access Method)"
• Please refer to the precautions on manual notation for icons in the table.
) "Manual Symbols and Terminology"
• Even if you use an address not existing in the External Device, no read error may be displayed. In
this case, the read-out data keeps 0.
In writing, an error is displayed.

GP-Pro EX Device/PLC Connection Manual 18


QnA Series CPU Direct Driver

7 Device Code and Address Code

Use device code and address code when you select "Device Type & Address" for the address type in data displays.

Device Device Code


Device Address Code
Name (HEX)

Input Relay X 0080 Value of word address divided by 0x10

Output Relay Y 0081 Value of word address divided by 0x10

Internal Relay M 0082 Value of word address divided by 16

Special Relay SM 0083 Value of word address divided by 16

Latch Relay L 0084 Value of word address divided by 16

Annunciator F 0085 Value of word address divided by 16

Edge Relay V 0086 Value of word address divided by 16

Step Relay S 0087 Value of word address divided by 16

Link Relay B 0088 Value of word address divided by 0x10

Special Link Relay SB 0089 Value of word address divided by 0x10

Timer (Current Value) TN 0060 Word Address

Retentive Timer (Current


SN 0062 Word Address
Value)

Counter (Current Value) CN 0061 Word Address

Data Register D 0000 Word Address

Special Register SD 0001 Word Address

Link Register W 0002 Word Address

Special Link Register SW 0003 Word Address

File Register (Normal) R 000F Word Address

File Register (Block switching


ZR 000E Word Address
is not necessary)

continued to next page

GP-Pro EX Device/PLC Connection Manual 19


QnA Series CPU Direct Driver

Device Device Code


Device Address Code
Name (HEX)

0R 0010 Word Address

1R 0011 Word Address

2R 0012 Word Address

3R 0013 Word Address


File Register
: : :
(0R - 31R)
28R 002C Word Address

29R 002D Word Address

30R 002E Word Address

31R 002F Word Address

GP-Pro EX Device/PLC Connection Manual 20


QnA Series CPU Direct Driver

8 Error Messages

Error messages are displayed on the screen of Display as follows: "No. : Device Name: Error Message (Error
Occurrence Area)". Each description is shown below.

Item Description
No. Error No.
Name of External Device where error occurs. Device name is a title of External Device set
Device Name
with GP-Pro EX.(Initial value [PLC1])
Error Message Displays messages related to the error which occurs.
Displays IP address or device address of External Device where error occurs, or error codes
received from External Device.

Error Occurrence Area


• IP address is displayed such as "IP address(Decimal): MAC address( Hex)".
• Device address is diplayed such as "Address: Device address".
• Received error codes are displayed such as "Decimal[Hex]".

Display Examples of Error Messages


"RHAA035: PLC1: Error has been responded for device write command (Error Code: 2 [02H])"

• Refer to your External Device manual for details on received error codes.
• Refer to "When an error is displayed (Error Code List)" in "Maintenance/Troubleshooting Manual"
for details on the error messages common to the driver.

GP-Pro EX Device/PLC Connection Manual 21


QnA Series CPU Direct Driver

GP-Pro EX Device/PLC Connection Manual 22

You might also like