Comunicaciones ROC
Comunicaciones ROC
[Link]
2 EIO0000001145 03/2012
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Chapter 1 ROC Plus SIO Driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
System Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Target Machine Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Cable Diagrams. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Supported Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Device Address Configuration 20
I/O Manager Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Driver Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Equipment Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
EIO0000001145 03/2012 3
4 EIO0000001145 03/2012
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.
EIO0000001145 03/2012 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 EIO0000001145 03/2012
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.
EIO0000001145 03/2012 7
Product Related Information
WARNING
LOSS OF CONTROL
z 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.
z Separate or redundant control paths must be provided for critical control
functions.
z System control paths may include communication links. Consideration must be
given to the implications of unanticipated transmission delays or failures of the
link.*
z Each implementation of a Magelis XBTGT, HMISTO, HMISTU, HMIGTO,
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
techcomm@[Link].
8 EIO0000001145 03/2012
ROC Plus SIO Driver
EIO0000001145 03/2012
1
Subject of this Chapter
This chapter explains Emerson Process Management’s ROC Plus SIO driver.
EIO0000001145 03/2012 9
ROC Plus SIO Driver
System Structure
Overview
The following table describes the basic system setup for connecting Emerson
Process Management’s external devices to the Vijeo Designer target machines.
Note:
z All Vijeo Designer target machines support the ROC Plus SIO driver, except for
the XBTGT1100 and XBTGT1130.
Connection
You can use the COM1 port to connect the target machine with the external device.
Series CPU Link I/F Comm. Diagram
ROC ROC 300 LOI Port, EIA-232 RS-232C Cable Diagram 1
(optional expansion
module
EIA-485 / RS-485 RS-422/485 Cable Diagram 4
(optional expansion
module)
ROC 800 (809, LOI RS-232D Port RS-232C Cable Diagram 2
827) EIA-485 / RS-485 RS-422/485 Cable Diagram 4
(optional expansion
module)
DL8000 LOI Port. EIA-232 RS-232C Cable Diagram 2
Built-In EIA-232 RS-232C Cable Diagram 1
Optional EIA-232 RS-232C Cable Diagram 1
EIA-422 / 485 2-Wire RS-422/485 Cable Diagram 5
EIA-422 / 485 4-Wire RS-422/485 Cable Diagram 6
ROCPAC ROCPAC 306 LOI Port, EIA-232 RS-232C Cable Diagram 1
ROCPAC 312 (optional expansion
ROCPAC 364 module)
EIA-485 / RS-485 RS-422/485 Cable Diagram 4
(optional expansion
module)
10 EIO0000001145 03/2012
ROC Plus SIO Driver
For any other ROC Plus equipment, refer to the manufacturer’s documentation to
determine the pin layout.
EIO0000001145 03/2012 11
ROC Plus SIO Driver
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.
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
12 EIO0000001145 03/2012
ROC Plus SIO Driver
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:
z When making your own connections, attach a loop back between pins 6 (CSB)
and 9 (ERB), and between 4 (ERA) and 8 (CSA).
z 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.
EIO0000001145 03/2012 13
ROC Plus SIO Driver
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.
14 EIO0000001145 03/2012
ROC Plus SIO Driver
CAUTION
LOSS OF COMMUNICATION
z All connections to the communication ports must not put excessive stress on the
ports.
z Securely attach communication cables to the panel wall or cabinet.
z 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)
EIO0000001145 03/2012 15
ROC Plus SIO Driver
Note:
z 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.
z 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).
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.
16 EIO0000001145 03/2012
ROC Plus SIO Driver
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:
z Verify that a short-circuit loop is not created when you set up the system.
z 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.
EIO0000001145 03/2012 17
ROC Plus SIO Driver
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-232C
Pin Number Symbol Description
1 RD(RXD) Receive Data
2 SD(TXD) Transmit Data
3
4
5
6
7
8 GND Common Ground
RS-422/485 (2-wire)
Pin Number Symbol Description
1
2
3
4 D1(+) Send Data (Positive Signal)
5 D0(-) Send Data (Negative Signal)
6
7
8 GND Common Ground
18 EIO0000001145 03/2012
ROC Plus SIO Driver
Cable Diagrams
The illustrated cable diagrams and those recommended by Emerson Process
Management may differ. However, Schneider Electric recommends using the
following connections.
When creating your own cables, to identify which pins to connect on the target
machine, see Target Machine Serial Interface.
z Ensure that the equipment is properly grounded as indicated in the user manual
and follows all applicable country standards.
Cable Diagram 1
RS-232C Cable Connection
Cable Diagram 2
RS-232C to LOI RS-232D Terminal Connection
EIO0000001145 03/2012 19
ROC Plus SIO Driver
Cable Diagram 3
RS-232C to FB407 LOI Operator Interface Cable Connection
Cable Diagram 4
RS-485 Cable Connection
20 EIO0000001145 03/2012
ROC Plus SIO Driver
Cable Diagram 5
RS-422, 2-Wire / RS485 (DB9) Cable Connection
Cable Diagram 6
RS-422, 4-Wire (DB9) Cable Connection
EIO0000001145 03/2012 21
ROC Plus SIO Driver
Supported Devices
Overview
The entire range of Type, Logical, Parameter (TLP) settings are supported for all
Emerson Process Management models/series listed in this manual.
In the following example for the TLP address [PLC1]92,0,3:UINT8, the address
components are described in the table below.
You can find details on each TLP in the ROC user manuals and the ROC Plus
Protocol Reference from Emerson Process Management.
Custom TLPs are also supported for point types and parameters outside the
standard set.
22 EIO0000001145 03/2012
ROC Plus SIO Driver
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, use Input Address Settings or Custom Input Address
Settings.
EIO0000001145 03/2012 23
ROC Plus SIO Driver
Screen Description
Area Description
Point Type A list that contains the point types available from the ROC
database. Select a point type from the list.
Location A point type location. Enter an integer from 0 to 255.
Slot The slot number for the physical point type. This property
displays only if you selected a physical slot type. Enter an
integer from 0 to 255.
Channel The channel number for the physical point type. This property
displays only if you selected a physical slot type. Enter an
integer from 0 to 255.
Parameter Select a parameter for the point type. Parameters vary
depending on the point type selected.
TLP The TLP address string that corresponds to the selections
[Link] TLP property is read only.
Bit This property is available if you selected BOOL for the
variable type and only for certain point types. Select a value
from the drop-down list box.
Data Type This property indicates the data type of the parameter
selected above and is read only.
24 EIO0000001145 03/2012
ROC Plus SIO Driver
Screen Description
Area Description
Point Type A list that contains the point types available from the ROC
database. Select Custom from the list.
Location When Custom point type is selected, no Location properties
display.
Parameter When Custom point type is selected, no parameters are
displayed.
TLP The TLP address string that corresponds to the selections
above. Enter the TLP in numeric format.
Bit This property is available if you selected BOOL for the
variable type and only for certain point types. Select a value
from the drop-down list box.
Data Type This property indicates the data type of the parameter. Select
the data type from the drop-down list box.
EIO0000001145 03/2012 25
ROC Plus SIO Driver
BIT Bit range 0-7, 0-15, or 0-31. Available only for the following
data types: BIN, INT8, INT16, INT32, UINT8, UINT16,
UINT32.
Note:
z If you entered a custom TLP that matches a TLP in the Emerson database, the
TLP will revert to the address and data type in the database.
The following table lists valid Data Type strings you can enter in the Device Address
property.
Name Description
AC1 ASCII 1 character
AC3 ASCII 3 characters
AC7 ASCII 7 characters
AC10 ASCII 10 characters
AC12 ASCII 12 characters
AC20 ASCII 20 characters
AC30 ASCII 30 characters
AC40 ASCII 40 characters
BIN Binary 8 bit, or bit address 0-7*
FL Floating Point
INT8 8 bit signed integer, or bit address 0-7*
INT16 16 bit signed integer, or bit address 0-15*
INT 32 32 bit signed integer, or bit address 0-31*
26 EIO0000001145 03/2012
ROC Plus SIO Driver
Name Description
TIME 32 bit signed integer
TLP 24 bit integer in 32 bits
UINT8 8 bit unsigned integer, or bit address 0-7*
UINT16 16 bit unsigned integer, or bit address 0-15*
UINT32 32 bit unsigned integer, or bit address 0-31*
* 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.
EIO0000001145 03/2012 27
ROC Plus SIO Driver
Overview
The driver and equipment, which enable communication between the target
machine and the PLC, depends on the PLC type.
Note:
z For information on how to display the [New Driver] dialog box, see the Vijeo
Designer Online Help.
28 EIO0000001145 03/2012
ROC Plus 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
driver.
EIO0000001145 03/2012 29
ROC Plus SIO Driver
Screen Description
Area Description
Manufacturer Displays the name of the driver’s manufacturer.
Driver Displays the type of serial connection used to connect the target
machine to the driver.
COM Port Defines which COM port to use on the target machine to connect to
the driver.
Serial Interface Defines the serial connection.
For details about the supported connections, see Cable Diagrams.
Flow Control Defines the signals that control the data flow.
Transmission Speed Sets the communication speed in bits per second. This setting must
match the driver’s 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 Detects communication errors, which can be None, Even, or Odd.
Stop Bit Defines the stop bit, which can be 1 or 2 bits.
Data Length Defines the length of each unit of data, which can be 7 or 8 bits.
Rcv. Time Out Defines the length of time (in seconds) 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.
30 EIO0000001145 03/2012
ROC Plus SIO Driver
Equipment 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 driver and the target machine.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
To set up details about the communication process between the target machine and
the driver, use the [Equipment Configuration] dialog box.
Note:
z For information on how to display the [Equipment Configuration] dialog box, see
the Vijeo Designer Online Help.
EIO0000001145 03/2012 31
ROC Plus SIO Driver
Screen Description
Area Description
Host Address The communication address of the target machine. Enter a value
from 1 to 255.
Host Group The communication group of the target machine. Enter a value from
0 to 255.
Device Address The communication address for the specific ROC. Enter a value
from 1 to 255
Device Group The communication group for the specific ROC. Enter a value from
0 to 255.
Operator ID* The login ID defined for the ROC. Enter a maximum of 3 characters
with no spaces.
Password* The password defined for the ROC. Enter a value from 0-9999.
Access Level* Select the check box to define the security access level for the
operator. Select the access level, from 0 to 5, in the corresponding
text box.
* Login Request settings (Operator ID, Password, and Access Level) must match the
settings on the ROC. If the settings do not match, an error will display.
32 EIO0000001145 03/2012