Home

Model UT350L Limit Controller User`s Manual

image

Contents

1. An asterisk indicates that the number of writing actions is limited to 100 000 IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 11 Area for Retransmission Parameters Register name R W D Reg No Register name D1031 D1032 D1033 D1034 D1035 D1036 D1037 D1038 D1039 D1040 D1041 D1042 D1043 D1044 D1045 D1046 D1047 D1048 D1049 D1050 An asterisk indicates that the number of writing actions is limited to 100 000 IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 12 5 7 1 Data Area for Alarm Type Hysteresis Limit Control Type Selection Parameters Register No Category Description Remarks D0904 Time unit for duration time TMU D0915 to D0916 Alarm setting parameters to AL2 For alarm types see the User s Manual of UT350L D0919 to D0920 Alarm hysteresis to HY2 0 0 to 100 0 of measured input range span D0930 Restart mode R MD For details on the parameters see the User s Manual D0932 The way of confirmation DIS of UT350L P D0933 Limit control type selection HLLO D0934 Operating
2. 5 1 5 1 Syl eI 5 1 5 2 Interpretation of D Register Tables eren 5 1 5 3 Classification of D Registers 5 2 5 4 Process Data and User Area 5 3 5 4 1 Process Data Area Read only 5 4 5 4 2 AA AA en akuten 5 5 5 5 Alarm Setpoint Bias and Filter Parameters 5 6 5 5 1 Data Area for Alarm Setpoint Bias and Filter Parameters 5 7 5 6 SP Parameter 5 8 5 6 1 Data Area for SP Parameter 5 9 5 7 Alarm Type Limit Control Type Selection and Retransmission 5 10 5 7 1 Data Area for Alarm Type Hysteresis Limit Control Type Selection Paramete S micosis latina 5 12 5 7 2 Data Area for Retransmission and Key lock Parameters 5 12 5 8 PV Input Control Output and Communication Parameters 5 13 5 8 1 Data Area for PV Input and Communication Parameters 5 14 6 Functions and Use of Relays 6 1 6 1 IO p 6 1 6 2 Status SAYS iii 6
3. The following command reads the measured input value 00003 and control output value D0005 at address number 10 Command STX 10010WRR02D0003 D00058B ETX CR The measured input value 200 00C8 HEX and output value 50 0032 HEX are returned as the response to the above command Y Response STX 10010K00C80032FC ETX CR IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt 3 PC Link Communication gt 3 1 7 WRW Writes data into D registers and relays ona word by word basis in random order O Function Writes register information specified for each register into the registers specified in a random order by the specified number of words The number of words to be written at a time is 1 to 32 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command O Command Response for normal operation Number of Bytes 5 1 1 Command CPU r Register Comma Comma element number number of words number or space or space ADR 01 n 1 Write information is specified in a 4 digit character string 0000 to FFFF in a hexadecimal pattern ddddn Repetition of register numbers and write information of the specified number of words ddddn character string in a hexadecimal pattern n 1 to 32 Nu
4. User s Manual Model UT350L GREEN Limit Controller Communication Functions User s Manual IM 05D01D21 10E YOKOGAWA 4 IM 05D01D21 10E Yokogawa Electric Corporation 2nd Edition Blank Page lt Toc gt lt Rev gt Introduction 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 You 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 Bi Intended Readers 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 E 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 UTS50L User s Manual Installation Initial Setting and so on IM 05D01D21 01E to 03E Expl
5. 1 or 2 IM 05D01D21 10E Protocols available PC link communication Ladder communication 2nd Edition Jul 30 2004 00 Blank Page lt Toc gt lt 2 Setup gt 2 1 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 1 Setup 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 05E01B02 41E 2nd Edition Jul 30 2004 00 lt Toc gt lt 2 Setup gt 2 2 2 2 Wiring for Communication Connect the UT350L controller and the host device for communication The wiring proce dures and precautionary notes are as follows To avoid an electrical shock be sure to turn off the power supply source to the equip ment 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 1 Wiring to a Personal Computer Since general personal computers cannot directly be connec
6. No response A framing error or a parity error occurred A NOTE No response If you try to read data of a parameter number that is not in the D register table or that corresponds to a vacant cell in that table no error occurs and 0 is returned IM 05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 4 Ladder Communication gt 4 8 4 3 Communication with MELSEC By way of ladder communication a UT350L controller can exchange data via its internal registers with PLCs of suppliers other than Yokogawa Sections 4 2 and 4 3 explain how to implement ladder communication with a MELSEC A Series instrument product of Mitsubishi Electric Corp which is often used in ladder communication Example O System configuration MELSEC A Series Computer link unit used at MELSEC A Slot No Use either 1 or 2 below 1 A1SJ71UC24 R4 Computer link unit 2 A1SJ71C24 R4 DI unit RS 485 communication UT350L controller Address No 1 2 3 258 258 T Ez En Er IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 4 Ladder Communication gt 4 9 4 3 4 Preparing for Communication Provide wiring and set communication specifications 4 3 2 Wiring Connect the computer link unit of MELSEC A to the UT350L controller s communication terminals Communica
7. PC Link Communication gt 3 21 3 2 4 Response Error Codes Ox See Also Subsection 3 1 2 Configuration of Response for the structure of the response in the event of an error The error codes EC1 and detailed error codes EC2 of response are as follows Table 3 4 Error Codes EC1 Error code Meaning Command error Causes The command does not exist Command not executable Internal register specification error Specified register number does not exist In handling bit registers I relays on a word by word basis its specification is not correct Out of setting range A character other than O and 1 was used for bit setting A value other than 0000 to FFFF was specified in the word specification The start address specified for data loading saving is out of the address range Number of data error Specified number of bits or words is too large The number of data or registers specified and the number of parameters for them are inconsistent Monitor error An attempt was made to execute monitoring without specifying any device to be monitored BRS or WRS Parameter error Wrong parameter Sum error The sum does not match Internal buffer overflow Too much data was received Timeout between received characters Table 3 5 Detailed Error Codes EC2 Error code EC1 Meaning Internal register specification error Out of setting range N
8. Communication gt The PLC may receive the following responses in the event of error Table 4 4 Response in the Event of Error Error condition A non existing parameter number was sent Data sent from PLC 0101 0000 0000 0001 CRLF 0000 is the wrong parameter number Data PLC receives 0101 0000 0000 FFFF CRLF FFFF is returned Characters other than BCD codes were used in an element other than a station number 0101 0123 0000 000B CRLF 0101 0123 000B 0000 CRLF 0101 0123 0B00 0000 CRLF 0101 012B 0000 0000 CRLF 0101 An LF code 0 was used in an element other than a station number 0101 0123 0000 000A CRLF 0101 0123 000A 0000 CRLF 0101 0123 0 00 0000 CRLF 0101 010A 0000 0000 CRLF No response Specified station number does not match any of the controllers connected 0103 0123 0000 0000 CRLF 0001 0123 0000 0000 CRLF 3301 0123 0000 0000 CRLF No response The write data was outside the range 0101 0123 0011 9999 CRLF 9999 is the data outside the range 0101 0123 0011 0050 CRLF 0050 is the current setting of the parameter Wrong command length Command length is 10 bytes including CR and LF codes 0101 0123 0000 00 CRLF 0101 0123 00 0000 CRLF 0101 0 0000 0000 CRLF No response A timeout occurred when sending data Timeout 5 seconds No response Send buffer overflowed The buffer capacity is 199 bytes
9. D0380 D0331 D0381 D0332 D0333 D0382 D0383 D0334 D0384 D0335 D0385 D0336 D0386 D0337 D0387 D0338 D0388 D0339 D0389 D0340 D0390 D0341 D0391 D0342 D0392 D0343 D0393 D0344 D0394 D0345 D0395 D0346 D0396 D0347 D0397 D0348 D0398 D0349 D0399 D0350 An asterisk indicates that the number of writing actions is limited to 100 000 D0400 IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 9 5 6 1 Data Area for SP Parameter Register No Category IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 10 5 7 Alarm Type Limit Control Type Selection and Retransmission Parameters Area for Alarm Type and Limit Control Type Selection Parameters Register name R W D Reg No Register name D0951 D0952 D0953 D0954 D0955 D0956 D0957 D0958 D0959 D0960 D0961 D0962 D0963 D0964 D0965 D0966 D0967 D0968 D0969 D0970 D0971 D0972 D0973 D0974 D0975 D0976 D0977 D0978 D0979 D0980 D0931 D0981 D0932 ak D0982 D0933 D0983 D0934 g D0984 D0935 D0985 D0936 D0986 D0937 D0987 D0938 D0988 D0939 D0989 D0940 D0990 D0941 D0991 D0942 D0992 D0943 D0993 D0944 D0994 D0945 D0995 D0946 D0996 D0947 D0997 D0948 D0998 D0949 D0999 D0950 D1000
10. PC link communication when specifying D registers or relays internal registers of UT350L controller you can use the numbers as is The numbers of these internal registers are in the following format Dregisters D numeric value e Irelays pee 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 Product Pro face by GP70 series Graphic control panel Digital Electronics Corporation GP J series High speed graphic control panel GP 230 series Medium size graphic control panel GP 430 series Advanced high speed graphic control panels GP 530 series Note For more information about Digital s graphic panels contact Digital Electronics Corporation Be careful because the display device differs depending on the model 2 Communication with FA M3 with UT link module No ladder communication program is required to communicate with FA M3 with UT link module Yokogawa 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 infor mation see the user s manual of UT link
11. a graphic panel is used IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 4 5 4 1 Process Data Area Read only Some of the registers in this area 00001 to D0049 read only are designed to represent two or more events such as errors and statuses using combinations of bits within the register If any of the events shown in the following tables occur the corresponding bit is set to 1 The bit remains 0 if the event does not occur Note that bits with blank fields in the tables are not in use O Bit Configuration of D0001 ADERROR Input Error Bit Code Event 0 ADERR Input A D converter error 1 to 15 Bit Configuration of D0002 ERROR PV Error Bit Code Event 0 1 PVBO PV burnout error 2 RJCERR PV RJC error 3 4 PV over PV over scale 5 PV over PV under scale 6 to 15 O D0003 PV Measured input value D0004 CSP Current target setpoint SP O Bit Configuration of D0008 MOD Operation mode Bit Code Event 0 1 EXD 1 EXCEED 2 OUT Output Relay 1 on O off 3 to 15 Bit Configuration of D0011 ALM Alarm Status Bit Code Event 0 ALMI when alarm 1 is ON 0 when OFF 1 ALM2 when alarm 2 is ON 0 when OFF 2to 15 See Also User s Manual of UT350L IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 5 O Bit Configuration of D003
12. because this area is reserved for 16 bit register data used by graphic panels See Also Section 5 4 Process Data and User Area It is prohibited to read write data by communication from to the registers of blank cells in the register map tables If you attempt to do so the UT350L may not operate properly IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 3 5 4 Process Data and User Area Area for process data Register name R W D Reg No Register name D0001 ADERROR D0051 D0002 ERROR D0052 D0003 PV D0053 D0004 CSP D0054 D0005 D0055 D0006 D0056 D0007 D0057 D0008 MOD D0058 D0009 TIME D0059 D0010 MAX MIN D0060 D0011 ALM D0061 D0012 D0062 D0013 D0063 D0014 D0064 D0015 D0065 D0016 D0066 D0017 D0067 D0018 D0068 D0019 D0069 D0020 D0070 D0021 D0071 D0022 D0072 D0023 D0073 D0024 D0074 D0025 D0075 D0026 D0076 D0027 D0077 D0028 D0078 D0029 D0079 D0030 D0080 D0031 D0081 D0032 D0082 D0033 D0083 D0034 D0084 D0035 PARAERR D0085 D0036 D0086 D0037 D0087 D0038 D0088 D0039 D0089 D0040 D0090 D0041 D0091 D0042 D0092 D0043 D0093 D0044 D0094 D0045 D0095 D0046 D0096 D0047 D0097 D0048 D0098 D0049 D0099 D0050 D0100 DIA ADD AA DADA Shaded area User area You cannot use these registers when
13. of Bytes Command STX Address CPU Number Irelay Comma KA En element number i3 of bits or space or space ADR n Command continued 5 Irelay Checksum ETX number n Number of Bytes Response STX Address CPU OK dl dn Checksum ETX E element number mt ADR The response is O when the status is OFF or 1 when ON dn read data of the specified number of bits 1 to 32 dn 0 OFF dn 1 ON O Example Reading the statuses of alarms 1 and 2 of the UT350L with address number 05 The following command reads the statuses of alarm 1 10097 and alarm 2 10098 at address number 05 Command STX 05010BRR0210097 I00989D ETX CR In response to the command above the ON and OFF responses are returned for alarms 1 and 2 Response STX 05010K10C1 ETX CR pp Alarm 1 is ON and alarm 2 is OFF IM 05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 11 BRW Writes data into relays ona bit by bit basis in a random order Function Writes ON OFF statuses in the individual relays specified in a random order by the speci fied number of bits The number of bits to be written at a time is 1 to 32 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without the checksum do not includ
14. the 10th digit x10 Set to 0 xl Set to 0 0 x1 Sets the Ist digit IM 05D01D21 10E 2nd Edition Jul 30 2004 00 Blank Page lt Toc gt lt 5 Functions and Use of D Registers gt 5 1 5 Functions and Use of D Registers 5 1 Overview This section explains the functions and use of D registers D registers store parameter data flag data and process data of the UT350L controller You can readily use these internal data items by reading from or writing to the D registers You can use D registers to perform O Centralized control using a host device O Data exchange by reading writing data from to a host device 5 2 Interpretation of D Register Tables This section explains how to read the D Register Map tables in this chapter The numbers listed in the leftmost column are D register numbers 1 below Each register code name in the D Register Map tables represents a specific process data item operating parameter setup parameter or other data items such as a flag For details on the operating parameters and setup parameters see the user s manual of UT350L Name of D Register Map Register name D0001 ADERROR R 1 D register number Permission of read write by communication An asterisk in this column indicates that the number of writing actions is limited to 100 000 IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 2 5 3 Classi
15. 01 at address number 03 Command STX 03010WWRD0301 01 00C890 ETX CR OK is returned in response to the command above Response STX 03010K5E ETX CR IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 1 6 WRR Reads registers and relays ona word by word basis in random order O Function Reads the statuses of the individual registers on a word by word basis specified in a random order by the specified number of words The number of words to be read at a time is 1 to 32 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command O Command Response for normal operation Number of 2 2 Bytes 5 1 5 1 Command Address Number Register Comma Register Comma element number of words number orspace number or space ADR n 1 2 Register Checksum ETX CR number n Number of 2 Bytes Response Address CPU element number number ADR 01 The response is returned in a 4 digit character string 0000 to FFFF in a hexadecimal pattern ddddn character string in a hexadecimal pattern n 1 to 32 O Example Reading the measured input and control output values of the UT350L control ler with address number 10
16. 01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 3 The control codes STX CR in commands are indispensable Do not miss any of them when you create a communication program for PC link communication A communi cation failure will result if any of them are omitted or if the order is incorrect O Data Forms of Commands The table below shows the data forms of D registers and relays Table 3 1 Data Forms Data type Data content Data form PV high and low limits target setpoints Measuring range EU data Numeric data excluding the decimal and others point Bias deviation alarms and others Measuring range span EUS data Numeric data excluding the decimal point Limit control types alarm types and others Seconds absolute values and data Absolute value excluding the decimal point without unit Parameter list of UT350L controller User s Manual for information about data form O 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 Response data from UT350L 500 UT350L side Target setpoint 50 0 The position of the decimal point for 500 is determined by the DP decimal point posi
17. 0234 D0284 D0235 D0285 D0236 D0286 D0237 D0287 D0238 D0288 D0239 D0289 D0240 D0290 D0241 D0291 D0242 D0292 D0243 D0293 D0244 D0294 D0245 D0295 D0246 D0296 D0247 D0297 D0248 D0298 D0249 D0299 D0250 An asterisk indicates that the number of writing actions is limited to 100 000 D0300 05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 7 5 5 1 Data Area for Alarm Setpoint Bias and Filter Parameters Register No Category D0231 to D0232 Alarm setpoint parameters Al to A2 Alarm setpoints for alarm 1 to 2 For details on the D0243 to D0244 Computation parameters BS PV bias parameters User s Manual of UT350L FL PV filter IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 8 5 6 SP Parameter Area for SP Parameter Register name R W D Reg No D0351 Register name D0352 D0353 D0354 D0355 D0356 D0357 D0358 D0359 D0360 D0361 D0362 D0363 D0364 D0365 D0366 D0367 D0368 D0369 D0321 D0370 D0371 D0322 D0372 D0323 D0373 D0324 D0374 D0375 D0376 D0377 D0329 D0378 D0379 D0330
18. 04 00 lt Toc gt lt 2 Setup gt 2 3 2 2 2 Wiring 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 4 wire connection PLC or graphic panel UT350L UT350L RDB SDB PA O RDA SDA bad Terminating Terminating resistor resistor RDB 22001 4W ES SDA RDAC O SG SG E O SUU Communication cable Communication cable JIS Class 3 grounding grounding JIS Class 3 grounding grounding resistance of 1000 or less resistance of 1000 or less O 2 wire connection PLC or graphic panel UT350L UT350L SDB Terminating resistor 22001 4W SDA RDB RDA SG B Terminating Oj resistor A Il 22021 4W SG E ati voo Communication cable Communication cable JIS Class 3 grounding grounding JIS Class 3 grounding grounding resistance of 1000 or less resistance of 1000 or less IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 2 Setup gt 2 4 2 3 N
19. 1 6 3 A A na 6 2 Revision Informatio NI BITAG ANNA i IM 05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 1 Communications Overview gt 1 1 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 protocol Protocol specification PC link communication Without sum check With sum check Ladder communication Handshaking Table 1 2 Connectable Devices Communication protocol PC link communication Connectable device Personal computer Requirements RS 232C RS 485 converter Graphic panel PLC sequencer With serial communication module Ladder communication PLC sequencer With ladder communication module 1 1 Table 1 3 RS 485 Interface Interface Standard RS 485 Communication system 4 wire half duplex 2 wire half duplex Interface Specifications Baud rate 600 1200 2400 4800 9600bps Other specifications 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
20. 2 Dart Road Newnan GA 30265 1094 U S A Phone 1 770 253 7000 Facsimile 1 770 251 0928 Sales Branch Offices Texas Chicago Detroit San Jose YOKOGAWA EUROPE B V Headquaters Databankweg 20 3821 AL Amersfoort THE NETHERLANDS Phone 31 334 64 1611 Facsimile 31 334 64 1610 Sales Branch Offices Houten The Netherlands Wien Austria Zaventem Belgium Ratingen Germany Madrid Spain Bratislava Slovakia Runcorn United Kingdom Milano Italy Velizy villacoublay France Johannesburg Republic of South Africa YOKOGAWA AMERICA DO SUL S A Headquarters amp Plant Praca Acapulco 31 Santo Amaro Sao Paulo SP BRAZIL CEP 04675 190 Phone 55 11 5681 2400 Facsimile 55 11 5681 4434 YOKOGAWA ENGINEERING ASIA PTE LTD Head office 5 Bedok South Road Singapore 469270 SINGAPORE Phone 65 6241 9933 Facsimile 65 6241 2606 YOKOGAWA ELECTRIC KOREA CO LTD Seoul Sales office 395 70 Shindaebang dong Dongjak gu Seoul 156 010 KOREA Phone 82 2 3284 3000 Facsimile 82 2 3284 3019 YOKOGAWA TAIWAN CORPORATION Head office 17F No 39 Sec 1 Chung Hwa Road Taipei 100 TAIWAN Phone 886 2 2314 9166 Facsimile 886 2 2314 9918 YOKOGAWA AUSTRALIA PTY LTD Head office Centrecourt D1 25 27 Paul Street North North Ryde N S W 2113 AUSTRALIA Phone 61 2 9805 0699 Facsimile 61 2 9888 1844 YOKOGAWA INDIA LTD Head office 40 4 Lavelle Road Bangalore 560 001 INDIA Phone 91 80 227 1513 Facsi
21. 5 PARAERR Error in calibration values and parameters Bit Code Event 0 CALB E Calibration value error 10 5 6 SETUP Setup parameter error 7 8 PARA E Operation parameter error 9 to 11 12 EEP E EEPROM error 13 14 SYSTEM E System data error 15 542 User Area D0050 to D0100 User area Users can read write data from to the registers in this area However if a graphic panel is used in the system users cannot use this area because it is reserved for communication with the graphic panel 05DO1D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 6 5 5 Alarm Setpoint Bias and Filter Parameters Area for Alarm Setpoint Bias and Filter Parameters D0201 Register name R W D Reg No D0251 Register name D0202 D0252 D0203 D0253 D0204 D0254 D0205 D0255 D0206 D0256 D0207 D0257 D0208 D0258 D0209 D0259 D0210 D0260 D0211 D0261 D0212 D0262 D0213 D0263 D0214 D0264 D0215 D0265 D0216 D0266 D0217 D0267 D0218 D0268 D0219 D0269 D0220 D0221 D0270 D0271 D0222 D0272 D0223 D0273 D0224 D0225 D0274 D0275 D0226 D0276 D0227 D0277 D0228 D0229 D0278 D0279 D0230 D0280 D0231 D0281 D0232 D0233 D0282 D0283 D
22. Lrelay name Lrelay name No relay name I relay name I relay name ADERROR WwW mye ni N LI P pa HEN ON PVBO RJCERR N N PV over PV over N N SYSTEM E 6 3 User Area 721 to 784 User area You can read write data from to the area for I relays 721 to 784 via communication That is you can use the area freely without affecting the control function of UT350L IM 05D01D21 10E 2nd Edition Jul 30 2004 00 lt Int gt lt Toc gt Revision Information Title Model UT350L Limit Controller Communication Funcitons User s Manual Manual No IM 05D01D21 10E May 2001 1st Edition Newly published Jul 2004 2nd Edition Change of the company name Written by Yokogawa Electric Corporation Published by Yokogawa Electric Corporation 2 9 32 Nakacho Musashino shi Tokyo 180 8750 JAPAN 05E01B02 41E 2nd Edition Jul 30 2004 00 Blank Page YOKOGAWA 4 Yokogawa Electric Corporation YOKOGAWA ELECTRIC CORPORATION Network Solutions Business Division 2 9 32 Nakacho Musashino shi Tokyo 180 8750 JAPAN Phone 81 422 52 7179 Facsimile 81 422 52 6793 Sales Branch Offices Tokyo Nagoya Osaka Hiroshima Fukuoka YOKOGAWA CORPORATION OF AMERICA Headquaters
23. ains the basic operation of the UT350L controller E 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 b 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 Media No IM 05D01D21 10E CD 2nd Edition Jul 2004 YK IM05D01D21 10E 2nd Edition Jul 30 2004 00 All Rights Reserved Copyright O 2001 Yokogawa Electric Corporation lt Toc gt lt Rev gt Safety Precautions The following symbol is indicated on the controller to ensure safe use user s manual in order to avoid the risk of injury or death of personnel or damage to the This symbol on the controller indicates that the operator must refer to an explanation in
24. ation Parameters 2 4 3 PC Link Communication 3 1 3 1 eu seca acct iii iii 3 1 3 1 1 Configuration of Commands sse 3 2 3 1 2 Configuration of Response 3 4 3 2 Communication with Host Device eere 3 5 3 2 1 Listof Command S abro xs 3 6 3 2 2 Specifying 1 3 7 3 2 3 COMMANAS a ic n 3 8 3 2 4 Response Error Codes 3 21 4 Ladder Communication nern 4 1 4 1 sau on 4 1 4 1 1 Configuration of Commands sse 4 2 4 1 2 Configuration of Response 4 3 4 2 Communication with 4 4 4 2 1 Reading Data 4 5 4 2 2 Wating Dada id 4 6 4 2 3 Response Error Codes 4 7 4 3 Communication with MELSEC uunsssssnnnnnannnnnannnnnnnnnannnnnnnnnnnnnnnnnnnnnnnnnnannnnn 4 8 4 3 1 Preparing for Communication seen 4 9 4 3 2 lun a 4 9 4 3 3 Setting Communication Specifications 4 10 IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Int gt lt Rev gt 5 Functions and Use of D Registers
25. by the BRM command after the relay numbers are specified with this command When the volume of data is large and you wish to increase the communication rate it is effective to use a combination of the BRS and BRM commands rather than the BRD command If the power supply is turned off the specified relay numbers will be erased The number of registers to be specified at a time is 1 to 32 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of Bytes 2 1 3 1 Command CPU Irelay Comma Irelay Comma element number number number or space number or space ADR 01 1 2 Command continued 5 Irelay number Number of Bytes Response STX Address OK Checksum ETX CR element number ADR O Example Monitoring the stop status of the UT350L controller with address number 05 The following command monitors the stop status 10067 at address number 05 This command is used simply for specifying registers Command STX 05010BRS011006754 ETX CR is returned in response to the command above Response STX 05010K60 ETX CR IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Com
26. dder commu nication 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 IM05D01D21 10E 2nd Edition Jul 30 2004 00 Blank Page lt Toc gt lt 3 PC Link Communication gt 3 1 3 PC Link Communication 3 1 Overview 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 registers and 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 UT350L controllers Figure 3 1 Connection of PC Link Communication The next section will discuss the configuration of commands and responses IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 2 3 1 1 C
27. dder communication is selected 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 IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 2 Setup gt 2 5 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 num ber 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 Legal 268 lt rn CD EU T E EZ Oe Ce Ee MA ADR 1 ADR 50 ADR 10 4 Parity PARI 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 la
28. display selection OP SL 5 7 2 Data Area for Retransmission and Key lock Parameters D1013 to D1015 Retransmission output setting RET to RTL For details on the parameters see the User s Manual parameters of UT350L D1036 Key lock setting parameters LOCK IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 13 5 8 PV Input Control Output and Communication Parameters Area for PV Input and Communication Parameters Register name R W D Reg No Register name D1281 D1282 D1283 D1284 D1285 D1286 D1287 D1288 D1289 D1290 D1291 D1292 D1293 D1294 D1295 D1296 D1297 D1298 D1299 D1300 An asterisk indicates that the number of writing actions is limited to 100 000 IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 5 Functions and Use of D Registers gt 5 14 5 8 1 Data Area for PV Input and Communication Parameters Register Category D1201 to D1210 PV input parameters IN to RJC For details on the parameters see the User s Manual of UT350L D1247 to D1253 RS 485 communication PSL to RP T parameters IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 6 Functions and Use of Relays gt 6 1 6 Functions and Use of Relays 6 1 Overview Th
29. e see the User s Manual of each UT350L controller IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 4 Ladder Communication gt 4 11 O Transmission settings of MELSEC A Set the switches of the computer link unit as shown below in steps 1 to 3 MELSEC A sequencer 1 Mode switch 2 Transmission spec switches BA 2 3 Station number switches rb L 1 N Communication setting switches 1 Mode switch MODE Description 0to3 Disabled 4 Set to 4 4 Handshaking mode Mode 4 sets the following 4 eae rata 9800 Sps 8 Format 4 protocol mode MODE Stop bit 1 9 to E Disabled Data length 1 F MELSEC test mode 2 Transmission specification switches E Not used for communication with a UT350L controller O0 2308 59 99 RO NG 12 a Bro Switch liem Setting No ON OFF 01 Not used 02 Link selection Computer link Multi link 03 Not used 04 Write in RUN mode Enabled Disabled Communication rate bps 300 600 2400 4800 9800 19200 Disabled 05 OFF ON OFF OFF ON OFF ON 06 OFF OFF ON OFF OFF ON ON 07 OFF OFF OFF ON ON ON ON 08 Data bit length 8 bits 7 bits 09 Parity bit Yes No 10 Parity bit type Even Odd 11 Stop bit selection 2 bits 1 bit 12 Sum check Yes No J 3 Station number switches 0 x10 Sets
30. e following elements Number of Bytes 1 1 2 2 Number of BCD digits 2 2 4 4 Station number CPU Parameter Read write data number number 01 1 2 3 4 6 6 7 8 9 Element 1 Station Number 01 to 99 The station number is used by the PLC to identify which instrument to communicate with ID number of UT350L controller 2 CPU Number This number is fixed to 01 3 Parameter number For D registers 4 digit BCD data of a D register number with its leading character D removed 4 0 This is fixed to O 5 0 This is fixed to 0 6 R W 0 Read 1 Write 7 0 Positive data 1 Negative data 8 Read write data For read operation the number of data items to be read 64 at maximum For write operation setting data with a 4 digit BCD value excluding the decimal point 9 CR LF These control codes mark the end of acommand The character codes for CR and LF are CHR 13 and CHR 10 respectively IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 4 Ladder Communication gt 4 3 O Data Forms of Commands The table below shows the data forms of D registers Table 4 1 Data Forms Data type Data content Data form PV high and low limits target setpoints and oth Measuring range EU data Numeric data not including the deci ers mal point Bias deviation alarms and others Measuring range span EUS data Numeric da
31. e the 2 byte checksum element in the command Command Response for normal operation Number of Bytes 1 Command CPU Comma element number number or space ADR 01 1 Comma or space number or space n Write information is 0 to set OFF or 1 to set ON dn write data of the specified number of bits n 1 to 32 dn 0 OFF dn 1 ON Number of Bytes Response STX Address CPU OK Checksum ETX CR element number 01 Comma or space 05 to ON OFF OFF and ON O Example Setting four user defined flags of the UT350L controller with address number The following command sets the four user defined flags 10721 10722 10723 and 10724 at address number 05 to ON OFF OFF and ON respectively see subsection 3 4 2 OK is returned in response to the command above Response STX 05010K60 ETX CR Command STX 05010BRW0410721 1 10722 0 10723 0 10724 18D ETX CR Note The user defined flags 1 relays are flags that the user can freely read write For user s read write accessible areas IM 05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 1 2 BRS Specifies relays to be monitored on a bit by bit basis O Function Specifies the numbers of relays to be monitored on a bit by bit basis Note that this com mand simply specifies relays Actual monitoring is performed
32. fication of D Registers E Classification of D Register Map Tables The table below outlines how the D registers are classified by their numbers in the D Register Map tables Table 5 1 Classification of D Registers Register No Area and data categories Description Reference D0001 to D0049 Process data area Note 1 Data displayed for operation PV SP and others Section 5 4 D0050 to D0100 User area Note 2 If a graphic panel is used this area is Section 5 4 represented by shaded cells used for communication with the in the table graphic panel D0101 to D0230 Cannot be used D0231 to D0256 Operating parameters SP and Alarm setpoint parameters SP Al A2 BS FL H Section 5 5 Note 1 Section 5 6 D0257 to D0900 Cannot be used D0901 to D0903 Setup parameters Note 1 Cannot be used D0904 to D1253 PV input alarm type retransmission IN AL HY PSL etc Section 5 7 output and communication parameters Section 5 8 Note 1 Data for process values operating parameters and setup parameters are stored in the types EU EUS 96 or ABS without the decimal point indicated in the Operating Parameter Lists and Setup Parameter Lists of the user s manual of UT350L The OFF and ON states are represented by 0 and 1 respectively D registers D0001 to D0049 are read only Note 2 When communicating with a graphic panel do not write to or read from this area D0050 to D0100
33. ication gt 3 7 3 2 2 Specifying Broadcast Broadcast addressing allows the corresponding multiple UT350L controller to receive the command 1 In the command specify the broadcast address in Table 3 3 and execute it 2 Broadcast addressing works independently of the communication address of the controller 3 Broadcast addressing is only applicable to write commands 4 No response is returned when broadcast addressing is used Broadcast data No E from slaves Higher level device master Wy Max 1200 m the maximum number of slaves 31 Figure 3 2 Broadcasting Table 3 3 Address Numbers Address No Corresponding devices BA All models of GREEN Series 01 to 99 Device with a corresponding address number IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 8 3 2 3 Commands BRD Reads relays ona bit by bit basis Function Reads the ON OFF statuses of a sequence of contiguous relays by the specified number of bits starting at a specified relay number The number of bits to be read at a time is 1 to 256 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without checksum do not include the 2 byte checksum element in the command Command Response for normal operation N
34. is Set register numbers as shown below D register 4 digit BCD value of the register number with removed PLCs that can communicate with UT350L controllers are those capable of using the ladder communication protocol PLCs that can be connected to a UT350L controller are listed below Table 4 2 List of PLCs that can be connected Supplier Product Requirement Yokogawa Electric FA500 With communication module RZ91 ON Note Corporation FA M3 With communication module F3RZ91 ON MELSEC A series and With computer link unit Mitsubishi Electric others Corporation or others PLCs that can communicate With computer link unit in handshaking mode Note For more information about the PLCs listed above contact the supplier For details see the instruction manual of the PCL to be connected IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 4 Ladder Communication gt 4 5 4 2 1 Reading Data Shown below are the configurations of commands and responses when data in a UT350L controller is read by the PLC O Commands Number of bytes Number of BCD digits Element Station number CPU Parameter Number of data ral number items to read n O Responses Number of bytes Number of BCD digits 4 2 Element Station number Parameter number Data of the parameter number Second data first data nth da
35. is chapter explains the functions and use of relays relays contain status information of errors operation and alarms Contents of relays can be read only by means of communication using a host device Note that the relays have the same information as the D registers but with relays some of the information is read only You can use relays to perform O Centralized monitoring through a display created with a host device 6 2 Status Relays relay No 17 to 32 33 to 48 49 to 64 66 and 67 68 to 96 The configuration of status relay area is as shown below Table 6 1 Classification of Relays Category Description Remarks Status Input error same as D0001 PV error same as D0002 Do not use Error in calibration values or parameters same as D0035 Do not use EXCEEDED flag and OUT lamp flag Alarm flag 99 to 720 Do not use 721 to 784 A NOTE User definable area When specifying an relay number for communication begin the number with the character I For example set 10019 to specify the RJCERR relay relay No 0019 Inthe area for relays 1 to 720 it is prohibited to write data to relays with blank cells in relay map tables If you attempt to do so the UT350L may not operate properly IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 6 Functions and Use of Relays gt 6 2 Status Area relay name
36. l 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 1 4 WRD Reads D registers relays ona word by word basis O Function Reads a sequence of contiguous register information on a word by word basis by the specified number of words starting at the specified register number The number of words to be read at a time is 1 to 64 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command O Command Response for normal operation Number of Bytes 2 2 1 2 2 Command element Number of Bytes Address number ADR 2 CPU number 01 2 Comma or space Number of words n Checksum 2 Response element Address number ADR CPU number 01 Checksum The response is returned in a 4 digit character string 0000 to in a hexadecimal pattern dddn Read data of the specified number of words ddddn character string in a hexadecimal pattern n 1to 64 above Command STX 03010WRDD0003 0175 ETX CR Response STX 03010K00C839 ETX CR O Example Reading a measured input value of the UT350L controller with address number 03 The following command reads the measured input value 00003 at address number 03 The meas
37. low includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command O Command Response for normal operation Number of Bytes Command Address CPU WRS Number Register Comma an element number of words DM or space or space ADR n Command continued 5 Register number n Number of Bytes 2 Response Address element number Example Monitoring the measured input value of the UT350L controller with address number 01 The following command monitors the measured input value 00003 at address number 01 This command simply specifies the registers Command STX 01010WRS01D000356 ETX CR CPU number o 1 Lp register number D0003 is returned in response to the command above Response STX 01010K5C ETX CR IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 1 9 WRM Monitors the D register relays ona word by word basis O Function Reads the information of the registers that have been specified in advance by the WRS command Before executing this command the WRS command must always be executed to specify which registers are to be monitored If no register has been specified error code 06 is returned This error also occurs if the power supply is turned off For the format of response in the event of fail
38. mber of Bytes Response STX Address OK Checksum ETX CR element O Example Writing 20 0 into the target setpoint and 15 0 into the alarm 1 setpoint of the UT350L controller with address number 10 The following command writes 20 0 into the target setpoint DO301 and 15 0 into the alarm 1 setpoint DO915 at address number 10 Command STX 10010WRW02D0301 00C8 D0915 00969D ETX CR Target setpoint 200 a p Alarm setpoint 150 OK is returned in response to the command above Response STX 10010K5C ETX CR IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 1 8 WRS Specifies the D registers relays to be monitored on a word by word basis O Function Specifies the numbers of the registers to be monitored on a word by word basis Note that this command simply specifies the registers Actual monitoring is performed by the WRM command after the register numbers are specified by this command If the volume of data is large and you wish to increase the communication rate it is effective to use a combination of the WRS and WRM commands rather than the WRD command If the power supply is turned off the register numbers specified will be erased The number of words to be specified at a time is 1 to 32 For the format of response in the event of failure see subsection 3 1 2 The command shown be
39. mile 91 80 227 4270 LTD YOKOGAWA ELECTRIC Grokholskiy per 13 Build 2 4th Floor 129010 Moscow RUSSIA FEDERATION Phone 7 095 737 7868 Facsimile 7 095 737 7869
40. module IM 34M6H25 01E O User specifiable mode Always reads writes the user specified devices of the UT350L controller O Command mode Accesses the devices of the UT350L controller only when neces Device here denotes the internal registers of the UT350L controller D registers and relays IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt gt lt 3 PC Link Communication gt 3 6 3 2 1 List of Commands The following are the lists of commands available in PC link communication The details of them are explained in the description of each command 1 Bit basis Access Commands Dedicated to Relays Command Description Bit basis read Number of bits handled 1 to 256 bits Bit basis write 1 to 256 bits Bit basis random read 1 to 32 bits Bit basis random write 1 to 32 bits Specifies I relays to be monitored on a bit by bit basis 1 to 32 bits Bit basis monitoring 2 Word basis Access Commands Command Description Word basis read Number of words handled 1 to 64 words Word basis write 1 to 64 words Word basis random read 1 to 32 words Word basis random write 1 to 32 words 3 Information Commands Specifies internal registers to be monitored on a word by word basis Word basis monitoring 1 to 32 words IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Commun
41. munication gt 3 1 3 BRM Monitors relays ona bit by bit basis O Function Reads the ON OFF statuses of the relays that have been specified in advance by the BRS command Before executing this command the BRS command must always be executed to specify which relays are to be monitored If no relay has been specified error code 06 is returned This error also occurs if the power supply is turned off For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of Bytes Address CPU element number number ADR 01 Number of 2 Bytes Response Address CPU element number number ADR 01 The response is 0 when the status is OFF and 1 when ON dn read data of the number of bits specified by the BRS command n 1 to 32 dn 0 OFF dn 1 ON Example Monitoring the stop status of the UT350L controller with address number 05 This command reads the statuses of the relays specified by the BRS command Command STX 05010BRMD7 ETX CR The ON OFF status of the I relay is returned in response to the command above Response STX 05010K160 ETX CR The I relay is ON IM 05D01D21 10E 2nd Edition Ju
42. n orderto 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 Modification of the product is strictly prohibited Reverse engineering such as the disassembly or decompilation of software is strictly prohibited SDB IM05D01D21 10E 2nd Edition Jul 30 2004 00 Blank Page lt Int gt lt Rev gt Toc i Model UT350L Limit Controller User s Manual 05D01D21 10E 2nd Edition MERON aaa i 1 Communications Overview 1 1 1 1 Interface Specifications 1 1 2 SQUID pia ANA H 2 1 2 1 Gc 2 1 2 2 Wiring for Communication 2 2 2 2 1 Wiring to a Personal Computer 2 2 2 2 2 Wiring to a PLC Sequencer or Graphic Panel 2 3 2 3 Notes on Setting Communication Parameters 2 4 2 3 1 Procedure to Set Communication Parameters 2 4 2 3 2 Description of Communic
43. nt number number orspace of bits or space ADR 01 n Write information is 0 to set OFF or 1 to set ON dn write data of the specified number of bits 1 to 256 dn 0 OFF dn 1 ON Number of Bytes Response STX Address CPU OK Checksum ETX EN element number is ADR O Example Setting the user defined flag of the UT350L controller with address number 01 to ON The following command writes ON into the user defined flag 10865 at address number 01 Command STX 01010BWRIO0865 001 113 ETX CR Note The user defined flags 1 relays are flags that the user can freely read write For user s read write accessible areas see subsection 3 4 2 OK is returned in response to the command above Response STX 01010K5C ETX CR IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 1 0 BRR Reads relays ona bit by bit basis in a random order Function Reads the ON OFF statuses of the individual relays specified in a random order by the specified number of bits The number of bits to be read at a time is 1 to 32 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes a checksum function When performing commu nication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number
44. onfiguration of Commands Commands sent from a host device to a UT350L controller consist of the following ele ments Number of bytes Variable length Data corresponding Element to command Checksum 0 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 commu nicate with ID number of the UT350L Adress Number UT350L parameter ADR value 3 CPU Number This number is fixed to 01 4 Time to Wait for Response This is fixed to O 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 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 05D
45. onse in the event of failure see subsection 3 1 2 O Command Response for normal operation Number of Bytes i Command Address CPU Response element number number time ADR Number of 2 8 4 4 Bytes Response Address Model code Version and 0001 Note 4 element number LC350 0L1 revision numbers Note 3 ADR Note 1 Note 2 Response continued 4 4 Note 5 0000 Checksum ETX Note 6 Note 1 Model name and options of UT350L Controller Model code of UT350L LC350 O 0 No option 1 With communication Note 2 Version and revision numbers ROO V01 0 Space blank Revision number Version number Note 3 Valid in Non user specifiable mode The value in this field is the first read register number which is 0001 for all models Note 4 Valid in Non user specifiable mode The value in this field is the number of registers read in Non user specifiable mode 0008 for UT350L Note 5 Valid in Non user specifiable mode The value in this field is the first write register number 0001 for UT350L Note 6 Valid in Non user specifiable mode The value in this field is the number of registers written in Non user specifiable mode which is 0000 for all models of the convenient modes used when communicating with FA M3 with UT link module See section 3 2 IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3
46. otes on Setting Communication Parameters This section describes the parameters that set up the communication functions and their setting ranges 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 1 Procedure 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 Table 2 3 1 Protocol by Protocol Default Parameter Settings Communication protocol 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 2 3 2 Description of Communication Parameters Table 2 3 2 Communication Parameters of UT350L controller Parameter name Parameter code Setting range Protocol selection PC link communication 0 Without sum check 1 With sum check Ladder communication 2 Ladder communication Address 1 to 99 Baud rate 600 1200 2400 4800 9600 bps Parity NONE no parity EVEN ODD Stop bit 1 2 bit Data length 7 8 bi Minimum response time 0 to 10 x10 ms 1 Data length is fixed at 8 bits for la
47. ta Example Reading a measured input value of a UT350L controller with station number 01 The following command reads the measured input value 00003 at station number 01 Command 01010003000000010D0A In response to the command above the measured input value 200 is returned Response 01010003000002000D0A EE 0200 has been returned 05DO1D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt 4 2 2 Writing Data lt 4 Ladder Communication gt 4 6 Shown below are the configurations of commands and responses when data is written to a UT350L controller from the PLC Commands Number of bytes 1 1 2 Number of BCD digits 2 2 Element Station number O Responses Number of bytes CPU number 01 Parameter number 2 Number of BCD digits 4 Element Station number Parameter number station number 01 Command 01010301001002000D0A O Example Writing 200 to the target setpoint 1 value of a UT350L controller with The following command writes 200 to the target setpoint 1 D0301 at station number 01 In response to the command above the following response is returned Target setpoint 1 value is 200 Response 01010301001002000D0A E 0200 has been returned IM 05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt 423 Response Error Codes lt 4 Ladder
48. ta not including the deci mal point Limit control types alarm types and others Seconds absolute values and data Absolute value not including the dec without unit imal point Parameter list of UT350L controller User s Manual for information about data form O Command Format for Communication Example When setting the target setpoint 50 00 to a UT350L controller the PLC sends the value 5000 as command data without the decimal point this is also true for both settings 5 000 or 500 0 Data to be sent from the PLC 5000 Response data from a UT350L Command data 5000 controller 5000 UT350L controller side Target setpoint 50 00 The position of the decimal point for 5000 is determined by the DP decimal point position parameter of the UT350L controller 4 1 2 Configuration of Response Response from a UT350L controller with respect to a command sent from the PLC consists of the elements shown below Number of Bytes Number of BCD digits Station number Parameter Read write data number Element When responding to a data read command the length of this part varies 64 data items at maximum IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 4 Ladder Communication gt 4 4 4 2 Communication with PLC With ladder communication you cannot specify D registers internal registers of UT350L controller by using their numbers as
49. ted 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 4 wire connection O TD PC Terminating resistor 22021 4W O RD O RD O SHIELD RS 232C straight cable Z 101HE UT350L UT350L JIS Class 3 grounding SDB en SDA 2 RDB RDA 5 SG e grounding resistance Communication cable of 1002 or less JIS Class 3 grounding JIS Class 3 grounding Communication cable grounding resistance grounding resistance of 1000 or less of 1000 or less O 2 wire connection ML1 UT350L UT350L B SDB 5 Terminating resistor Terminating resistor 22001 4W Ho SDA 22001 4W S RDB EEE RS 232C Communication cable Communication cable straight cable JB JIS Class 3 grounding JIS Class 3 grounding JIS Class 3 grounding grounding resistance grounding resistance grounding resistance of 1000 or less of 1002 or less of 1000 or less Note Z 101HE and ML1 _ are the converters of Sharp Corporation and Yokogawa Electric Corporation respectively You can also use other RS 232C RS 485 converters Before you use another converter check its electrical specifications 05D01D21 10E 2nd Edition Jul 30 20
50. 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 Indicates that operating the hardware or software in a particular manner may damage it or result in a system failure IMPORTANT Draws attention to information that is essential for understanding the operation and or features of the controller Force Majeure Yokogawa 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 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 Be sure to use the spare parts approved by Yokogawa when replacing parts or consumables Use this software with one specified computer only You must purchase another copy of the software for use on each additional computer Copying this software for purposes other than backup is strictly prohibited Store the floppy disk s original medium or media containing this software in a secure place 05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt Rev gt Ii E Regarding Protection Safety and Prohibition Against Unauthorized Modification 1 I
51. tion parameter of the UT350L controller IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 4 3 1 2 Configuration of Response Responses from a UT350L controller with respect to a command sent from the host device consist of the elements shown below which differ depending on the condition of communi cation 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 Number of bytes 1 2 2 2 Variable length 2 1 1 Element STX Address number ADR CPU number 01 OK Parameter data Checksum ETX CR 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 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 2 Element IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 5 3 2 Communication with Host Device In
52. tion n terminals of Terminating resistor Communication terminals Communication terminals Communication terminals MELSEC A i of GREEN Series of GREEN Series of GREEN Series 3 SDA SDB Terminating resistor RDA 33001 4W RDB SG Shield JIS Class 3 grounding JIS Class 3 grounding JIS Class 3 grounding grounding resistance grounding resistance grounding resistance of 1000 or less of 1000 or less of 1000 or less The terminating resistor ratings are 220 W 1 4W for UT350L controllers and 330 W 1 4W for MELSEC A instruments The largest terminating resistor which is 330 W 1 4W should be provided IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 4 Ladder Communication gt 4 1 0 4 3 3 Setting Communication Specifications After wiring is finished set the same communication specifications at both the UT350L and MELSEC A s computer link unit O Communication settings of UT350L Communication settings are made to the software Call up the setup parameters under the R485 menu and set them up Parameter name Setting Remarks Protocol selection 2 ladder communication Must be set to 2 to perform ladder communication Communication rate 4 9600 0 600 1 1200 2 2400 3 4800 4 9600 bps Parity 1 EVEN 0 NONE 1 EVEN 2 ODD Stop bit 1 2 Data length 7 8 Minimum response time 0 to 10 x10 ms For the operation procedur
53. umber of Bytes Command STX Address Irelay Comma Number element number or space of bits n Number of 2 Bytes Response Address element number ADR The response is 0 when the status is OFF or 1 when ON dn read data of the specified number of bits n 1 to 256 dn 0 OFF dn 1 ON Example Reading the status of alarm 1 of the UT350L controller with address number 01 The following command reads the status of alarm 1 10097 at address number 01 Command STX 01010BRDI0097 00140 ETX CR The following response is returned with respect to the above command Alarm 1 is ON Response STX 01010K18D ETX CR Alarm has been ON since 1 was returned IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 9 BWR Writes data into relays ona bit by bit basis O Function Writes ON OFF data into a sequence of contiguous relays by the specified number of bits starting at a specified relay number The number of bits to be written at a time is 1 to 256 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes a checksum function When performing commu nication without checksum do not include the 2 byte checksum element in the com mand Command Response for normal operation Number of Bytes Command 5 CPU Comma Number Comma eleme
54. umber of data error Parameter error No terminal character or ETX is received Detailed error code EC2 Indicates the parameter number where an error occurred HEX This is the number of a parameter in sequence that first resulted in an error when counted from the leading parameter Error in internal register Example specification y STX 01010BRW 03 10097 1 10098 0 A00502 0 Parameter number 1 2 3 4 5 6 In this case EC1 03 and EC2 06 For EC1 error codes other than those noted above EC2 has no meaning IM05D01D21 10E 2nd Edition Jul 30 2004 00 Blank Page lt Toc gt lt 4 Ladder Communication gt 4 1 4 Ladder Communication 4 1 Overview By using ladder communication you can easily perform communication between a PLC sequencer and a UT350L controller This kind of communication allows for the reading writing of D registers internal registers of UT350L controller In ladder communication a PLC identifies each instrument by its station number which ranges from 1 to 99 PLC sequencer 1200 the maximum number of slave units 31 Figure 4 1 Connecting with Ladder Communication IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 4 Ladder Communication gt 4 2 4 1 1 Configuration of Commands Commands sent from a PLC consist of th
55. ure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command Command Response for normal operation Number of Command STX Address CPU O WRM Checksum ETX CR element number number ADR 01 Number of Bytes 2 Response Address CPU element number number ADR 01 The response is returned in a 4 digit character string 0000 to in a hexadecimal pattern ddddn Read data of the number of words specified by the WRS command ddddn character string in a hexadecimal pattern n 1 to 32 O Example Monitoring the measured input value of a UT350L controller with address number 01 The following command monitors the measured input value D0003 at address number 01 This command reads the status of the register specified by the WRS command Command STX 01010WRMES ETX CR CPU number 01 The measured input value 200 00C8 HEX is returned in response to the command above Response STX 01010K00C837 ETX CR El Measured input value 200 05DO1D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 20 INF Reads the model version and revision information O Function Reads the model code version number and revision number of the UT350L controller For the format of resp
56. ured input value 200 00C8 HEX is returned in response to the command IM05D01D21 10E 2nd Edition Jul 30 2004 00 lt Toc gt lt 3 PC Link Communication gt 3 1 5 WWR Writes data into D registers relays ona word by word basis O Function Writes information into a sequence of contiguous registers on a word by word basis by the specified number of words starting at the specified register number The number of words to be written at a time is 1 to 64 For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum element in the command O Command Response for normal operation Number of 2 Bytes Command Address CPU Comma Number Comma element number number or space of words or space ADR 01 n Checksum ETX CR Write information is specified in a 4 digit character string 0000 to FFFF in a hexadecimal pattern dddn Write data of the specified number of words ddddn z character string in a hexadecimal pattern n 1 to 64 Number of Bytes Response STX Address CPU OK Checksum ETX CR element number number ADR 01 O Example Writing 200 into the target setpoint of the UT350L controller with address number 03 The following command writes data 200 00C8 HEX into the target setpoint DO3

Download Pdf Manuals

image

Related Search

Related Contents

Installation/startup instruction (Multilingual)  Mini Tens F  Prime-Line F 2644 Instructions / Assembly  TR2 LAUFBAND - Migros  Copropriétaires : ,, , vos droits et devoirs c°pr°pfläe  The Hive Specification - Co  CertiFiber™  Sony UP-D75 User's Manual  User Manual - Rock Centrum  user guide CEDO  

Copyright © All rights reserved.
Failed to retrieve file