0% found this document useful (0 votes)
41 views34 pages

Melsec-QnA CPU Driver Guide

Uploaded by

Milos Mijatovic
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)
41 views34 pages

Melsec-QnA CPU Driver Guide

Uploaded by

Milos Mijatovic
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/ 34

EIO0000001202 04/2013

Mitsubishi Electric Corp.


Melsec-QnA CPU (SIO) Driver
03/2014
EIO0000001202.00

www.schneider-electric.com
2 EIO0000001202 03/2014
Table of Contents

Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 1 Melsec-QnA CPU (SIO) Driver . . . . . . . . . . . . . . . . . . . . 9
System Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Target Machine Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Cable Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Supported Device Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Consecutive Equipment Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Environment Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
I/O Manager Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Driver Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Device Address Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

EIO0000001202 03/2014 3
4 EIO0000001202 03/2014
Safety Information
§

Important Information

NOTICE
Read these instructions carefully, and look at the equipment to become familiar with
the device before trying to install, operate, or maintain it. The following special
messages may appear throughout this documentation or on the equipment to warn
of potential hazards or to call attention to information that clarifies or simplifies a
procedure.

EIO0000001202 03/2014 5
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by
qualified personnel. No responsibility is assumed by Schneider Electric for any
consequences arising out of the use of this material.
A qualified person is one who has skills and knowledge related to the construction
and operation of electrical equipment and its installation, and has received safety
training to recognize and avoid the hazards involved.

6 EIO0000001202 03/2014
About the Book

At a Glance

Document Scope
This manual describes the device driver communication settings in the Vijeo
Designer screen editing software. Vijeo Designer enables you to design Magelis
target machines that communicate with PLCs, drives, field devices, and other
equipment.
For more information about Vijeo Designer and Magelis target machines, please
refer to Vijeo Designer user documentation.

Validity Note
The data and illustrations found in this book are not binding. We reserve the right to
modify our products in line with our policy of continuous product development. The
information in this document is subject to change without notice and should not be
construed as a commitment by Schneider Electric.

Documentation Conventions
Target Machine: Human-Machine Interface (HMI) that runs user applications
designed in Vijeo Designer screen editing software. A target machine is also known
as a terminal.

EIO0000001202 03/2014 7
Product Related Information

WARNING
LOSS OF CONTROL
 The designer of any control scheme must consider the potential failure modes
of control paths and, for certain critical control functions, provide a means to
achieve a safe state during and after a path failure. Examples of critical control
functions are emergency stop and overtravel stop.
 Separate or redundant control paths must be provided for critical control
functions.
 System control paths may include communication links. Consideration must be
given to the implications of unanticipated transmission delays or failures of the
link.*
 Each implementation of a Magelis XBTGT, HMISTO, HMISTU, HMIGTO,
HMIGTU, XBTGH, XBTGK, XBTGC, iPC, and XBTGTW must be individually
and thoroughly tested for proper operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

* For additional information, refer to NEMA ICS 1.1 (latest edition), “Safety
Guidelines for the Application, Installation, and Maintenance of Solid State Control.“

User Comments
We welcome your comments about this document. You can reach us by e-mail at
[email protected].

8 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver
EIO0000001202 04/2013

Melsec-QnA CPU (SIO) Driver

1
Subject of this Chapter
This chapter explains the Melsec-QnA CPU (SIO) Driver.

What's in this Chapter?


This chapter contains the following topics:
Topic Page
System Structure 10
Target Machine Serial Interface 11
Cable Diagrams 18
Supported Device Addresses 24
Consecutive Equipment Addresses 26
Environment Setup 28
I/O Manager Configuration 30
Driver Configuration 31
Device Address Configuration 33

EIO0000001202 03/2014 9
Melsec-QnA CPU (SIO) Driver

System Structure

Overview
The following table describes the basic system setup for connecting the target
machine to Mitsubishi Melsec-QnA Series PLCs.
To view a cable connection diagram for a particular communication format, see
Cable Diagrams.

