This user’s manual describes the communication functions of the UT350L controller
and provides information on how to create communication programs.
The UT350L controller use the following communication protocols:
1)PC link communication protocol
2)Ladder communication protocol
The UT350L controller cannot communicate with a host device that uses a communication
protocol other than the above.
Y ou are required to understand the communication specifications of host devices, as a
background knowledge, in regard to their communication hardware, language used for
creating communication programs, and so on.
* Host devices: PCs, PLCs (sequencers), graphic panels, and others
■ Intended Readers
i
This manual is intended for people familiar with the functions of the UT350L controller such
as control engineers and personnel in charge of the maintenance of instrumentation and
control equipment.
■ Related Documents
The following user’s manuals all relate to the communication functions of the UT350L
controller. Read them as necessary. The codes enclosed in parentheses are the document
numbers.
•
UT350L User’s Manual -Installation, Initial Setting, and so on.
(IM 05D01D21-01E to 03E)
Explains the basic operation of the UT350L controller .
■ Regarding This User’s Manual
(1)This manual should be provided to the end user. Keep an extra copy or copies of the
manual in a safe place.
(2)Read this manual carefully to gain a thorough understanding of how to operate this
product before starting operation.
(3)This manual describes the functions of this product. Yokogawa Electric Corporation
(hereinafter simply referred to as Yokogawa) does not guarantee the application of
these functions for any particular purpose.
(4)Under absolutely no circumstances may the contents of this manual, in part or in
whole, be transcribed or copied without permission.
(5)The contents of this manual are subject to change without prior notice.
(6)Every effort has been made to ensure that the details of this manual are accurate.
However, should any errors be found or important information be omitted, please
contact your nearest Yokogawa representative or our sales office.
The following symbol is indicated on the controller to ensure safe use.
This symbol on the controller indicates that the operator must refer to an explanation in the
user’s manual in order to avoid the risk of injury or death of personnel or damage to the
instrument. The manual describes how the operator should exercise special care to avoid
CAUTION
electric shock or other dangers that may result in injury or loss of life.
The following symbols are used in the hardcopy user’s manuals and in the user’s manual
supplied on the CD-ROM.
NOTE
Indicates that operating the hardware or software in a particular manner may damage it or
result in a system failure.
ii
IMPORTANT
Draws attention to information that is essential for understanding the operation and/or
features of the controller.
■ Force Majeure
(1)Y okogawa assumes no liability to any party for any loss or damage, direct or indirect,
caused by the use or any unpredictable defect of the product.
(2)No portion of the software supplied by Yokogawa may be transferred, exchanged,
leased or sublet for use by any third party without the prior permission of Yokogawa.
(3)Be sure to use the spare parts approved by Yokogawa when replacing parts or
consumables.
(4)Use this software with one specified computer only . You must purchase another copy
of the software for use on each additional computer.
(5)Copying this software for purposes other than backup is strictly prohibited.
(6)Store the floppy disk(s) (original medium or media) containing this software in a
secure place.
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
<Toc> <Rev>
■ Regarding Protection, Safety , and Prohibition Against Unauthorized
Modification
(1)In order to protect the product and the system controlled by it against damage and
ensure its safe use, make certain that all of the instructions and precautions relating to
safety contained in this document are strictly adhered to. Yokogawa does not guaran-
tee safety if products are not handled according to these instructions.
(2)Modification of the product is strictly prohibited.
(3)Reverse engineering such as the disassembly or decompilation of software is strictly
prohibited.
iii
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
Blank Page
<Int> <Rev>
Model UT350L
Limit Controller
User’s Manual
Introduction........................................................................................................... i
6.2Status I Relays ................................................................................................ 6-1
6.3User Area ......................................................................................................... 6-2
Revision Information ............................................................................................ i
IM 05D01D21-10E
2nd Edition: Jul. 30, 2004-00
<Toc><1. Communications Overview>
1.Communications Overview
The UT350L controllers have an RS-485 serial communication interface, through
which data exchange is performed with a device such as a personal computer , PLC
(sequencer), and graphic panel.
The following five communication protocols are supported.
Table 1.1 Communication Protocols
Communication protocolProtocol specification
PC link communication
Ladder communication
Table 1.2 Connectable Devices
Communication protocolConnectable deviceRequirements
PC link communication
Ladder communication
Without sum check
With sum check
Handshaking
Personal computer
Graphic panel
PLC (sequencer)
PLC (sequencer)
RS-232C/RS-485 converter
With serial communication module
With ladder communication module
1-1
1.1Interface Specifications
Table 1.3 RS-485 Interface
InterfaceBaud rateOther specificationsProtocols available
Standard RS-485
Communication
system
4-wire, half-duplex
600, 1200
2400, 4800
9600bps
2-wire, half-duplex
- Asynchronous (start-stop)
- Handshaking
- Maximum communication
distance: 1200 m
- Maximum number of
connectable devices: 31
- Start bit: 1
- Data length: 8 or 7 bits
- Parity: No parity, even, odd
- Stop bit: 1 or 2
PC link communication
Ladder communication
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
Blank Page
<Toc><2. Setup>
2.Setup
This chapter describes the procedure to set up the communication functions and
also refers to some notes on wiring and communication parameters.
2.1Setup Procedure
Set up the communication functions of the UT350L controller as follows:
Connect a host device and a UT350L controller. (See section 2.2.)
Set up the communication parameters of the UT350L controller. (See section 2.3.)
Create communication programs for the host device to perform communication.
Create communication programs referring to the documentation of each host device.
*
In this manual, “host devices” generically denotes PCs, PLCs (sequencers), and graphic panels.
*
2-1
IM 05E01B02-41E 2nd Edition: Jul. 30, 2004-00
<T oc><2. Setup>
2.2Wiring for Communication
Connect the UT350L controller and the host device for communication. The wiring procedures and precautionary notes are as follows.
NOTE
•T o avoid an electrical shock, be sure to turn off the power supply source to the equipment involved before you start wiring.
•Use crimp terminals at cable ends.
•Before you start wiring, read the user’s manual of each device.
2.2.1Wiring to a Personal Computer
Since general personal computers cannot directly be connected to the RS-485 interface,
wiring must be provided via an RS-232C/RS-485 converter. The following figures show the
wiring for 4-wire connection and 2-wire connection.
2-2
●4-wire connection
PC
RS-232C
straight cable
●2-wire connection
PC
RS-232C
straight cable
Terminating resistor
220Ω1/4W
JIS Class 3 grounding
(grounding resistance
of 100Ω or less)
Terminating resistor
220Ω1/4W
JIS Class 3 grounding
(grounding resistance
of 100Ω or less)
Z-101HEUT350LUT350L
TD(+)
TD(-)
RD(+)
RD(-)
SHIELD
Communication cable
JIS Class 3 grounding
(grounding resistance
of 100Ω or less)
ML1-UT350LUT350L
B(+)
5
A(-)
3
SG
4
6
Communication cable
JIS Class 3 grounding
(grounding resistance
of 100Ω or less)
23
24
25
26
27
Communication cable
JIS Class 3 grounding
(grounding resistance
of 100Ω or less)
23
24
25
26
27
Communication cable
JIS Class 3 grounding
(grounding resistance
of 100Ω or less)
SDB(+)
SDA(-)
RDB(+)
RDA(-)
SG
SDB(+)
SDA(-)
RDB(+)
RDA(-)
SG
23
24
25
26
27
23
24
25
26
27
Terminating resistor
220Ω1/4W
Terminating resistor
220Ω1/4W
Note:Z-101HE and ML1-■ are the converters of Sharp Corporation and Y okogawa
Electric Corporation, respectively . You can also use other RS-232C/RS-485 converters.
Before you use another converter, check its electrical specifications.
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
<Toc><2. Setup>
2.2.2Wiring to a PLC (Sequencer) or Graphic Panel
Since general PLCs (sequencers) and graphic panels have an RS-485 interface, they can
be directly connected to a UT350L controller. If your PLC (sequencer) or graphic panel has
an RS-232C interface, see subsection 2.2.1.
2-3
● 4-wire connection
● 2-wire connection
PLC or graphic panelUT350LUT350L
RDB(+)
Terminating
resistor
220Ω1/4W
JIS Class 3 grounding (grounding
resistance of 100Ω or less)
PLC or graphic panelUT350LUT350L
Terminating
resistor
220Ω1/4W
JIS Class 3 grounding (grounding
resistance of 100Ω or less)
RDA(-)
SDB(+)
SDA(-)
SG
Communication cable
B(+)
A(-)
SG
Communication cable
23
24
25
26
27
Communication cable
JIS Class 3 grounding (grounding
resistance of 100Ω or less)
23
24
25
26
27
Communication cable
JIS Class 3 grounding (grounding
resistance of 100Ω or less)
SDB(+)
SDA(-)
RDB(+)
RDA(-)
SG
SDB(+)
SDA(-)
RDB(+)
RDA(-)
SG
23
24
Terminating resistor
25
26
27
23
24
25
26
27
220Ω1/4W
Terminating resistor
220Ω1/4W
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
<T oc><2. Setup>
2.3Notes on Setting Communication Parameters
This section describes the parameters that set up the communication functions and their
setting ranges.
NOTE
The communication specifications of both the UT350L controller and the host device must
be the same. Check the communication specifications of the host device first, then set up
the communication parameters of the UT350L controller .
2.3.1Procedure to Set Communication Parameters
For the operation procedure, see the User’s Manual of UT350L controller .
The UT350L are shipped from the factory with the following communication specifications.
PC link communication (without sum check)
PC link communication (with sum check)
Ladder communication
Note: Circled numbers denote fixed values (i.e., the parameters can neither be shown nor changed).
0
1
2
9600
9600
9600
PRI
EVEN
EVEN
EVEN
2.3.2Description of Communication Parameters
Table 2.3.2 Communication Parameters of UT350L controller
Parameter name
Protocol selection
Address
Baud rate
Parity
Stop bit
Data length
Minimum response time
*1: Data length is fixed at 8 bits for ladder communication is selected.
Parameter code
PSL
ADR
BPS
PRI
STP
DLN
RP.T
PC link communication
Ladder communication
600, 1200, 2400, 4800, 9600 (bps)
NONE (no parity), EVEN, ODD
Setting range
0: Without sum check
1: With sum check
2: Ladder communication
1 to 99
1, 2 (bit)
1
*
7, 8 (bit)
0 to 10 (×10 ms)
STP
1
1
1
DLN
8
8
8
Default
0
1
9600
EVEN
1
8
0
1) Protocol selection (PSL)
Set the same communication protocol as that of the host device to be connected to. The
UT350L controller supports PC link and ladder communication protocols, which are specific
to UT350L controller .
2) Baud rate (BPS)
Set the same baud rate as that of the host device to be connected. (Otherwise, proper
communication cannot be achieved.) The unit of baud rate is bps (bits per second).
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
<Toc><2. Setup>
3) Address number (ADR)
Set the address number of the UT350L controller to one that is not being used by another
controller. An address number of 1 to 99 can be assigned in any order. Note that the number of UT350L controllers that can be connected to a single communication port is limited
to 31.
Example of connecting four UT350L controllers to a host device with address numbers of 1,
50, 10, and 20:
PC
Max. 1200 m; the maximum number of slave units: 31
2-5
ADR=1ADR=50ADR=10ADR=20
4) Parity (P ARI)
Set the handling of parity to be carried out when data is sent or received. Set the same
parity state as that of the host device to be connected.
5) Stop bit (STP)
Set the same stop bit as that of the host device to be connected.
6) Data length (DLN)
Set the same data length as that of the host device to be connected. (When ladder communication is selected, the data length is fixed.)
7) Minimum response time (RP.T)
Set the time taken to respond to the host device after the UT350L controller receives
transmission data from it. The unit is 10 ms. The response time will be “communication
processing time + the set value of RP.T X 10” milliseconds.
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
Blank Page
<Toc><3. PC Link Communication>
3.PC Link Communication
3.1Overview
PC link communication protocol is one of the protocols used to communicate with devices
such as PCs, PLCs (sequencers), and graphic panels. Via this communication protocol,
these devices can exchange data with a UT350L controller by reading/writing the
controller’s internal registers (D registers and I relays).
Hereafter, PCs, PLCs (sequencers), and graphic panels shall be referred to as “host
devices.”
In PC link communication, a host device identifies UT350L controller with a communication
address, which ranges from 1 to 99. However, broadcasting, which requires no address
number, is possible with some of the commands. For more information, see subsection
3.2.2.
3-1
PC
Max. 1200 m; the maximum number of slave units: 31
UT350L controllers
Figure 3.1 Connection of PC Link Communication
The next section will discuss the configuration of commands and responses.
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
<T oc><3. PC Link Communication>
3.1.1Configuration of Commands
Commands sent from a host device to a UT350L controller consist of the following elements.
3-2
Number of bytes
Element
1
STX
(1)(8) (9)(2)(3)(4)(5)(6)(7)
2
Address number
(ADR)
2
CPU number
01
1
Time to wait
for response
0
3
Command
Variable length
Data corresponding
to command
Checksum
2
1
ETX1CR
(1)STX (Start of Text)
This control code indicates the start of a command. The character code is CHR$(2).
(2)Address Number (01 to 99)
Address numbers are used by a host device to identify which UT350L controller to communicate with. (ID number of the UT350L)
Adress Number = UT350L parameter (ADR) value
(3)CPU Number
This number is fixed to 01.
(4)Time to W ait for Response
This is fixed to 0.
(5)Command (See subsection 3.2.1.)
Specify a command to be issued from the host device.
(6)Data Corresponding to Command
Specify an internal register (D register or I relay), number of data items, UT350L parameter
values, or others.
(7)Checksum
In PC link communication with sum check, the ASCII codes of the text between STX and
the checksum are converted into hexadecimal values and added on a byte basis. Then the
lowermost byte of the added results is turned into ASCII code, and its lower byte is used as
the checksum.
This 2-byte space is unnecessary for PC link communication without sum check.
(8)ETX (End of Text)
This control code indicates the end of a command string. The character code is CHR$(3).
(9)CR (Carriage Return)
This control code marks the end of a command. The character code is CHR$(13).
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
<Toc><3. PC Link Communication>
NOTE
The control codes STX, ETX, and CR in commands are indispensable. Do not miss any of
them when you create a communication program for PC link communication. A communication failure will result if any of them are omitted or if the order is incorrect.
● Data Forms of Commands
The table below shows the data forms of D registers and I relays.
Table 3.1 Data Forms
Data typeData contentData form
PV high and low limits, target setpoints,
and others
Bias, deviation alarms, and others
Limit control types, alarm types, and others
* Parameter list of UT350L controller User’s Manual for information about data form.
Measuring range (EU) data
Measuring range span (EUS) data
Seconds, absolute values, and data
without unit*
Numeric data excluding the decimal
point
Numeric data excluding the decimal point
Absolute value excluding the decimal point
3-3
● Command Format for Communication
Example: When setting a target setpoint “50.0” to a UT350L controller , the host device
sends the value “500” as command data without the decimal point (this is true for both
settings 5.00 or 500).
Data to be sent from the host device: 500
Command data: 500
UT350L side
Target setpoint: 50.0
* The position of the decimal point for “500” is determined by the DP (decimal point position) parameter
of the UT350L controller.
Response data from
UT350L: 500
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
<T oc><3. PC Link Communication>
3.1.2Configuration of Response
Responses from a UT350L controller with respect to a command sent from the host device
consist of the elements shown below, which dif fer depending on the condition of communication - normal or failure.
1) With Normal Communication
When communication is carried out normally , the UT350L controller returns the character
string “OK” and, in response to read commands, also returns read-out data.
3-4
Number of bytes
Element1STX
Address number (ADR)2CPU number:012OK
2
Variable length
Parameter data
2
Checksum
2) In the Event of Failure
If communication is carried out abnormally , the UT350L controller returns the character
string “ER” and error codes (EC1 and EC2). (See subsection 3.2.4, Response Error
Codes.)
• No response is made in case of an error in address number specification or CPU
number specification.
• If a UT350L controller cannot receive an ETX contained in a command, a response may
not be made.
* As a measure against these situations, provide a timeout processing in the communica-
tion functions or communication programs of the host device.
Number of bytes
Element
1
STX
2
Address number
(ADR)
2
CPU number:
01
2ER2
EC12EC23Command2Checksum
1
ETX1CR
1
ETX1CR
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
<Toc><3. PC Link Communication>
3.2Communication with Host Device
In PC link communication, when specifying D registers or I relays (internal registers of
UT350L controller), you can use the numbers as is. The numbers of these internal registers
are in the following format:
•D registers:D**** (****: numeric value)
•I relays:I**** (****: numeric value)
Host devices to be connected to a UT350L controller are those capable of handling the PC
link communication protocol.
(1)Connectable graphic panels
Graphic panels that can be connected to a UT350L controller are listed below . However, it
may be possible to connect graphic panels other than the ones listed below .
Table 3.2 List of Graphic Panels Connectable
ProductNameNameRemarks
Pro-face by
Digital Electronics
Corporation
Note: For more information about Digital’s graphic panels, contact Digital Electronics Corporation.
(Be careful because the display device differs depending on the model.)
GP70 series
GP-J series
GP-230 series
GP-430 series
GP-530 series
Graphic control panel
High-speed graphic control panel
Medium-size graphic control panel
Advanced, high-speed graphic control panels
3-5
(Note)
(2)Communication with F A-M3 with UT-link module
No ladder communication program is required to communicate with FA-M3 with UT-link
module (Y okogawa PLC). The UT -link module’s function offers 2 modes, in which users can
exchange data without paying attention to the communication procedure. (For more information, see the user’s manual of UT-link module “IM 34M6H25-01E.”)
● User-specifiable mode:Always reads/writes the user-specified devices* of the
UT350L controller .
● Command mode: Accesses the devices* of the UT350L controller only when necessary.
*:“Device” here denotes the internal registers of the UT350L controller (D registers and I relays).
IM 05D01D21-10E 2nd Edition: Jul. 30, 2004-00
Loading...
+ 49 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.