Home
User`s Manual Model UT150L Communication Functions
Contents
1. 0 1 0 1 5 0 P 1 Q 2 2 R 3 3 S 4 4 T 5 5 U 6 6 V 7 7 W 8 8 x 9 9 Y A Z B C Y D E F Note SP 20 space A DEL 7F control code Control codes Character codes IM 05C01E22 10E App 1 App 2 IM 05C01E22 10E Revision Record O Manual No IM 05CO1E22 10E 3rd Edition Title Model UT150L Communication Functions Edition Date Revised Item First Oct 2000 Newly published Second Sep 2003 Correct Third Jun 2004 Change of the company name Written by Yokogawa Electric Corporation Published by Yokogawa Electric Corporation 2 9 32 Nacacho Musashino shi Tokyo 180 8750 JAPAN EE 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 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
2. Bit Code Event 0 ALM1 st 1 if alarm 1 is on or 0 if off 1 ALM2 st 1 if alarm 2 is on or 0 if off 2 0 3 0 4 PV over st PV above the upper limit of scale 5 PV over st PV below the lower limit of scale 6 BO st Burn out error 7 0 8 SYSTEM E st Error in system data 9 CALB E st Error in calibrated values 10 PARA E st Error in operating parameters 11 0 Error in automatical calibration of valve position 12 ADERR st Error in A D Converter 13 RJCERR st RJC error in PV 14 EEP E st Error in EEPROM 15 0 O D0002 Register PV Measured Input Value O D0003 Register CSP Currently used Target Setpoint O D0009 Register TIM Duration Time Example The reading for one hours 38 minutes and 57 seconds is given as 5 937 seconds O D0010 Register MOD Limit Control Status Bit Code Event 0 0 1 EXD st 0 Not extend 1 Extend 2 OUT st 0 Relay off Lamp on 1 Relay on Lamp off 3 to 15 0 O D0101 and D0102 Registers Al and A2 Alarm or Timer Setpoints If either 23 or 24 is set in the AL1 and AL2 registers the value is used as the setpoint for the timer in units of seconds If a value other than 23 and 24 is set it is used as the alarm setpoint O D120 Register CSP1 Target Setpoint for writing via Communication Only The CSP1 parameter is a target setpoint for use via communication only and is effective only if the SP1 parameter is selected Use
3. O Parity PRD 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 O Stop bit STP Set the same stop bit as that of the host device to be connected O Data length DLN Set the same data length as that of the host device to be connected When MODBUS communication PSL 3 or 4 is chosen in protocol selection the data length is fixed IM 05C01E22 10E 1 3 1 4 IM 05C01E22 10E Chapter 2 Communication Specifications 2 Communication Specifications The RS 485 communication interface has the PC link communication and the MODBUS communica tion Table 2 1 UT150L Communication Protocol Communication Hardware 2 wire RS 485 communication system Terminal Terminal numbers 3 5 Communication Protocol PC link communication without sum check Specifications PC link communication with sum check MODBUS communication ASCII mode MODBUS communication RTU mode Maximum Baud Rate 9600 bps Table 2 2 Types of Devices to be Connected Device to be Connected Communication Protocol Example of Connected Devices PC link communication General purpose PCs MODBUS communication General purpose PCs 2 1 RS 485 Communication Specifications Table 2 3 RS 485 Communication Interface Item Specifications Standard EIA RS 485 compliant Maximum number of devices to be connected 31 Communication system 2 wire half d
4. 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 Facsimile 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
5. Start of Message Mark Address Number ADR Function Code 06 D Register Number Upper Digit D Register Number Lower Digit Number of bytes in RTU mode Number of bytes in ASCH mode Message continued Write Data Write Data End of Message Upper Digit Lower Digit Mark CR LF Response for normal operation Address Function Code Number 06 ADR Start of Message Mark Element D Register Number Upper Digit D Register Number Lower Digit Number of bytes in RTU mode Number of bytes in ASCH mode Response continued Write Data Write Data End of Message Upper Digit Lower Digit Mark CR LF O Example Setting 70 0 to the target setpoint of UTISOL with address number 01 The following message writes 700 to the target setpoint DO120 at address number 01 in the ASCII mode Message 0106007702BCC4 CR LF 4 Start of message mark 01 address number 01 06 function code 06 0077 D register address 0120 02BC target setpoint 70 0 and C4 error check Numbers in quotation marks are hexadecimal The response of the same contents is returned with respect to the above message Response 0106007702BCC4 CR LF Target setpoint 70 0 IM 05C01E22 10E 4 7 4 8 08 Performs a loop back test O Function This functi
6. User s Manual Model UT150L url Communication Functions IM 05C01E22 10E YOKOGAWA m OSCOTE22E Editi Yokogawa Electric Corporation 3rd Edition Introduction This instruction manual describes the communication functions of the UT150L controller and contains information on how to create communication programs Read the manual carefully to understand the communication functions of the UT150L The UT150L controller has the following communication protocols 1 PC link communication protocol 2 MODBUS communication protocol Note that the UT150L controller cannot communicate with a host device with a communication protocol other than these E Intended Readers This manual is intended for people familiar with the functions of the UT150L Controller and control engineers and personnel in charge of maintaining instrumentation and control equipment You are required to understand as a background knowledge the communication specifications of higher level devices in regard to their communication hardware language used for creating communi cation programs and so on E Related Documents The following instruction manuals all relate to the communication functions Read them as necessary The codes enclosed in parentheses are the document numbers e Model UTISOL Limit Controller IM 05C01E22 01E Explains the basic operation of the UTISOL controller Supplied with the UT150L Limit Controller FD No IM 05C01E22 10E 3rd
7. ADR Upper Digit Lower Digit Number of bytes in RTU mode Number of bytes in ASCH mode Response continued Number of D Number of D End of Message Registers Registers Mark Upper Digit Lower Digit CR LF O Example Setting a alarm 1 setpoint of 80 and a alarm 2 setpoint of 70 to UTISOL with address number 02 The following message writes values 80 and 70 in this order in the ASCII mode starting at the proportional band D0101 of address number 02 Message 0210006400020400500046EE CR LF Start of message mark 02 address number 02 10 function code 16 0064 starts register address 0101 0002 number of D registers 2 04 byte count 0050 alarm 1 setpoint 80 0046 alarm 2 setpoint 70 and EE error check Numbers in quotation marks are hexadecimal The following response is returned with respect to the above message Response JO2100064000288 CR LF Number of D registers 2 IM 05C01E22 10E Chapter 4 MODBUS Communication 06 Writes data into D register O Function This function code writes data into a specified D register number e The maximum number of D registers into which data is written at a time is 1 e For the format of response in the event of failure see subsection 4 2 4 e Lets you specify broadcast by setting 00 to the address number O Message for normal operation Element
8. Read Write User area Data can be written to or read from the range of I relays NOTE The on off status I relays numbered to 16 store on off status information In normal operation this area can be accessed to read the on off status When specifying an I relay number via communication begin the number with an upper case letter I For example type 10014 to specify the RICERR st relay I relay numbered 14 No data may be written to or read from data storage areas with blank fields in the tables that follow If you attempt to do so UT150L controller may fail to operate correctly Area of Relays Relay Name Code ALM1 st Relay Name Code PARA E st Relay Name Code Relay Name Code Relay Name Code Relay Name Code ALM2 st ADERR st RJCERR st PV over st EEP E st PV over st BO st URI UR2 alajajalalalala 1 2 3 4 5 6 7 8 9 SYSTEM E st UR3 pa o CALB E st IM 05C01E22 10E UR4 a KEN EEE eG G lalclcidiqiciacicic 6 1 6 2 IM 05C01E22 10E Appendix Table of ASCH Codes Alphanumeric Codes Appendix Table of ASCII Codes Alphanumeric Codes In order to implement PC link communication create a transmission receiving program by referring to the following table of ASCII codes gt To Q2QloInjJ o
9. dn 1 ON Number of Bytes Response STX Address OK Checksum ETX CR element number ADR O Example Setting four user defined flags of the UT150L with address number 05 to ON OFF OFF and ON The following command sets the four user defined flags 10025 10026 10027 and 10028 at address number 05 to ON OFF OFF and ON respectively Command STX 05010BRW0410025 1 10026 0 10027 0 10028 181 ETX CR Note The user defined flags I relays are flags that the user can freely read write For areas available to the user see Chapter 6 Functions and Applications of I Relays OK is returned as the response to the above command Response STX 05010K60 ETX CR IM 05C01E22 10E Chapter 3 PC Link Communication BRS Specifies I relays to be monitored on a bit by bit basis O Function Specifies the numbers of I relays to be monitored on a bit by bit basis Note that this command simply specifies I relays Actual monitoring is performed by the BRM command after the I relay numbers are specified 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 e The number of registers to be specified at a time is 1 to 16 e For the format of response in the event of failure see subsection 3 1 2 The command shown below includes the checksum function When per
10. the following response is returned with respect to the above message Response 1050800001234AD CR LF 1234 send data IM 05C01E22 10E Chapter 4 MODBUS Communication 4 2 4 Response Error Codes Message Format in the Event of Error If there is any inconsistency other then communication errors in a message UT150L does nothing but returns the following message Address Number Function Code Error Check ADR Number of bytes in RTU mode Number of bytes in ASCII mode The function code contains a function code hexadecimal number 80 hexadecimal number O Error Codes in Response Table 4 4 List of Error Codes Error Code Meaning Description Function code error No function code exists D register address error Address out of the range has been specified D register count error Number of D registers has been specified being out of the range Even when a message is sent no response returns if e Retransmission error overrun framing parity LRC or CRC 16 error was detected e Address in an instructed message is incorrect e Interval between data composing a message was second or more e Broadcast is specified address number 00 As a measure against those provide a timeout process in the communication functions of a higher level device or in communication programs IM 05C01E22 10E 4 9 4 10 IM 05C01E22 10E Chapter 5 Functions and Usage of D Registe
11. checksum do not include the 2 byte checksum command element in the command O Command Response for normal operation Number of 2 Bytes Command Address BRM Checksum ETX CR element number ADR 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 to the extent of the number of bits specified by the BRS command n 1 to 16 dn 0 OFF dn 1 ON O Example Monitoring the PV burnout status of the UTI50L with address number 05 The following command monitors the PV burnout status 10007 at address number 05 This command reads the statuses of the I relays specified by the BRS command Command STX 05010BRMD7 ETX CR The ON OFF status of the I relay is returned as the response to the above command Response STX 05010K191 ETX CR 4 I relay has been ON IM 05C01E22 10E Chapter 3 PC Link Communication WRD Reads D registers and I relays on a 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 and starting at the specified register number e The number of words to be read at a time is 1 to 32 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes the checksum function When performing communication without the checksum do not inclu
12. dn 1 ON Example Reading the status of alarm 1 of the UT150L with address number 01 The following command reads the status of alarm 1 10001 at address number 01 Command STX 01010BRDI0001 00191 ETX CR The following response is returned with respect to the above command Alarm 1 is ON Response STX 01010K18D ETX CR pe Alarm has been ON since 1 was returned IM 05C01E22 10E 3 7 3 8 BWR Writes data into I relays on a bit by bit basis O Function Writes ON OFF data into a sequence of contiguous I relays at intervals of the specified number of bits and starting at a specified I relay number e The number of bits to be written at a time is 1 to 32 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes a checksum function When performing communication without checksum do not include the 2 byte checksum command element in the command O Command Response for normal operation Number of 2 2 1 3 5 1 3 1 ila Bytes Command STX Address CPU 0 BWR I relay Comma Number Comma d1 d2 element number number number or space ofbits or space 01 n Command continued Write information is 0 when it is OFF or 1 when it is ON dn write data to the extent of the specified number of bits n 1 to 32 dn 0 OFF dn 1 ON Number of Bytes Response element O Example Setting the user define
13. input value D0002 at address number 01 This command reads the statuses of the registers specified by the WRS command Command STX 01010WRME8 ETX CR AAA CPU number 01 The measured input value 200 00C8 HEX is returned as the response to the above command Response STX 01010K00C837 ETX CR Lo Measured input value 200 IM 05C01E22 10E Chapter 3 PC Link Communication INF Reads the model presence or absence of options and revisions O Function Returns the model number of UT150L whether any options are included and the version number and revision number are read e For the format of response in the event of failure see subsection 3 1 2 O Command Response for normal operation Number of Bytes 2 Command Address element number number ADR 01 Number of 2 Bytes Checksum 7 4 4 Response Address element number ADR Response continued 4 4 Version Readout start Number of Revision register for readout registers Note 2 special device for special device Write start Number of write Checksum register for registers for special device special device Note Model and option of UT150L UT150L OO ETX CR 01 Two alarms 04 Communication function 10 One contact input 20 4 to 20 mA DC retransmission output Note Version number and revision number _ VOL R01 Revision number E IM 05C01E2
14. product Yokogawa Electric Corporation hereinafter simply referred to as Yokogawa does not guarantee that these functions are suited to the particular purpose of the user 4 Under absolutely no circumstance may the contents of this manual in part or in whole be tran scribed 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 accuracy in the preparation of this manual Should any errors or omissions come to your attention however please contact your nearest Yokogawa representative or our sales office E 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 guarantee safety if products are not handled according to these instructions 2 The following safety symbols are used on the product and or in this manual Symbols Used on the Product and in This Manual AN CAUTION This symbol on the product indicates that the operator must refer to an explanation in the instruction 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 electrical shock or other d
15. 01 D register number D0002 OK is returned as the response to the above command Response STX 01010K5C ETX CR IM 05C01E22 10E 3 17 3 18 WRM Monitors the D register and I relays on a word by word basis O Function Reads register information that has been specified in advance by the WRS command e 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 generated This error also occurs if the power supply is turned off e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum command element in the command O Command Response for normal operation Number of Bytes 2 2 Command Address CPU Checksum ETX CR element number number ADR 01 Number of 1 2 2 3 4 a A 5 Bytes Response Address CPU OK dddd1 dddd2 ddddn Checksum ETX CR element number number ADR 01 The response is returned in a 4 digit character string 0000 to FFFF in a hexadecimal pattern Read data of the number of words specified by the WRS command ddddn character string in a hexadecimal pattern n 1to 16 O Example Monitoring the measured input value of UT150L with address number 01 The following command monitors the measured
16. 03F R W D0107 D0410 40410 0040 R W D0108 D0411 40411 0041 R W D0109 D0412 40412 0042 R W D0110 D0413 40413 0043 R W D0111 40111 D0414 40414 0044 R W D0112 D0415 40415 0045 R W D0113 D0416 40416 0046 R W D0114 40114 D0417 40417 0047 R W D0115 D0418 40418 0048 R W D0116 40116 0073 D0419 40419 0049 R W D0117 40117 0074 D0420 40420 004A R W D0118 40118 0075 D0119 D0120 40120 0077 D0121 to 0200 D0201 D0202 D0203 40203 00CA D0204 40204 00CB D0205 40205 00CC D0206 40206 00CD D0207 40207 00CE DIS R W D0208 40208 00CF HILO R W D0209 40209 00D0 OPSL R W D0210 40210 00D1 PSL R W D0211 40211 00D2 ADR R W D0212 40212 00D3 BPS R W D0213 40213 00D4 PRI R W D0214 40214 00D5 STP R W D0215 40215 00D6 DLN R W Shaded areas indicate a user area D register numbers D0401 to D0420 These registers are not available if the host devices An asterisk E indicates that the number of writing actions is limited to 100 000 times IM 05C01E22 10E 5 3 5 4 1 5 4 D Register Contents D registers are designed to indicate two or more events such as errors and parameter data using combinations of bits within them If any of the events shown in the following tables occurs the corresponding bit is set to 1 The bit remains set to 0 if the event has not occurred yet Note that bits in blank fields are not in use O D0001 Register Bit Configuration of STATUS Input Error
17. 10E 3 21 3 22 1000 1010 1020 1030 1040 1050 1060 1070 1080 1090 120 130 140 150 160 170 180 190 1200 1210 1220 1230 1240 1250 1260 bereber PR 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 1400 1410 1420 1430 1440 Example of the Program Created Using Microsoft Quick BASIC Version 7 1 Reads the values in three D registers from register 0002 Main routine STXS CHRS 2 ETXS CHRS 3 CRS CHRS 13 RCVCHRS RCVEND 0 fTIMEOUT 0 SEND STX 01010WRDD0002 03 ETX OPEN COM1 9600 N 8 1 ASC FOR RANDOM AS 1 ON COM 1 GOSUB receivechr ON TIME 5 GOSUB timeout PRINT 1 SEND COM 1 ON TIMER ON DO LOOP WHILE fRCVEND 0 AND fTIMEOUT 0 TIMER OFF COM 1 OFF CLOSE 1 PRINT gt SENDS PRINT lt RCVCHR END Y Subroutine receivechr CHR1S INPUT 1 1 IF CHR1 CR THEN IF RCVCHRS SENDS THEN RCVCHRS hh RCVEND 0 ELSE RCVEND 1 END IF ELSE f RCVEND 0 RCVCHRS RCVCHRS CHRIS END IF RETURN y Define Define Define Initialize receive character string Initialize flag Initialize flag Create character string for send Open a port Specify interruption processing during receiving Specify interruption processing at timeout Send Permit interruption during receive Start timer Wait for receive end or t
18. 2 10E Version number 3 19 3 2 4 CX See Also Response Error Codes Subsection 3 1 2 Configuration of Response for the structure of the response in the event of error The error codes EC1 and detailed error codes EC2 of response are as follows Table 3 3 List of Error Codes EC1 Error Code Meaning Command error Causes No command exists Command not executable Internal register specification error No register number exists If a bit register I relay is used on a word by word basis its specification is not correct Out of setpoint range A character other than 0 or 1 has been used for the bit setting A value other than 0000 to FFFF has been specified in the word specification The position of a start for a data load save or other command is out of the address range Out of data number range The specification of the number of bits or words is out of the range of use The number of data specified and the number of parameters for registers etc are not consistent Monitor error Parameter error An attempt was made to execute monitoring without specifying the monitor BRS or WRS An illegal parameter is set Sum error The sum does not match the expected value Internal buffer overflow A data value greater than specified is received Error Code EC1 Character reception time out The end of data or end of text character is not received Table 3 4 L
19. Codes Function codes are command words used by the higher level device to obtain the D register informa tion of UTISOL Table 4 2 List of Function Codes Code Number Function Description Reads data from multiple D registers Capable of reading data from a maximum of 32 successive D registers between D0001 and D0421 Writes data into D register Capable of writing data to one D register between DO101 and D0421 Performs loop back test See subsection 4 2 3 Function Codes Writes data into multiple D registers Capable of writing data into a maximum of 32 successive D registers between D0101 and D0421 e A write using the function code is not possible for read only or disabled D registers Broadcast can be specified for function codes 06 and 16 only IM 05C01E22 10E 4 3 4 2 2 Specifying Broadcast The personal computer sends data to all of the substations at one time Figure 4 2 Specifying Broadcast Broadcast is a feature in which all connected UT1SOL can receive the command concerned Specifying the number in Table 4 3 at the location of the address number in a message enables the higher level device to write data into the D registers of all UT1SOL Table 4 3 Broadcast Specification Number Number to be Specified in ADR Applicable Devices IM 05C01E22 10E Chapter 4 MODBUS Communication 4 2 3 Function Codes 03 Reads data from multiple D registers O Function This function code reads
20. Conventions cccccccccccccscscscscsssccsscscecccscccscscssscscssscscscscssesesosssossssscsccees bi Chapter A Oo 1 1 Setup Procedure eiii att rate 1 1 1 2 Notes on Setting Parameters ooconocnncnonnonnnonconnconnnnnnononancnn non no nn non nora non nc nennen 1 2 Chapter 2 Communication Specifications ooooom 2 L 2 1 RS 485 Communication Specifications unscesessesensersnensersnennnennennnennennnenn 2 1 Chapter 3 PC Link Communication ooooommmmsssss J L 3 1 COVA Wii a Nek sas 3 1 3 1 1 Configuration of Command uesesesnesnesnnennesnnennennennnnnneensennensen nn 3 2 3 1 2 Configuration of Response nerseennesnesnnennesnnennesnonnnennennnensnennen nennen nn 3 3 3 2 Communication with Host Device ucnsnseesnersesnersnesnensnesnnennennnennennennnnn 3 4 3 2 1 SEO COMAS score 3 5 32 2 Specifying Broadcast usiociotoscincodns nenita docinentodincernio sdesbeassssieavap supacessssooes 3 6 32 3 COMMON 3 7 32 4 Response Error COMES i eons anne ansich sh 3 20 3 3 Example of BASIC Program for Send and Receive cnnenene 3 21 Chapter 4 MODBUS Communication oocooomssss Fe 4 1 Overview nal et etic acts eda eet 4 1 4 1 1 Configuration of Message neesneesnssnesnnesnesnnennnsnnennnnnnnnnnnnnenson nennen 4 2 4 2 Communication with Host Device ooooninnccinonccnonocnnnnonnnnnnnncconnnnccnnnnnnonnncnnnos 4 3 4 2 1 List of Function Codes
21. Edition Jun 2004 YK AllRights Reserved Copyright 2000 Yokogawa Electric Corporation IM 05C01E22 10E Documentation Conventions E Symbols The following symbols are used in this manual Symbols Used in the Main Text A CAUTION Draws attention to information that is essential for understanding the operation and or features of the product LN NOTE Gives additional information to complement the present topic and or describe terms specific to this document A See Also Gives reference locations for further information on the topic E Description of Displays 1 Some of the representations of product displays shown in this manual may be exaggerated simplified or partially omitted for reasons of convenience when explaining them 2 Figures and illustrations representing the controller s displays may differ from the real displays in regard to the position and or indicated characters upper case or lower case for example to the extent that they do not impair a correct understanding of the functions and the proper operation and monitoring of the system ii IM 05C01E22 10E Notices E Regarding This Instruction Manual 1 This manual should be passed on to the end user Keep at least one extra copy of the manual in a safe place 2 Read this manual carefully to gain a thorough understanding of how to operate this product before you start using it 3 This manual is intended to describe the functions of this
22. angers that may result in injury or loss of life Protective Grounding Terminal This symbol indicates that the terminal must be connected to ground prior to operating the equipment Functional Grounding Terminal This symbol indicates that the terminal must be connected to ground prior to operating the equipment IM 05C01E22 10E ii E Force Majeure 1 Yokogawa does not make any warranties regarding the product except those mentioned in the WARRANTY that is provided separately 2 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 3 Be sure to use the spare parts approved by Yokogawa when replacing parts or consumables 4 Modification of the product is strictly prohibited 5 Use this software with one specified computer only You must purchase another copy of the software for use on each additional computer 6 Copying this software for purposes other than backup is strictly prohibited 7 Store the floppy disk s original medium or media containing this software in a secure place 8 Reverse engineering such as the disassembly or decompilation of software is strictly prohibited 9 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 iv IM 05C01E22 10E Contents Introducti dolida Documentation
23. are read only Note 2 The user area register numbers D0401 to 0420 is reserved for 16 bit register data used in other software programs When working with host devices do not write to or read from this area as usually done NOTE No data may be written to or read from data storage areas with blank fields in the tables that follow If you attempt to do so UTISOL controller may fail to operate correctly 5 2 IM 05C01E22 10E 5 4 Register Map Table Chapter 5 Functions and Usage of D Registers Area for Process Data D Reg No Ref No HNo Register Name R W D Reg No Ref No H No Register Name R W D0001 40001 0000 STATUS R D0216 to 0300 D0002 40002 0001 PV R D0301 40301 012C IN R W D0003 40003 0002 CSP R D0302 40302 012B DP R W D0004 D0303 40303 012E RH R W D0005 D0304 40304 012F RL R W D0006 D0305 40305 0130 SPH R W D0007 D0306 40306 0131 SPL R W D0008 D0313 to 0400 D0009 40009 0008 TIM R D0401 40401 0037 R W D0010 40010 0009 MOD R D0402 40402 0038 R W D0011 to 0100 D0403 40403 0039 R W D0101 40101 0064 A1 R W D0404 40404 003A R W D0102 40102 0065 A2 R W D0405 40405 003B R W D0103 D0406 40406 003C R W D0104 D0407 40407 003D R W D0105 D0408 40408 003E R W D0106 D0409 40409 0
24. cksum do not include the 2 byte checksum command element in the command O Command Response for normal operation Number of Bytes 2 2 5 1 1 Command element Command continued 5 1 Address number ADR CPU number 01 5 of words n 1 Register number Comma or space Comma or space Register number 2 Register number n Comma or space Comma or space Write information is specified in a 4 digit character string 0000 to FFFF in a hexadecimal pattern Repetition of register numbers and write information by the specified number of words ddddn character string in a hexadecimal pattern n 1tol6 Number of Bytes STX Address OK Checksum ETX CR Response element O Example Writing 20 0 into target setpoint 1 of UT150L with address number 10 and 15 0 into the alarm 1 setpoint The following command writes 20 0 into target setpoint 1 DO120 and 15 0 into the alarm 1 setpoint DO101 at address number 10 Command STX 10010WRW02D0120 00C8 D0101 009694 ETX CR Target setpoint 200 Alarm setpoint 150 OK is returned as the response to the above command Response STX 10010K5C ETX CR IM 05C01E22 10E Chapter 3 PC Link Communication WRS Specifies the D registers and I relays to be monitored on a word by word basis O Function Specifies the numbers of the registers to be mo
25. d flag of UT150L with address number 01 to ON The following command writes ON into the user defined flag 10018 at address number 01 Command STX 01010BWRIO0018 001 1AC ETX CR Note The user defined flag is a flag the user can read write without restraint For areas available to the user see Chapter 6 Functions and Applications of I Relays OK is returned as the response to the above command Response STX 01010K5C ETX CR IM 05C01E22 10E Chapter 3 PC Link Communication BRR Reads I relays on a bit by bit basis in a random order O Function Reads the ON OFF statuses of I relays at intervals of the specified number of bits in a random order e The number of bits to be read at a time is to 16 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes a checksum function When performing communication without a checksum do not include the 2 byte checksum command element in the command Command Response for normal operation Number of 2 Bytes E 1 5 1 Command STX Address CPU BRR Number Irelay Comma Irelay Comma element number number of bits number orspace number or space ADR 01 n 1 2 Command continued Number of 2 Bytes Response STX Address CPU element number number ADR 01 The response is 0 when the status is OFF or 1 when ON dn read data to the extent
26. de the 2 byte checksum command element in the command O Command Response for normal operation Number of 2 Bytes 2 z Command Address Comma Number Checksum element number or space of words ADR n Number of 2 Bytes 2 Response Address Br Checksum element number number ADR 01 The response is returned in a 4 digit character string 0000 to FFFF in a hexadecimal pattern Read data of the specified number of words ddddn character string in a hexadecimal pattern n 1 to 32 O Example Reading a measured input value of the UT150L with address number 03 The following command reads the measured input value D0002 at address number 03 Command STX 03010WRDD0002 0174 ETX CR The measured input value 200 00C8 HEX is returned as the response to the above command Response STX 03010K00C839 ETX CR IM 05C01E22 10E 3 13 3 14 WWR Writes data into D registers and I relays on a 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 and starting at the specified register number e The number of words to be written at a time is 1 to 32 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum command el
27. ect a higher level device and a UT150L See the connection diagram below Create communication programs for the higher level device to perform communication Communication programs should be created referring to the documentation of each higher level device O For UT150L connection PC PLC or panel UT150L UT150L ROG eG a SH ASE Terminating resistor 2202 EN I i Grounding resistance of no greater than 100Q Terminating resistor 2202 1 4W Grounding resistance of no greater than 100Q IM 05C01E22 10E 1 1 1 2 Notes on Setting Parameters AN 1 2 This section describes the setting parameters for using the communication functions and their setting ranges NOTE The details of UT150L communication functions need to be the same as those of the communication functions of the host devices to be connected Check the communication parameters of the host device first then set up those of the UT150L Table 1 1 Parameters to be Set for Communication Functions Parameter Name Setting Range Default Protocol selection PC link communication 0 without sum check 1 with sum check MODBUS communication 3 ASCII mode 4 RTU mode Address 1 to 99 1 Baud rate 0 2400 1 4800 2 9600 2 9600 Parity 0 none 1 even 2 odd 1 EVN Stop bit 1432 1 Data length 7 8 Note 1 8 Note 1 When 3 ASCII mode is selected for MODBUS communication in protoco
28. ement in the command O Command Response for normal operation Number of Bytes 2 2 Command Address CPU Comma Number Comma element number number or space of words or space ADR 01 n Command continued Write information is specified in a 4 digit character string 0000 to FFFF in a hexadecimal pattern Write data of the specified number of words ddddn character string in a hexadecimal pattern n 1 to 32 Number of Bytes Response STX Address CPU OK Checksum ETX CR element number number ADR 01 O Example Writing 200 into target setpoint of UTISOL with address number 03 The following command writes data 200 00C8 HEX into the target setpoint 1 D0120 at address number 03 Command STX 03010WWRD0120 01 00C88F ETX CR OK is returned as the response to the above command Response STX 03010K5E ETX CR IM 05C01E22 10E Chapter 3 PC Link Communication WRR Reads D registers and I relays on a word by word basis in random order O Function Reads the statuses of registers on a word by word basis by the specified number of words and in a random order e The number of words to be read at a time is 1 to 16 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum command elemen
29. enables UTISOL to communicate with a wide variety of devices such as PCs In this communication you use such device to read write data from into D registers internal registers of the UTISOL Hereafter PCs are generally called host devices A See Also Chapter 5 for information on the D registers For the MODBUS communication of the UTI50L we provide the ASCII mode ASCII system and RTU mode binary system for the communication mode Table 4 1 ASCII and RTU Modes ASCII Mode RTU Mode Number of data bits 7 bits ASCII 8 bits binary Message start mark colon Not necessary Message end mark CR LF Not necessary Length of message Note 1 2N 1 N Data time intervals 1 second or less 24 bit time or less Note 2 Error detection Longitudinal redundancy check LRC Cyclic redundancy check CRC 16 Note 1 When the length of a message in the RTU mode it is assumed to be N Note 2 When the communication rate is 9600 bps 1 9600 X 24 sec or less In the MODBUS communication a higher level device identifies each UT1SOL with a communication address of 1 to 99 Some of the commands used let you specify broadcast that requires no address numbers For more information on broadcast specifications see subsection 4 2 2 IM 05C01E22 10E 4 1 4 1 1 Configuration of Message Messages sent from a higher level device to UT150L consists of the following elements Element Start of Address Func
30. ess number column in a command enables the host device to write data from into the internal registers of all UTI50L or other devices For UTISOL internal registers D registers and I relays are assigned with numbers for management See chapters 5 and 6 for details For the internal registers of other models see the documentation of the relevant model Table 3 2 Address Numbers Applicable Devices UT150L and UT100 Series IM 05C01E22 10E Chapter 3 PC Link Communication 32 3 Commands BRD Reads I relays on a bit by bit basis O Function Reads a sequence of contiguous ON OFF statuses by the specified number of bits starting at a speci fied I relay number e The number of bits to be read at a time is 1 to 48 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes the checksum function When performing communication without checksum do not include the 2 byte checksum command element in the command Command Response for normal operation Number of 2 2 5 Bytes 3 2 Command Address CPU I relay Comma Number Checksum element number number number or space of bits ADR 01 n Number of Bytes 2 2 Response Address CPU oa Checksum element number number ADR 01 The response is 0 when the status is OFF or 1 when ON dn read data to the extent of the specified number of bits n 1 to 48 dn 0 OFF
31. forming communication without a checksum do not include the 2 byte checksum command element in the command O Command Response for normal operation Number of 2 2 5 1 3 1 Bytes Command STX Address CPU Number Irelay Comma Irelay Comma element number number of bits number orspace number or space ADR 01 n 1 2 Command continued PAE ae Response STX Address OK Checksum ETX CR element number number ADR 01 Number of Bytes Example Monitoring the PV burnout status of the UTI50L with address number 05 The following command monitors the PV burnout status 10007 at address number 05 This command is used for simply specifying registers Command STX 05010BRS01100074D ETX CR OK is returned as the response to the above command Response STX 05010K 60 ETX CR IM 05C01E22 10E 3 11 3 12 BRM Monitors I relays on a bit by bit basis O Function Reads the ON OFF statuses of I 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 I relays are to be monitored If no relay has been specified error code 06 is generated 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
32. function code 03 0064 D register address 0101 0002 number of D registers 2 and 86 error check Numbers in quotation marks are hexadecimal The following response is returned with respect to the above message Response 1110304005A000A84 CR LF i X Setting of alarm1 alarm2 04 byte count 005A alarm 1 setpoint 90 000A alarm 2 setting 10 IM 05C01E22 10E 4 5 16 Writes data into D registers O Function This function code writes data into successive D registers by the number of specified D registers from a specified D register number e The maximum number of D registers into which data is written at a time is 32 e For the format of response in the event of failure see subsection 4 2 4 e Lets you specify broadcast by setting 00 to the address number Message for normal operation Element Start of Address Function Code D Register Start D Register Start Message Number 10 Number Number Mark ADR Upper Digit Lower Digit Number of bytes in RTU mode Number of bytes in ASCII mode Massage continued Number of Number of Data Data End of Message D Registers D Registers Upper Digit Lower Digit fe Mark Upper Digit Lower Digit CR LF Response for normal operation Element Start of Address Function Code D Register Start D Register Start Message Number 10 Number Number Mark
33. gram created using Microsoft Quick BASIC 3 4 IM 05C01E22 10E Chapter 3 PC Link Communication 3 2 1 List of Commands The following shows 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 I Relays Command Description Number of Bits to be Handled Bit basis read 1 to 48 bits Bit basis write 1 to 32 bits Bit basis random read 1 to 16 bits Bit basis random write 1 to 16 bits Specifies I relays to be monitored on a bit by bit basis 1 to 16 bits Bit basis monitoring 2 Word basis Access Commands Command Description Number of Bits to be Handled Word basis read 1 to 32 words Word basis write 1 to 32 words Word basis random read 1 to 16 words Word basis random write 1 to 16 words Specified internal registers to be monitored on a word basis 1 to 16 words Word basis monitoring 3 Information Command Command Description Number of Devices to be Handled INF Reads model presence absence of option and revision 1 IM 05C01E22 10E 3 5 3 2 2 3 6 Specifying Broadcast The personal computer sends data to all of the substations at one time Figure 3 2 Specifying Broadcast The broadcast function enables all of the connected UT150L or other devices to receive a command Specifying an address number in Table 3 3 for the addr
34. imeout Stop timer Prohibit interruption during receiving Close the port Display sent character string on screen Display received character string on screen END Interruption processing during receiving Fetch characters from receive buffer one by one If received character string is CR If received character string is the same served command Initialize receive character string Echo Back Processing receiving flag remains initialized at 0 If received character string is different from served command receiving end flag is set If it is a character other than CR receiving end flag remains initialized at 0 Create received character string IM 05C01E22 10E Chapter 3 PC Link Communication 1450 timeout Timeout processing 1460 TIMEOUT 1 Set timeout flag 1470 RCVCHRS Time out 5 sec CR Character string for display on screen Time out 5 sec 1480 RETURN T The line numbers are not required They are simply provided for checking the number of program steps IM 05C01E22 10E 3 23 3 24 IM 05C01E22 10E Chapter 4 MODBUS Communication 4 MODBUS Communication 4 1 Overview Personal computer Maximum overall cable length of 1200 m for a maximum of 31 substations Ova Figure 4 1 Connection of Slaves in MODBUS Communication Use of the MODBUS communication
35. ist of Detailed Error Codes EC2 Meaning Device specification error Out of setpoint range Out of data number range Parameter error Detailed Error Code EC2 Parameter number where error occurred HEX This is the number of a parameter in sequence that first resulted in error when counted from the leading parameter Example Error in device name specification STX 01010BRW 05 10017 1 10018 0 A00502 Parameter numbers 1 2 3 4 5 6 In this case EC1 03 and EC2 06 An illegal paraeter is set For error codes other than those noted as EC1 there is no EC2 meaning 3 20 IM 05C01E22 10E Chapter 3 PC Link Communication 3 3 Example of BASIC Program for Send and Receive This section shows an example of acommand sending and response receiving program created with Microsoft Quick BASIC for PC AT or compatible machines The communication conditions of the UTISOL and those of the PC e g communication rate must agree with each other Set the communication rate baud rate of the PC using the SWITCH command of MS DOS For how to use the SWITCH command refer to the User s Reference Manual of MS DOS Moreover set the parity character bit length stop bit length and so on using the OPEN statement PC AT is a product of IBM Corporation 2 Microsoft Quick BASIC is a registered trademark of Microsoft Corporation 3 MS DOS is a registered trademark of Microsoft Corporation IM 05C01E22
36. l selection the data length is fixed to 7 When 4 RTU mode is selected it is fixed to 8 O Protocol by Protocol Default Parameter Settings Communication Protocol Parametri BL BPS PRI STP DLN PC link communication without sum check 0 9600 EVN 1 8 PC link communication with sum check 1 9600 EVN 1 MODBUS communication ASCII mode 3 9600 EVN 1 MODBUS communication RTU mode 4 9600 EVN 1 Note Circled numbers denote fixed values O Protocol selection PSL Set the same communication protocol as that of the host device to be connected The UT150L has PC link communication and MODBUS communication functions IM 05C01E22 10E Chapter 1 Setup Address number ADR Set the address number of the UT150L itself An address number of 1 to 99 may be assigned in any order There is however one limitation the number of UT150L to be connected to a single commu nication port is limited to 31 Example of connecting four UT150L to a host device by setting address numbers of 1 50 10 and 20 Personal computer Maximum overall cable length of 1200 m for a maximum of 31 substations Hiza GG O val val S 72 OD 74 ADR 1 ADR 50 ADR 10 ADR 20 O Baud rate BPS Set the same communication rate as that of the host device to be connected Otherwise proper communication cannot be achieved The unit of the communication rate is bps bits per second
37. le ments shown below which differ depending on the condition of communication normal or failure 1 Normal Communication When communication is complete normally UT150L return a character string OK and when the read commands return read out data Number of Bytes Variable length STX Address Parameter data Checksum ETX CR Element number number ADR 01 2 In the Event of Failure If communication is complete abnormally UT150L return a character string ER and error code EC1 and EC2 See subsection 3 2 4 Response Error Codes e No response is made in case of an error in address number specification or CPU number specification e If a UTISOL cannot receive ETX in a command response may not be made As a measure against those provide a timeout process in the communication functions of the host device or in communication programs Number of Bytes STX Address Element IM 05C01E22 10E 3 3 3 2 Communication with Host Device In PC link communication when specifying D registers or I relays the internal registers of UT150L you can use their numbers as is The specifications of the number of each internal register are e D registers D numeric value e I relays I EEX numeric value Host devices to be connected to UT150L are those capable of handling the PC link communication protocol As an example of communication program Section 3 3 shows an example of BASIC pro
38. mber for MODBUS communication Reading writing via communication R reading W writing 2 Reference number for MODBUS communication An asterisk indicates that the number of writing actions is limited to 100 000 times IM 05C01E22 10E 5 1 5 3 Classification 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 Register No D0001 to 0010 D0401 to 0420 Table 5 1 Classification of D Registers Area and Data Categories Process data area Note 1 Operating data User area Note 2 represented by shaded section in the table Description PV CSP and other values Used for communication with the Host devices Reference Section 5 4 Section 5 4 D0011 to 0100 D0121 to 0200 D0216 to 0300 D0307 to 0400 Must not be used D0101 to 0120 D0201 to 0215 D0301 to 0306 Operating parameters area Operating parameter Setup parameters area Setup parameter 1 FL BS etc Section 5 4 Section 5 4 Note 1 Data for process values operating parameters and setup parameters are stored as the types EU EUS and ABS without the decimal point indicated in the Operating Parameters and the Setup Parameters of the UT150L Limit Controller in struction manual The OFF and ON states are represented by 0 and 1 respectively The D registers DO401 to 0420
39. nitored 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 useful 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 e The number of words to be specified at a time is 1 to 16 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes the checksum function When performing communication without the checksum do not include the 2 byte checksum command element in the command O Command Response for normal operation Number of 2 2 2 5 1 5 1 Bytes Command Address CPU Number Register Comma Register Comma element number number of words number orspace number or space ADR 01 n 1 2 Command continued 5 Register Checksum ETX CR number n Number of Bytes 2 2 Response Address CPU OK Checksum ETX CR element number number ADR 01 O Example Monitoring the measured input value of UT150L with address number 01 The following command monitors the measured input value D0002 at address number 01 This command simply specifies the registers Command STX 01010WRS01D000255 ETX CR CPU number
40. nse data from UT150L 01F4 UT150L side Target setpoint 50 0 The position of the decimal point for 500 is determined by the DP position of decimal point parameter of the UT150L 4 2 IM 05C01E22 10E Chapter 4 MODBUS Communication 4 2 Communication with Host Device The specification of D registers for a message using commercially available SCADA or the like and specification of D registers for a message in customer created communication programs are different from simple specification of D register numbers Thus care should be taken 1 When using commercially available SCADA or the like specify the D register numbers by changing them into reference numbers D register numbers whose D leading character is replaced with 4 are treated as reference numbers When using a DDE server or others specify these reference numbers 2 For communication programs created by the customer specify registers using the hexadecimal numbers of values that are obtained by subtracting 40001 from the reference numbers Thus hexadecimal numbers are those to be specified Example To specify target setpoint D0120 1 For a message using commercially available SCADA or the like specify reference number 40120 2 For a message in a customer created communication program specify the hexadecimal number or 0077 of a value 0119 obtained by subtracting 40001 from the reference number 4 2 1 List of Function
41. 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 the host device to identify UT150L at the communication destination They are identification numbers specific to the UT150L 3 CPU Number This number is fixed to 01 4 Time to Wait for Response This is fixed to 0 5 Command See subsection 3 2 1 List of Commands 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 pieces UTISOL parameter value and others 7 Checksum This converts the ASCII codes of texts between the character next to STX and the character immedi ately before the checksum into hexadecimal values and adds them byte by byte It then fetches the single lowermost byte of the added results as the checksum This column is only required for PC link communication with checksum PC link communication without checksum does not require this 2 byte space of ASCII code 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 indicates the end of a command The character code is CHR 13 NOTE The control codes STX ETX and CR are essential for commands when you create a communication program for PC link communication Omission of any of them or incorrect order of
42. of the specified number of bits n 1 to 16 dn 0 OFF dn 1 ON Example Reading the statuses of alarms and 2 of the UTI50L with address number 05 The following command reads the statuses of alarm 1 10001 and alarm 2 10002 at address number 05 Command STX 05010BRR0410001 100027F ETX CR With respect to the above command the ON and OFF responses are returned for alarms 1 and 2 respectively Response STX 05010K10C1 ETX CR Alarm 1 has been ON IM 05C01E22 10E 3 9 3 10 BRW Writes data into I relays on a bit by bit basis in a random order O Function Writes ON OFF statuses into I relays at intervals of the specified number of bits on a per I relay basis and in random order e The number of bits to be written at a time is 1 to 16 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes the checksum function When performing communication without a checksum do not include the 2 byte checksum command element in the command O Command Response for normal operation Number of Bytes Command STX Address CPU Comma Comma element number number or space or space ADR 01 Command continued 1 1 Comma Comma er Comma Checksum or space or space or space Write information is 0 when it is OFF or 1 when itis ON dn write data to the extent of the specified number of bits n 1 to 16 dn 0 OFF
43. on code is used to check connection for communication e For the format of response in the event of failure see subsection 4 2 4 e The specification of a D register number marked with an asterisk below for a loop back test is 00 fixed e Any value can be selected for send data O Message for normal operation Element Start of Address Function Code x00 x00 Message Number 08 Upper Digit Lower Digit Mark ADR Number of bytes in RTU mode Number of bytes in ASCII mode Message continued Send Data Send Data End of Message Upper Digit Lower Digit Mark CR LF Response for normal operation Element Start of Address Function Code 00 00 Message Number 08 Upper Digit Lower Digit Mark ADR Number of bytes in RTU mode Number of bytes in ASCII mode Response continued Send Data Send Data End of Message Upper Digit Lower Digit Mark CR LF O Example Sending data 1234h to UTISOL with address number 05 to check connection for communication The following message sends 1234 hexadecimal to address number 05 in the ASCII mode Message 050800001234AD CR LF Start of message mark 05 address number 05 08 function code 08 0000 fixed 1234 send data and AD error check Numbers in quotation marks are hexadecimal When connection for communication is normal
44. oooocoocccnoonnnononcnnoononcnnnnnncnnncnnonnnnonnnnnronnn canon nennen 4 3 4 2 2 Specifying Broadcast oeseesnsernennesnennsennrensennsorsnnsonnsonennensen 4 4 4 2 3 Function Codes He A O hice ae 4 5 4 2 4 Response Error Codes ssns misiista erse e R s 4 9 Chapter 5 Functions and Usage of D RegistersS ooooomoosssmo D L DL Overview of D Registers nu 5 1 5 2 Interpretation of Lists of D Registers D Register Map Tables ierices toii aen E e e sE 5 1 5 3 Classification of D Registers eee oreore te aa e o eaer ESE NEE EE 5 2 5 4 Register Map Table nebst ann 5 3 SAA oD Register Contents erer een te nouer 808g preisen 5 4 Chapter 6 Functions and Usage of I Relays sssssesssecssocesooecoosessecssocesocesooessossssesssee O L 6 1 Status I Relay Sumario aaa 6 1 IM 05C01E22 10E vi Appendix Table of ASCII Codes Alphanumeric Codes scssssccssseeeeeee ADD 1 Revision Record sisdcisscacisccessiciscsdacedeccesadecssdicsdocessadessccecedesccsadeas cdesscesecsaceseocesecedecesdcsescesscesesseed IM 05C01E22 10E Chapter 1 Setup 1 Setup This chapter describes the setup procedure required to be able to use the communication functions PC link and MODBUS and the communication parameters of the UTISOL 1 1 Setup Procedure Set up the communication functions on the UT150L as follows Set up the communication function parameters of the UT150L See Section 1 2 Conn
45. rs 5 Functions and Usage of D Registers 5 1 Overview of D Registers This section explains the functions and usage of D registers The D registers store the parameter data flag data and process data that are handled by UTISOL controller By connecting UTISOL controller to host devices capable of PC link communication or MODBUS communication you can readily use these internal data items by reading from or writing to the D registers Using the D registers you can perform e Centralized control using host devices e Data exchange by reading writing using host devices 5 2 Interpretation of Lists of D Registers D Register Map Tables This section explains how to read the D Register Map tables in this chapter In the example shown below the number in the leftmost column denotes 1 D register number The five digit number in the column on the immediate right of the leftmost column represents 2 Reference number for MODBUS communication The number in the column third from left is 3 Register number hexadecimal for the MODBUS communication program Each register code name in the D Register Map tables represents register name of specific process data item operating parameter setup parameter or other data items For details on the operating and setup parameters see Model UTISOL Limit Controller instruction manual IM 05C01E22 01E Name of D Register Map Ref No H No Register name 1 D register number 3 Hex nu
46. t in the command O Command Response for normal operation Number of 2 5 1 5 1 Bytes Command Number Register Comma Register Comma element of words number orspace number or space n 1 2 Command continued 5 Register Checksum ETX CR number n Number of Bytes Response element 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 16 Example Reading the measured input and output values of the UT150L with address number 10 The following command reads the measured input value D0002 and the target setpoint D0003 at address number 10 Command STX 10010WRR02D0002 D000388 ETX CR The measured input value 200 00C8 HEX and output value 50 0032 HEX are returned as the response to the above command Response STX 10010K00C80032FC ETX CR IM 05C01E22 10E 3 15 3 16 WRW O Function Writes data into D registers and I relays on a word by word basis in random order Writes register information specified for each register into registers of the specified number of words in a random order The number of words to be written at a time is 1 to 16 e For the format of response in the event of failure see subsection 3 1 2 e The command shown below includes the checksum function When performing communication without the che
47. the contents of successive D registers by the specified number of them starting at a specified D register number e The maximum number of D registers to be read at a time is 32 e For the format of responses in the event of failure see subsection 4 2 4 Message for normal operation Address Function Code Number ADR 03 Start of Message Mark Element D Register Start Number Upper Digit D Register Start Number Lower Digit Number of bytes in RTU mode Number of bytes in ASCII mode Message continued Number of D Registers Lower Digit Number of D Registers Upper Digit End of Message Mark CR LF Response for normal operation Address Function Number Code ADR 03 Contents of D Register Lower Digit Contents of D Register Upper Digit Start of Message Mark Element Number of bytes in RTU mode Number of bytes in ASCII mode Response continued Contents of D Registers Upper Digit Contents of D Registers Lower Digit End of Message Mark CR LF O Example Reading the statuses of alarms 1 and 2 from the UT150L with address number 17 The following message reads four successive D registers starting at alarm 1 DO101 and address number 17 in the ASCII mode Message 11030064000286 CR LF t Start of message mark 11 address number 17 03
48. them results in communication failure IM 05C01E22 10E Chapter 3 PC Link Communication O Data Form of Commands The table below shows the data forms of commands for D registers and I relays Table 3 1 Data Forms of Commands for D Registers and I Relays Type of Data Contents of Data Specified 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 other Measuring range width EUS data Numeric data not including the deci mal point Proportional bands upper and lower limits of data 0 0 to 100 0 0 to 1000 output and others Various modes alarm types and others Seconds absolute values and data Absolute values not including the without unit decimal point O Command Format for Communication Example When setting a target setpoint 50 0 to a UTISOL the host device sends the value 500 as command data without the decimal point this is true for both setting 5 00 or 500 Data to be send from the host device hexadecimal value of 500 01F4 Command data 01F4 Response data from UT150L 01F4 UT150L side Target setpoint 50 0 The position of the decimal point for 500 is determined by the DP position of decimal point parameter of the UT150L 3 1 2 Configuration of Response Responses from UT150L with respect to a command sent from the host device consists of the e
49. this register when you want to change the target setpoint by means of communication Once you write a value into this register the D0114 SP1 register contains the same value Note that data in the DO120 register is not recorded when the power is turned off When the power is turned back on the DO120 register contains the value previously written into the D0114 SP1 register IM 05C01E22 10E Chapter 6 Functions and Usage of I Relays 6 Functions and Usage of Relays This chapter explains the functions and usage of the I relays The I relays contain information on errors in UT150L controller as well as the controller s alarm statuses By connecting the UT150L controller to host devices via PC communication link you can read these internal data items from the I relays to use for your own particular purpose Note that most of the I relays have the same functions as the D registers 6 1 Status I Relays The following table summarizes how the on off status I relays are classified Relay No Data Category Description Remarks 1 to 16 50 51 On off statuses Error information same as data in the D0001 register Information stored in each group of these I relays is represented by the four sets of binary codes from 0000 0 in the decimal system to 1000 8 in the decimal system which are formed by each combination of four I relays The lowest numbered I relay in each set signifies the LSB of the four bits
50. tion Data Error End of Message Number Code Check Message Mark ADR Mark 1 2n 2 Number of bytes in RTU mode Number of bytes in ASCII mode 4n 1 2 3 4 5 6 1 Start of Message Mark This mark indicates the start of a message Note that only ASCII mode requires the colon 2 Address Number 1 to 99 Address numbers are used by host devices to identify the UTI50L at the communication destination These numbers are identification numbers specific to individual UT150L 3 Function Code See subsection 3 2 1 List of Function Codes The function code specifies a command function code from the higher level device 4 Data This element specifies D register numbers the number of D registers parameter values and so on in accordance with the function code 5 Error Check In RTU mode Carried out by the cyclic redundancy check CRC 16 system In ASCII mode Carried out by the longitudinal redundancy check LRC system 6 End of Message Mark This mark indicates the end of a message Note that only ASCII mode requires CR LF Message format for communication Example When setting the target setpoint 50 0 to a UTISOL the higher level device sends message data 01F4 into a value of 500 converted into hexadecimals not including the decimal point thus this is true for sending both 5 00 or 500 Message data in the higher level device hexadecimal value of 500 01F4 Message data 01F4 Respo
51. uplex Synchronization Asynchronous start stop Communication protocol No protocol Maximum communication distance 1200 m Baud rate 2400 4800 9600 IM 05C01E22 10E 2 1 2 2 IM 05C01E22 10E Chapter 3 PC Link Communication 3 PC Link Communication 3 1 Overview Personal computer Maximum overall cable length of 1200 m for a maximum of 31 substations Ova Figure 3 1 Connection of Slaves in PC Link Communication The use of PC link communication enables UT150L to communicate with a device such as a PC easily In this communication you can use such device to read write data from into D registers or read data from I relays both of which are internal registers of the UT150L Hereafter PCs are generally called host devices CX See Also Chapters 5 and 6 for information on the D registers and I relays In the PC link communication a host device identifies each UT150L with a communication address of 1 to 99 Some of commands to use let you to specify broadcast that requires no address numbers For more information on broadcast specification see subsection 3 2 2 IM 05C01E22 10E 3 1 3 1 1 3 2 Configuration of Command Commands sent from a host device to UTI50L consist of the following elements Number of Bytes Address CPU Time to Element number number wait for ADR 01 a 1 2 3 4 1 STX Start
Download Pdf Manuals
Related Search
Related Contents
019000_3E3222 Livestock Manager TSi 2 User Manual Merlin 4 CDX-GT620U - Sony Europe Samsung GT-I8190N User Manual Smart Stress Iso User Manual - Nor Fisher & Paykel HS60CIX1 User's Manual Atlantic Oskar 160 DVD User's Manual Copyright © All rights reserved.
Failed to retrieve file