Connection

Series CPU Link I/F Communication Diagram


Format
Melsec-QnA Q4A CPU CPU Direct RS-232C Diagram 1 - RS-232C
Series Q3A CPU RS-422(4-wire) Diagram 2 - RS-422
Q2A CPU-S1 (4-wire)
Q2A CPU
2 Port Adapter II RS-422(4-wire) Diagram 3 - RS-422
Q2ASH CPU-S1
(Schneider (4-wire)
Q2ASH CPU
Electric:
Q2AS CPU-S1
XBTZG979)
Q2AS CPU
Q4AR CPU

10 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

Target Machine Serial Interface

Use the following serial interface diagrams in combination with the cable diagrams
in Section 3 to wire connections between the target machine and external
equipment.

Magelis iPC Series (Smart, Compact, and Flex) and XBTGTW Series
The iPC Series (Smart, Compact, and Flex) and the XBTGTW Series target
machines come with one to four COM ports. All serial ports use 9-pin D-Sub male
connectors and support RS-232C serial communication. The following table
illustrates the pin layout for these target machines.

COM1, COM2, COM3, OR COM4 (9-pin D-Sub Plug)


RS-232C
Pin Number Symbol Description
1 CD Carrier Detect
2 RD(RXD) Receive Data
3 SD(TXD) Transmit Data
4 ER(DTR) Data Terminal Ready
5 GND Common Ground
6 DR(DSR) Data Set Ready
7 RS(RTS) Request to Send
8 CS(CTS) Send Possible
9 CI(RI) Called status display

Magelis XBTGK, XBTGC2000, XBTGH2000, and XBTGT2000 Series or higher


All XBTGK and XBTGT2000 Series and higher target machines have two COM
ports: COM1 and COM2. The XBTGC2000 Series has one COM port: COM1.
XBTGH2000 Series (Junction Box) has one COM port: COM1.
COM1 is a 9-pin D-Sub male connector and COM2 is an RJ45 socket. The following
tables illustrate the pin layout for these target machines.
COM1 (9-pin D-Sub Plug)
This COM port can act as either an RS-232C or RS-422 interface.

EIO0000001202 03/2014 11
Melsec-QnA CPU (SIO) Driver

RS-232C
Pin Number Symbol Description
1 CD Carrier Detect
2 RD(RXD) Receive Data
3 SD(TXD) Transmit Data
4 ER(DTR) Data Terminal Ready
5 GND Common Ground
6 DR(DSR) Data Set Ready
7 RS(RTS) Request to Send
8 CS(CTS) Send Possible
9 CI(RI) Called status display or +5V ±5%
output 0.25A

RS-422
Pin Number Symbol Description
1 RDA Receive Data A
2 RDB Receive Data B
3 SDA Send Data A
4 ERA Data Terminal Ready A
5 GND Common Ground
6 CSB Send Possible B
7 SDB Send Data B
8 CSA Send Possible A
9 ERB Data Terminal Ready B

Note:
 When making your own connections, attach a loop back between pins 6 (CSB)
and 9 (ERB), and between 4 (ERA) and 8 (CSA).
 To simplify the wiring, you can use the COM Port Conversion Adapter
(Schneider Electric: XBTZGCOM) and Terminal Block Conversion Adapter
(Schneider Electric: XBTZG949). These accessories allow access to the RS-
422 signals using screw terminals. For information on the signals of the screw
terminals, see the user manual for the XBTZG949.

12 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

COM2 (RJ45 Socket)

WARNING
UNINTENDED EQUIPMENT OPERATION
When making your own connections, use shielded RJ45 connectors. The shielded
connector provides isolation against electromagnetic interference and provides a
more secure physical connection in the RJ45 socket. Use of an improper RJ45
connection could lead to insecure connections.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

COM2 supports RS-422/485 signals only.


Pin Number Symbol Description
1
2
3
4 D1(+) Send/Receive Data (Positive
Signal)
5 D0(-) Send/Receive Data (Negative
Signal)
6
7
8 GND Common Ground

