ABB 4600浊度仪说明书_第1页
ABB 4600浊度仪说明书_第2页
ABB 4600浊度仪说明书_第3页
ABB 4600浊度仪说明书_第4页
ABB 4600浊度仪说明书_第5页
已阅读5页,还剩23页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

4600 Series Analyzers All Models User Guide Modbus Communication Supplement IM/4600MOD_5 ABB The Company We are an established world force in the design and manufacture of instrumentation for industrial process control, flow measurement, gas and liquid analysis and environmental applications. As a part of ABB, a world leader in process automation technology, we offer customers application expertise, service and support worldwide. We are committed to teamwork, high quality manufacturing, advanced technology and unrivalled service and support. The quality, accuracy and performance of the Companys products result from over 100 years experience, combined with a continuous program of innovative design and development to incorporate the latest technology. The UKAS Calibration Laboratory No. 0255 is just one of the ten flow calibration plants operated by the Company and is indicative of our dedication to quality and accuracy. Health and Safety To ensure that our products are safe and without risk to health, the following points must be noted: 1. The relevant sections of these instructions must be read carefully before proceeding. 2. Warning labels on containers and packages must be observed. 3. Installation, operation, maintenance and servicing must only be carried out by suitably trained personnel and in accordance with the information given. 4. Normal safety precautions must be taken to avoid the possibility of an accident occurring when operating in conditions of high pressure and/or temperature. 5. Chemicals must be stored away from heat, protected from temperature extremes and powders kept dry. Normal safe handling procedures must be used. 6. When disposing of chemicals ensure that no two chemicals are mixed. Safety advice concerning the use of the equipment described in this manual or any relevant hazard data sheets (where applicable) may be obtained from the Company address on the back cover, together with servicing and spares information. EN ISO 9001:2000 Cert. No. Q 05907 R E G I S T E R E D EN 29001 (ISO 9001) Lenno, Italy Cert. No. 9/90A 0255 Stonehouse, U.K. Warning Refer to the manual for instructions Caution Risk of electric shock Protective earth (ground) terminal Earth (ground) terminal Direct current supply only Alternating current supply only Both direct and alternating current supply The equipment is protected through double insulation Electrical Safety This instrument complies with the requirements of BS EN 61010-1:1993 Safety Requirements for Electrical Equipment for Measurement, Control and Laboratory Use. If the instrument is used in a manner NOT specified by the Company, the protection provided by the instrument may be impaired. Symbols One or more of the following symbols may appear on the instrument labelling: Information in this manual is intended only to assist our customers in the efficient operation of our equipment. Use of this manual for any other purpose is specifically prohibited and its contents are not to be reproduced in full or part without prior approval of the Technical Publications Department. 1 CONTENTS SectionPage 1INTRODUCTION .2 1.1Electrical Connection .2 1.2Protocol .2 2PREPARATION .2 2.1Company Standard Settings .2 3INSTALLATION .3 3.1Serial Communication Adaptors for Personal Computers .3 3.1.1Five-wire Configuration .3 3.1.2Three-wire Configuration .3 4ELECTRICAL CONNECTIONS .3 4.1Serial Connections .3 4.1.1Five-wire Cable.3 4.1.2Three-wire Cable .3 5SETTING UP .5 5.1Termination Resistors.5 6PROGRAMMING.6 6.1Serial Interface Page.6 7MODBUS PROTOCOL .7 7.1Introduction to Modbus Protocol (RTU only) .7 7.2Modbus Function Codes .7 8MODBUS FUNCTIONS.8 8.1Read Coil Status Function Code 01.8 8.1.1Read Coil Status Query.8 8.1.2Read Coil Status Response .8 8.2Read Holding Register Function Code 03.8 8.2.1Read Holding Register Query .8 8.2.2Read Holding Register Response .9 8.3Force Single Coil Function Code 05.9 8.3.1Force Single Coil Query .9 8.3.2Force Single Coil Response.9 8.4Preset Single Register Function Code 06.10 8.4.1Preset Single Register Query.10 8.4.2Preset Single Register Response .10 8.5Loopback Test Function Code 08. 11 8.5.1Loopback Test Query. 11 8.5.2Loopback Test Response . 11 8.6Preset Multiple Registers Function Code 16. 11 8.6.1Preset Multiple Registers Query. 11 8.6.2Preset Multiple Registers Response . 11 SectionPage 9EXCEPTION RESPONSES .12 9.1Examples.12 10MODBUS COILS AND REGISTERS .12 10.1Conductivity Transmitters Models 4620/25.12 10.1.1Coils .12 10.1.2Holding Registers .13 10.2Conductivity Transmitters Multi-electrode Versions Models 4621/26.14 10.2.1Coils .14 10.2.2Holding Registers .14 10.3Conductivity Transmitters to meet USP Regulations Models 4623/28 .15 10.3.1Coils .15 10.3.2Holding Registers .15 10.4pH Transmitters Models 4630/35 and 4631/36 .16 10.4.1Coils .16 10.4.2Holding Registers .17 10.5Dissolved Oxygen Analyzers Models 4640/45 and 4642/47 .18 10.5.1Coils .18 10.5.2Holding Registers .18 10.6Low Level Dissolved Oxygen Analyzers Models 4641/46.19 10.6.1Coils .19 10.6.2Holding Registers .19 10.7Turbidity Analyzers Models 4670 and 4675.20 10.7.1Coils .20 10.7.2Holding Registers .20 10.8Biocide Cleaning Control (4691) .21 10.8.1Coils .21 10.8.2Holding Registers .21 11OPERATION.22 12SPECIFICATION .24 APPENDICES .24 A1Non-volatile Memory Limitations.24 2 1INTRODUCTION2PREPARATION This manual must be read in conjunction with the appropriate Operating Instructions, depending on the instrument type: Models 4620, 4621, 4625 the RS422 standard quotes connection of up to ten slaves. However, these numbers can be increased if the drivers serial port permits. Make serial data connections and check the processor board links as shown in Fig. 4.2. The type of cable used is dependent on the transmission speed and cable length: 4.1.1Five-wire Cable (refer also to Fig. 11.1) Up to 6m (all speeds) standard screened or twisted pair cable. Up to 300m twin twisted pair with overall foil screen and an integral drain wire, e.g. Belden 9502 or equivalent Up to 1200m twin twisted pair with separate foil screens and integral drain wires for each pair, e.g. Belden 9729 or equivalent 4.1.2Three-wire Cable (refer also to Fig. 11.2) Up to 6m (all speeds) standard screened or twisted pair cable. Up to 1200m single twisted pair with overall foil screen and integral drain wire, e.g. Belden 9501 or equivalent. 4 4ELECTRICAL CONNECTIONS Serial TBATBB Common (0V) Rx+ Rx Tx+ Tx 1 2 3 4 5 Channel 1Channel 2Power Supply Retrans.Relay 1 Relay 2 123 45 1 No connection 2 Rx+ 3 Rx 4 Tx+ 5 Tx 6 Common (0V) 6 123 45 1 No connection 2 No connection 3 No connection 4 Rx/Tx+ 5 Rx/Tx 6 Common (0V) 6 Rx/Tx 1 2 3 4 5 A Five-wire Connections B Three-wire Connections 3-wire 5-wire IC22IC23 IC25 IC24 12 1112 Note. For 3-wire applications IC25 must be removed and the 3-wire link positioned as shown. Processor Board C Three- and Five-wire Links Common (0V) Rx/Tx+ 12 1112 12 1112 4.1Serial Connections Fig. 4.2 Serial Connections 5 5SETTING UP Termination Resistors IN Termination Resistors OUT IC22IC23 IC25 IC24 12 1112 Processor Board 12 1112 12 1112 For all aspects other than serial data transmission the transmitter is set up as shown in the Operating Instructions see Section 1. Unless otherwise requested, the instrument is despatched with a transmission rate of 9600 baud and transmission line termination resistors linked-out. If the resistors are to be linked-in (see Fig. 5.1) carry out the following section. 5.1Termination Resistors Fig. 5.1 For long transmission lines, termination resistors are required on the last 4600 Transmitter in the chain and at the host computer/computer terminal. Under normal operating conditions the resistors are required at the last 4600 receive inputs only see Fig. 4.1. The transmitters resistors are selected using plug-in links see Fig. 5.1. Switch off the supply and gain access to the processor board (Section 4 in the Operating Instructions). Set the termination resistor links as shown in Fig. 5.1. Fig. 5.1 Termination Resistor Links 6 6PROGRAMMING Inst. Identity 1 SERIAL INTERFACE Baud Rate 9600 Parity ODD SET UP OUTPUTS ELECTRICAL CAL The general programming procedure is as detailed in the Operating Instructions but with an additional Serial Interface page between the Set Up Outputs and Electrical Cal pages. 6.1Serial Interface Page Page Header Serial Interface Transmission Rate Select the retransmission rate required (1200 slowest, 9600 fastest). Transmitter Identification Assign the transmitter an identification number (1 to 99) see Section 4.1. The identification number allows more than one transmitter to be accessed via the communication channel. Parity Select the appropriate parity to match the computer terminal or host computer. Return to the top of the Serial Interface Page or advance to the next page. Inst. Identity 1 SERIAL INTERFACE Baud Rate 1200 2400 4800 9600 Parity EVEN ODD NONE Fig. 6.1 Location of Serial Data Interface Page 7 7MODBUS PROTOCOL subdoM edoCno i t cnuF emaNegasseMsubdoMnoi t in i f eDsubdoM0064 10sutatSl i oCdaeR0064ehT . t n i opc i f i cepsamo r f s t n i op)nae l oob(etercs i dev i tucesnoc61otpudaeR rof t s euqeryna*sKANdnaatadden i fedn i atnoctonodhc i hw s t n i oprofsorezsnruter .001tahtretaergsrebmuntn i op 30ret s i geRgn i d l oHdaeRsorezsnruter0064ehT . r et s i gergn i t ra t s c i f i cepsamo r f sret s i gerev i tucesnoc8otpU ret s i gerrof t s euqerynasKANdnaatadden i fedn i atnoctonodhc i hwsret s i germo r f .001nahtretaergsrebmun 50l i oCe l g n i SecroFy l tne r r ucton s i tn i opeht f i s i htsKAN0064ehT . t n i op)nae l oob(etercs i denoet i rW .e l baet i rw 60ret s i geRe l g n i SteserPno i t cnufs i hT.e l baet i rwy l tne r r ucton s i ret s i gereht f i sKAN0064ehT . r et s i gerenoet i rW .esabatadeht n i egaro t s erofebret s i gerehtots t im i l gn i t s i xeynase i l ppaos l aedoc 80 t s eTc i t song a i DkcabpooL.de t r oppuss i yreuQfonruteRy l no,egassemehtohcE 61sret s i geRe l p i t l uMteserP f i sKAN0064ehT . r et s i gergn i t ra t s de i f i cepsamo r f sret s i gerev i tucesnoc8otpuet i rW erahc i hwset i rwehtl l atuose i r racl l i t stub,e l baet i rwy l tne r r uctonerasret s i gerehtfoyna .esabatadeht n i egaro t s erofebeu l avehtots t im i l e l bac i l ppay l tne r r ucynagn i y l ppa,d i l av tnemegd e l wonkcAev i tageN=KAN* 7.1Introduction to Modbus Protocol (RTU only) Modbus communication is based on a master and a slave arrangement. The master sends a message to one slave at a time and waits for a reply. The slave cannot accept a new message until the existing message is processed and a reply sent to the master (maximum response time 250 milliseconds). The slave monitors the elapsed time between receipt of characters. If the elapsed time without a new character is 31/2 character times, the slave assumes the next character received is the start of a new message. To allow the master to differentiate between more than one slave in a system, each slave is given a unique identity address (between 1 and 99). A broadcast address (address zero) can be used to access all slave devices with one command. This is limited to write messages only and there is no slave acknowledgment. Note. Modbus RTU requires 1 start bit, 8 data bits, 1 parity bit (optional) and 1 or 2 stop bits. The 4600 uses only 1 stop bit. 7.2Modbus Function Codes Table 7.1 The function code field instructs the addressed slaves which function to perform. Table 7.1 Modbus Function Codes 8 8MODBUS FUNCTIONS This section shows typical examples of Modbus function codes 01, 03, 05, 06, 08 and 16. 8.1Read Coil Status Function Code 01 8.1.1Read Coil Status Query This function allows the user to obtain the ON/OFF status of logic coils used to control discrete outputs from the addressed slave only. Broadcast mode is not supported with this function code. In addition to the slave address and function fields, the message requires that the information field contain the initial coil offset address to be read (starting address) and the number of locations to be interrogated must obtain status data. Note. The coil offset address is the coil number minus one, e.g. to start at coil 31 the data start value must be set to 30 (1EH). Example a read coil status request to read 7 coils from slave (01) starting at coil 11 (Alarm 1 Relay State) is shown below. 8.1.2Read Coil Status Response The data is packed one bit for each coil (1 = ON, 0 = OFF). The response includes the slave address, function code, quantity of data characters, the data characters and error checking. The low order bit of the first character contains the first addressed coil and the remainder follow. For coil quantities that are not even multiples of eight, the last characters are filled in with zeros at high order end. Example the response to the read coil status query shows the following: Relay alarm state 1 OFF Relay alarm state 2 OFF No coil at this address Channel 1 input error Channel 2 input error No coil at this address NV check sum error 8.2Read Holding Register Function Code 03 8.2.1Read Holding Register Query The Read holding registers allow the user to obtain the binary contents of holding registers in the addressed slave. Note. The data start register must contain the offset address of the first register to be accessed, e.g. to start at register 11 the data start register must contain 10 (0AH). Broadcast mode is not allowed. Example a read holding register request to read 6 holding registers from slave (01) starting at holding address 121 (alarm trip A1) is shown below. sserddAno i t cnuF t r atS l i oC hgiHtes f f O t r atS l i oC woLtes f f O forebmuN hgiHs l i oC forebmuN woLs l i oC )61-CRC(dleiFkcehCro r r E 101000A00070D5AC sserddAno i t cnuF t r atSretsigeR hgiHtes f f O t r atSretsigeR woLtes f f O forebmuNataD hgiHsretsigeR forebmuNataD woLsretsigeR )61-CRC(dleiFkcehCro r r E 103000A000401CAC sserddAno i t cnuFtnuoCetyB sutatS l i oCataD 81ot11 )61-CRC(dleiFkcehCro r r E 101010300D94 9 8MODBUS FUNCTIONS 8.2.2Read Holding Register Response The addressed slave responds with its address and function code, followed by the information field. The information field contains 1 byte describing the quantity of data bytes to be returned. The contents of each register requested (DATA) is two bytes, the first byte includes the high order bits and the second the low order bits. Example the response to the read holding register query shows the following: Measured conductivity60.0S/cm (Range: 0 to 100S/cm) Conductivity set point 180.0S/cm Conductivity set point 220.0S/cm Measured temperature49C (Range: 10 to 110C) 8.3Force Single Coil Function Code 05 8.3.1Force Single Coil Query This message forces a single coil either ON or OFF. The data value 65,280 (FF00 HEX) sets the coil ON and the value zero turns it OFF. All other values are illegal and do not affect the coil. Note. To write to a coil the coil offset address must be used, e.g. to write to coil 50, the coil address 49(31H) is transmitted. The use of slave address zero (broadcast mode) forces all attached slaves to modify the desired coil. Example a force single coil request to switch ON coil address 50 (NV Memory Save) in slave 01 is shown below. 8.3.2Force Single Coil Response The response is confirmation of the query after the coil state has been altered. Example: sserddAno i t cnuFtnuoCetyB gnidloH 11retsigeR gnidloH 21retsigeR gnidloH 31retsigeR gnidloH 41retsigeR dleiFkcehCro

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论