Magelis HMIGTO Series


The HMIGTO target machines have two COM ports (COM1 and COM2), with the
exception of the HMIGTO1310. The HMIGTO1310 has one COM port (COM1),
which uses an RJ45 connector for RS-232/422/485 serial communication. For more
information, see Magelis XBTGT1000, XBTGT1005, HMIGTO1310, HMISTO, and
HMISTU Series.
COM1 is a 9-pin D-Sub male connector, and COM2 is an RJ45 socket. The following
tables illustrate the pin layout for these target machines.

EIO0000001202 03/2014 13
Melsec-QnA CPU (SIO) Driver

COM1 (9-pin D-Sub Plug)


This COM port supports RS-232C serial communication.

CAUTION
LOSS OF COMMUNICATION
 All connections to the communication ports must not put excessive stress on the
ports.
 Securely attach communication cables to the panel wall or cabinet.
 Use only D-Sub 9-pin cables with a locking tab in good condition.
Failure to follow these instructions can result in injury or equipment damage.

RS-232C
Pin Number Symbol Description
1 CD Carrier Detect
2 RD(RXD) Receive Data
3 SD(TXD) Transmit Data
4 ER(DTR) Data Terminal Ready
5 SG Signal Ground
6 DR(DSR) Data Set Ready
7 RS(RTS) Request to Send
8 CS(CTS) Send Possible
9 CI(RI/VCC) Called status display or +5V ±5%
output 0.25A
Shell FG Frame Ground (Common with SG)

Note:
 You can switch pin 9 between RI and VCC via software. The VCC output is not
protected against overcurrent. To prevent damage or a unit malfunction, use
only the rated current.
 You can use the Cable Connector (Omron Corporation: XMD-0901), Cable
Cover (Omron Corporation: XM2S-0913), and Jack Screw #4-40 UNC (Omron
Corporation: XM2Z-0073).

14 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

COM2 (RJ45 Socket)


This COM port supports RS-422/485 serial communication.

WARNING
UNINTENDED EQUIPMENT OPERATION
When making your own connections, use shielded RJ45 connectors. The shielded
connector provides isolation against electromagnetic interference and provides a
more secure physical connection in the RJ45 socket. Use of an improper RJ45
connection could lead to insecure connections.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

RS-422/485
Pin Number Symbol Description
1 NC –
2 NC –
3 NC –
4 Line A Transfer Data (RS-485)
5 Line B Transfer Data (RS-485)
6 RS(RTS) Request to Send
7 NC –
8 SG Signal Ground

DANGER
ELECTRIC SHOCK
The serial port is not isolated. The SG (signal ground) and FG (frame ground)
terminals are connected inside the unit.
When using the SG terminal to connect an external device to the panel:
 Verify that a ground loop is not created when you set up the system.
 Connect the #8 SG terminal to remote equipment when the host (PLC) unit is
not isolated. Connect the #8 SG terminal to a known reliable ground connection
to reduce the risk of damaging the circuit.
Failure to follow these instructions can result in death or serious injury.

EIO0000001202 03/2014 15
Melsec-QnA CPU (SIO) Driver

Magelis HMIGTU
All HMIGTU Series target machines have two COM ports: COM1 and COM2. COM1
is an RJ45 socket and COM2 is a 9-pin D-Sub male connector. This protocol
supports only COM2.
The following tables illustrate the COM2 pin layout for these target machines.
COM2 (9-pin D-Sub Plug)
This COM port can act as either an RS-232C or RS-422/485 interface.

RS-232C
Pin Number Symbol Description
1 CD Carrier Detect
2 RD(RXD) Receive Data
3 SD(TXD) Transmit Data
4 ER(DTR) Data Terminal Ready
5 GND Common Ground
6 DR(DSR) Data Set Ready
7 RS(RTS) Request to Send
8 CS(CTS) Send Possible
9 CI(RI) Called status display or +5V ±5%
output 0.25A

RS-422/485
Pin Number Symbol Description
1 RDA Receive Data A
2 RDB Receive Data B
3 SDA Send Data A
4 ERA Data Terminal Ready A
5 GND Common Ground
6 CSB Send Possible B
7 SDB Send Data B
8 CSA Send Possible A
9 ERB Data Terminal Ready B

16 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

Note:
 When making your own connections, attach a loop back between pins 6 (CSB)
and 9 (ERB), and between 4 (ERA) and 8 (CSA).
 To simplify the wiring, you can use the COM Port Conversion Adapter
(Schneider Electric: XBTZGCOM) and Terminal Block Conversion Adapter
(Schneider Electric: XBTZG949). These accessories allow access to the RS-
422 signals using screw terminals. For information on the signals of the screw
terminals, see the user manual for the XBTZG949.

EIO0000001202 03/2014 17
Melsec-QnA CPU (SIO) Driver

Cable Diagrams

The illustrated cable diagrams and those recommended by Mitsubishi may differ.
However, Schneider Electric recommends using the following diagrammed
connections.
When creating your own cables, to identify which pins to connect on the target
machine, see Target Machine Serial Interface.
 Ensure that the equipment is properly grounded as indicated in the user manual
and follows all applicable country standards.

Diagram 1 - RS-232C
To connect the target machine and the PLC, use the recommended cables and
accessories.

Target Machine Cable / Adapter Note

iPC or XBTGTW Series


(COM1/COM2/COM3/ COM4),
XBTGK Series (COM1),
XBTGT2000 Series or higher
(COM1), XBTGH2000 Series RS-232C Cable
(Junction Box COM1), (Diatrend: DAFXIH-CABV
XBTGC2000 Series or higher 3m/10 ft))
(COM1), HMIGTO Series
(excluding HMIGTO1310)
(COM1), or HMIGTU Series
(COM2)

18 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

Diagram 2 - RS-422 (4-wire)


To connect the target machine and the PLC, use the recommended cables and
accessories in combination with the target pin specification in Target Machine Serial
Interface.

Target Machine Cable/Adapter Note

XBTGK Series (COM1),


XBTGT2000 Series or
higher (COM1),
XBTGH2000 Series,
Cable for Melsec-A Series
XBTGC2000 Series or
a (Schneider Electric:
higher (COM1),
XBTZG9773 Cable)
HMIGTO Series
(excluding
HMIGTO1310) (COM1),
HMIG3U (COM2)

XBTGK Series (COM1),


XBTGT2000 Series or
higher (COM1),
XBTGH2000 Series
(Junction Box COM1),
Cable length:
XBTGC2000 Series or b Connection Diagram
500m (1600 ft) max.
higher (COM1),
HMIGTO Series
(excluding
HMIGTO1310) (COM1),
HMIG3U (COM2)

DANGER
ELECTRIC SHOCK
Ensure that the ground connection for each component of interconnected
equipment is reliably connected to the same ground potential (within 100 ohms)
prior to connecting the equipment. There is a risk of electric shock when
connecting a PLC cable to a target machine, as the two may be at different
electrical potentials, even if both are separately connected to ground.
Failure to follow these instructions can result in death or serious injury.

EIO0000001202 03/2014 19
Melsec-QnA CPU (SIO) Driver

WARNING
UNINTENDED EQUIPMENT OPERATION
To reduce electromagnetic interference, use shielded twisted-pair cables. Connect
the cable shields, then connect the cable to a single-point ground on the HMI side.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

a. When using Connection Cable for Mitsubishi Melsec-A Series (Schneider


Electric: XBTZG9773)

b. Connection Diagram
Target Machine Shield PLC
Signal 25 Pin Signal
RDA 3 SDA
RDB 16 SDB
Termination
SG 7 SG
Resistance
1/4W 100Ω SDA 2 RDA
SDB 15 RDB
ERA 4 CSA
ERB 17 CSB
CSA 5 ERA
CSB 18 ERB
20
21
FG (Connector Hood)

Note:
 When signal lines overlap as drawn below, indicates a twisted pair.

20 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

Diagram 3 - RS-422 (4-wire)


To connect the target machine and the PLC, use the recommended cables and
accessories.

Target Machine Cable/Adapter Note

XBTGK Series (COM1),


XBTGC2000 Series or
2Port Adapter II
higher (COM1),
(Schneider Electric:
XBTGT2000 Series or
XBTZG979), 2Port
higher (COM1),
Adapter Cable (Schneider
XBTGH2000 Series a
Electric: XBTZG9778) and
(Junction Box COM1),
COM Port Conversion
HMIGTO Series
Adapter (Schneider
(excluding HMIGTO1310)
Electric: XBTZGCOM1)
(COM1), HMIG3U Series
(COM2)
Cable Length:
500m (1600 ft) max.

XBTGK Series (COM1),


XBTGT2000 Series or
higher (COM1),
2Port Adapter II
XBTGH2000 Series
(Schneider Electric:
(Junction Box COM1), b
XBTZG979)
HMIGTO Series
and User-created Cable
(excluding HMIGTO1310)
(COM1), HMIG3U Series
(COM2)

EIO0000001202 03/2014 21
Melsec-QnA CPU (SIO) Driver

DANGER
ELECTRIC SHOCK
Ensure that the ground connection for each component of interconnected
equipment is reliably connected to the same ground potential (within 100 ohms)
prior to connecting the equipment. There is a risk of electric shock when
connecting a PLC cable to a target machine, as the two may be at different
electrical potentials, even if both are separately connected to ground.
Failure to follow these instructions can result in death or serious injury.

WARNING
UNINTENDED EQUIPMENT OPERATION
To reduce electromagnetic interference, use shielded twisted-pair cables. Connect
the cable shields, then connect the cable to a single-point ground on the HMI side.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

a. 2Port Adapter II (Schneider Electric: XBTZG979), 2Port Adapter Cable


(Schneider Electric: XBTZG9778) and COM Port Conversion Adapter (Schneider
Electric: XBTZGCOM1/2)

22 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

b. 2Port Adapter II (Schneider Electric: XBTZG979) and User-created Cable


Target Machine Shield 2 Port Adapter II
Signal Signal PLC
RDA SDA
RDB SDB
Termination
SDA RDA
Resistance
1/4W 330Ω SDB RDB
SG SG
CSB FG
ERB
CSA
ERA
FG*
* Connector Hood

Note:
 Use the loopback connections shown in the diagram (between CSA and ERA,
and CSB and ERB) when connecting directly to the target machine. If you
connect using a terminal block converter or some other intermediary device,
these loopback connections are unnecessary.
 When signal lines overlap as drawn below, indicates a twisted pair.

EIO0000001202 03/2014 23
Melsec-QnA CPU (SIO) Driver

Supported Device Addresses

Overview
The following tables list the device address ranges you can enter from the Device
Address keypad.

WARNING
UNINTENDED EQUIPMENT OPERATION
Incorrect values will result if conflicting writes to the same register are requested
simultaneously by the target and PLC program.
Design your system to avoid conflicting write processes between the target
machine and PLC program.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

For actual device address ranges supported by the PLC, refer to the corresponding
PLC manual.
Device Bit Address Word Address 16 bit 32 bit
*1
Input Relay X0000-X1FFF X0000-X1FF0
*1
Output Relay Y0000-Y1FFF Y0000-Y1FF0
*2
Internal Relay M00000-M32767 M00000-M32752
*2
Latch Relay L00000-L32767 L00000-L32752
*2
Special Relay SM0000-SM2047 SM0000-SM2032
*2
Annunciator F00000-F32767 F00000-F32752
*2
Edge Relay V00000-V32767 V00000-V32752
*2
Step Relay S0000-S8191 S0000-S8176
*1
Link Relay B0000-B7FFF B0000-B7FF0
*1 *6 *6
Special Link Relay SB000-SB7FF SB000-SB7F0 L/H L/H
Timer (contact) TS00000-TS22527 --
Timer (coil) TC00000-TC22527 --
Retentive Timer (contact) SS00000-SS22527 --
Retentive Timer (coil) SC00000-SC22527 --
Counter (contact) CS00000-CS22527 --
Counter (coil) CC00000-CC22527 --
Timer (current value) -- TN00000-TN22527
Retentive Timer (current value) -- SN00000-SN22527
Counter (current value) -- CN00000-CN22527

24 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

Device Bit Address Word Address 16 bit 32 bit


*4 *3
Data Register D00000.0-D25599.F D00000-D25599
*4 *3
Special Register SD0000.0-SD2047.F SD0000-SD2047
*4 *3
Link Register W0000.0-W63FF.F W0000-W63FF
*4 *3
Special Link Register SW000.0-SW7FF.F SW000-SW7FF
*4 *3
File Register(Normal) R00000.0-R32767.F R00000-R32767
*3
0R00000.0-0R32767.F 0R00000-0R32767
*3
1R00000.0-1R32767.F 1R00000-1R32767
*6 *6
2R00000.0-2R32767.F 2R00000-2R32767
*3 L/H L/H
*4*5 ... ...
File Register(0R-31R)
30R00000.0 - *3
30R00000 -30R32767
30R32767.F
31R00000.0 - *3
31R00000 -31R32767
31R32767.F
*4*5 ZR0000000.0 - ZR0000000 -
File Register(ZR) *3
ZR1042431.F ZR1042431
*1 To use as word address, the bit number (last digit) must be 0.
*2 To use as word address, must be multiple of 16.
*3 Bit designation is possible. Include a period (.) or colon (:) at the end of the Word
Address, followed by the bit position (0 to F). E.g. W0100.F
*4 Read-modify-write. When you write to one of these bit addresses, the target
machine reads the entire word address, sets the defined bit, then returns the new
value to the PLC. If the ladder program writes data to this word address during
the bit read/write process, the resulting data may be incorrect.
*5 When a File Register is used (1R to 31R, ZR), a memory card is required.
*6 16-bit and 32-bit data, High and Low, refer to data as defined in the following
examples.

EIO0000001202 03/2014 25
Melsec-QnA CPU (SIO) Driver

Consecutive Equipment Addresses

Overview
The following table lists the maximum number of consecutive addresses that can be
read by each PLC. Refer to this table when using block transfers.
Note:
 To speed up data communication, use consecutive variable addresses on the
same panel screen.
 The following situations increase the number of times that the equipment is
read, which reduces the data communication speed between the target
machine and the equipment:
 when the number of consecutive addresses exceeds the maximum
 when different register/device types are used.

26 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

Max. Consecutive
Device Gap Span
Addresses
Input Relay (X)
Output Relay (Y)
Internal Relay (M)
Latch Relay (L)
Special Relay (SM)
Annunciator (F)
Edge Relay (V)
Step Relay (S)
7680 bits 544 bits
Link Relay (B)
Special Link Relay (SB)
Timer [contact] (TS)
Timer [coil] (TC)
Retentive Timer [contact] (SS)
Retentive Timer [coil] (SC)
Counter [contact] (CS)
Counter [coil] (CC)
Timer [current value] (TN)

Retentive Timer [current value] (SN)

Counter [current value] (CN)


Data Register (D)
Special Register (SD) 480 words 34 words
Link Register (W)
Special Link Register (SW)
File Register (R)
File Register (0R-31R)
File Register (ZR)

EIO0000001202 03/2014 27
Melsec-QnA CPU (SIO) Driver

Environment Setup

Overview

WARNING
UNINTENDED EQUIPMENT OPERATION
Read and understand the instructions in this section to ensure data is properly
transferred. If you do not follow these instructions, incorrect data could be written
to the PLC and the target machine.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

The following table lists the communication settings, recommended by Schneider


Electric, for the target machine and Mitsubishi Melsec PLCs.
For details, see Driver Configuration.

RS-232C

Target Machine Settings PLC Settings


Serial Interface RS-232C --
Flow Control DTR(ER)/CTS --
Transmission Speed 19200 bps --
Retry Count 2 --
Driver Parity Bit Odd --
Stop Bit 1 bit --
Data Length 8 bits --
Rcv Time Out 10 sec --
TX Wait Time 0 msec --

28 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

RS-422 (4-wire)

Target Machine PLC Settings


Serial Interface RS-422(4-Wire) --
Flow Control None --
Transmission Speed 19200 bps --
Retry Count 2 --
Driver Parity Bit Odd --
Stop Bit 1 bit --
Data Length 8 bits --
Rcv Timeout 10 sec --
TX Wait Time 0 msec --

EIO0000001202 03/2014 29
Melsec-QnA CPU (SIO) Driver

I/O Manager Configuration

Overview
The driver and equipment, which enable communication between the target
machine and the PLC, depends on the PLC type.
Note:
 For information on how to display the [New Driver] dialog box, see the Vijeo
Designer Help.

Screen example of I/O Manager Configuration

30 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

Driver Configuration

Overview

WARNING
UNINTENDED EQUIPMENT OPERATION
Read and understand the instructions in this section to ensure data is properly
transferred. If you do not follow these instructions, incorrect data could be written
to the PLC and the target machine.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

To configure the communication settings of the serial driver in the target machine,
use the [Driver Configuration] dialog box. Make sure the settings match those of the
PLC.

For an overview of the driver and device settings, see Environment Setup.
Note:
 For information on how to display the [Driver Configuration] dialog box, see the
Vijeo Designer Help.

Screen example of Driver Configuration

EIO0000001202 03/2014 31
Melsec-QnA CPU (SIO) Driver

Screen Description

Area Description
Manufacturer Displays the name of the PLC manufacturer.
Driver Displays the type of serial connection used to connect the target
machine to the PLC.
COM Port Defines which COM port to use on the target machine, for connecting to
the PLC.
Serial Interface Defines the serial connection: RS-232C or RS-422 (4-wire).
For details about the supported connections, see Magelis HMIGTU.
Flow Control Defines the signals that control the data flow. When using RS-232C,
control is fixed at “DTR(ER)/CTS”. When using RS-422 (4-wire), control
is fixed at “None”.
Transmission Sets the communication speed in bits per second. This setting must
Speed match the PLC baud rate.
Retry Count Defines the number of times the driver tries to send or receive data when
an error has been detected.
Parity Bit Defines the parity bit. With this driver, the setting is fixed as [Odd].
Stop Bit Defines the stop bit. With this driver, the setting is fixed as [1].
Data Length Defines the length of each unit of data. With this driver, the setting is
fixed as [8].
Rcv. Timeout Defines the length of time the target machine waits for a response before
it outputs a timeout error or sends another communication.
TX Wait Time Defines the number of milliseconds that the target machine waits, after
receiving a communication packet, before sending a response.

32 EIO0000001202 03/2014
Melsec-QnA CPU (SIO) Driver

Device Address Configuration

Overview

WARNING
UNINTENDED EQUIPMENT OPERATION
Read and understand the instructions in this section to ensure data is properly
transferred. If you do not follow these instructions, incorrect data could be written
to the PLC and the target machine.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.

To set up a PLC variable in the Variable List, use the Device Address Keypad from
the variable properties.

See Supported Device Addresses.


Note:
 For information on how to display the Device Address Keypad, see the Vijeo
Designer Help.

Screen example of Device Address Keypad

EIO0000001202 03/2014 33
Melsec-QnA CPU (SIO) Driver

Screen Description

Area Description
Device Lists the PLC’s discrete and word device types.
Address Enter the device address for the PLC variable. The keypad ensures
that you enter the correct format for bit and word devices.

34 EIO0000001202 03/2014

You might also like