Modbus Installation And Operating Instructions For The .

3y ago
30 Views
2 Downloads
962.37 KB
28 Pages
Last View : 6d ago
Last Download : 3m ago
Upload by : Shaun Edmunds
Transcription

EN - EnglishModbus Installation and operating instructionsfor the sensorsVA 500 / VA 520, VA525 und VA 550 / VA 570VA 5xx Modbus RTU Installation V1.10Page 1 of 28

I.ForewordDear customer,thank you very much for deciding in favour of the VA 500 / VA 520 / VA 525 /VA 550 /VA570. Please read this installation and operation manual carefully before mountingand initiating the device and follow our advice. A riskless operation and a correctfunctioning of the VA 500 / VA 520 / VA 525 / VA 550 / VA570 are only guaranteed incase of careful observation of the described instructions and notes.Geschäftsstelle Süd/Sales Office SouthZindelsteiner Str. 15D-78052 VS-TannheimTel.: 49 (0) 7705 978 99 0Fax: 49 (0) 7705 978 99 20Mail: info@cs-instruments.comWeb: http://www.cs-instruments.comGeschäftsstelle Nord/Sales Office NorthAm Oxer 28cD-24955 HarrisleeTel.: 49 (0) 461 700 20 25Fax: 49 (0) 461 700 20 26Mail: info@cs-instruments.comWeb: http://www.cs-instruments.comVA 5xx Modbus RTU Installation V1.10Page 2 of 28

InhalstverzeichnisII.I.ForewordII.12Table of ContentTable of ContentInstructions4Definition and abbreviation41.2References4Technical data Modbus VA 5xxVA 5xx MODBUS RTU specificationn2.1General Modbus Information2.1.1Serial transmission modes (RTU)431.12.132Installation555563.1RS485 Bus Wiring (Modbus RTU) –VA 500 / VA5203.1.1Termination VA 500 / VA 5203.1.2Bias6663.2RS485 Bus Verdrahtung (Modbus RTU) – Anschlussplan VA 550 / VA5703.2.1Termination VA 550 / VA 5703.2.2Bias777Modbus RTU communication settings84.1Accessing and changing Modbus settings84.2Modbus RTU communication settings85Modbus TCP86Modbus addressing model9786.1Function Code 3 (Read holding register)6.2Function code 16 (Write multiple registers)Modbus Holding Register910117.1Basic Values Register (1 1000)117.2Values register (1001 .1500)127.3Device settings register7.3.1Modbus Settings (2001 2005)7.3.2Display Settings (2007 2009)7.3.3Device Settings (2021 2063)222222237.4Gas names267.5MBus Register277.6Data format test register (64001 64003)277.7Unit Index table28Appendix8.1APPENDIX A - Exception codesVA 5xx Modbus RTU Installation V1.102828Page 3 of 28

1InstructionsThis manual is intended to provide instructions for the installation and use of the VA 5xxMODBUS function. The VA 5xx MODBUS function can let the MODBUS master device toread out the online measurement values.This manual is not intended to be a complete tutorial on the MODBUS RTU protocol, and itis assumed the end user already has a general working knowledge of MODBUS RTUCommunications, especially in respect of master station configuration and operation.However an overview is included in the following section to explain some of thefundamental aspects of the protocol.1.1Definition and abbreviationCRCCyclic Redundancy CheckUsed for error—checking in MODBUS RTU. See appendixModbus MasterA MODBUS device, which is able to access data in one or more connectedMODBUS slavesModbus SlaveA MODBUS device, which is able to respond to requests from asingle MODBUS masterModbus AddressThroughout this document the following notation is used toaddressMODBUS RTU registers see chapter 8Addressing: Holding Register 1009 is addressed in messages by 1008PDUMODBUS protocol data unitADUMODBUS application data unitMBAPMODBUS application protocolRS485Refers to the 2—wire communication standard defined byEIA/TIA-485. (Physical layer)Ethernet1.21.2.3.4.ReferencesMODBUS over Serial Line Specification and Implementation Guide V1.02modbus.org 2006 Dec 20MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1b modbus.org2006 Dec 28MODBUS Messaging on TCP/IP implementation Guide V1.0b2006 Oct 34Instruction manuals VA 5xxVA 5xx Modbus RTU Installation V1.10Page 4 of 28

2Technical data Modbus VA 5xx2.1VA 5xx MODBUS RTU specificationnDevice typeBaud RatesDevice address rangeElectrical InterfaceProtocolSupported function codeBroadcastStandard2.1Slave1200,2400, 4800, 9600, 19200, 38400, 57600, 115200 bps1.247RS485, 2 wireRTU3read holding register16write multiple registerNoModbus over serial line V1.02General Modbus InformationThe VA5xx Modbus module complies with the Modbus serial line protocol [Reference 1].Among other things, this implies a master-slave protocol at level 2 of the OSI model. Onenode (the master) issues explicit commands to one of the ,,sIave"-nodes and processesresponses. Slave nodes will not transmit data without a request from the master node, anddo not communicate with other slaves.Modbus is a mono master system, which means that only one master can be connectedat the time.2.1.1Serial transmission modes (RTU)The VA 5xx Modbus mode support only one serial transmission modes; the RTUmode. The transmission mode defines the bit contents of message fieldstransmitted serially on the line. It determines how information is packed into the messagefields and decoded.The transmission mode and serial port parameters must be the same for all devices on aModbus serial line.RTU mode Modbus Application Data Unit (ADU) frame is shown below, and is valid forboth requests and responses.Slave addressFunction codeDataCRC1 byte1byte0 up to 252 byte(s)2 bytesTable 1Further details of the Modbus protocol can be found in Reference 1 and 2.VA 5xx Modbus RTU Installation V1.10Side 5 of 28

3Installation3.1 RS485 Bus Wiring (Modbus RTU) –VA 500 / VA520 / VA 525MasterR680R 120R 680RTerminierung / BiasTABCommonTRSlave 1TRSlave nPin 2Pin 4Pin 3Connection plug AVA 500 / VA 520 / VA 5253.1.1 Termination VA 500 / VA 520 / VA 525Note: In case the VA 500 / VA 520 / VA 525 is the last device in the RS485 network then a terminationis required. To be done either witha.) Internal DIP Switchb.) 120R between (between Pin 2 and Pin 4) of connector plug A3.1.2 BiasIn order to avoid undefined bus levels, at any location on the bus, a bias network, one resistor to VCC(Modbus A) as well as to GND (Modbus B), has to be used.VA 5xx Modbus RTU Installation V1.10Side 6 of 28

RS485 Bus Verdrahtung (Modbus RTU) – Anschlussplan VA 550 / VA5703.2MasterRTABCommonTRTSlave 1RSlave nPin 3Pin 2Pin 1Connection plug X2VA 550 / VA 5703.2.1Termination VA 550 / VA 570In case the VA 550 / VA 570 is the last device in the RS485 network then a termination with 120Rbetween (between Pin 1 and Pin 3) at connector X2 is necessary.3.2.2 BiasIn order to avoid undefined bus levels, at any location on the bus, a bias network, one resistor to VCC(Modbus A) as well as to GND (Modbus B), has to be used.Bus cable:Only cables according to the recommendations of EIA 485 standard should be used. Amaximum of 64 devices may be connected to one segment. The bus cable must be laid ata distance of at least 20 cm from other cables. It should be laid in a separate, conductive,and earthed cable trunking. It must be ensured that no potential differences occur betweenthe individual devices on the bus.3.3Impedance:Cable capacity:Cable diameter:Cross section:Loop resistanceScreening:Cable specification:135 -165 Ohm @ 3 to 20 Mhz 30pF/m 0.64 mm 0.34 mm2, conforms to AWG 22 110 Ohm per kmCu shielding braid or shielding braid and shielding foilVA 5xx Modbus RTU Installation V1.10Side 7 of 28

4Modbus RTU communication settingsBefore communication with the master, baudrate, address, and framing must be defined4.1Accessing and changing Modbus settingsThe Modbus communication settings could be changed by using either the PC service software fromCS Instruments or by sensors with display in the Modbus setup menu.Note:It is recommended NOT to use the default address in a multi-slave network. It is of greatimportance to ensure at the time of the procedure of device addressing, that thereis not two devices with the same address. In such a case, an abnormal behaviour of thewhole serial bus can occur, the master being then in the impossibility to communicate withall present slaves on the bus.4.2Modbus RTU communication settingsDevice typeBaud RatesDevice address rangeElectrical InterfaceProtocolSupported function codeBroadcastStandard5Slave1200,2400, 4800, 9600, 19200, 38400, 57600, 115200 bps1.247RS485, 2 wireRTU3read holding register16write multiple registerNoModbus over serial line V1.02Modbus TCPModbus communication requires the establishment of a TCP connection between a client (e.g. PC)and the sensor. The TCP port 502 reserved for Modbus is normally used for communication. However,the user can also configure a different port number.If a firewall is arranged between sensor and client, it must be ensured that the configured TCP port isenabled.VA 5xx Modbus RTU Installation V1.10Side 8 of 28

6Modbus addressing modelThe VA 5xx RS485 Modbus allows read/write access according chapter 8Not defined registers are not accessible / not supported.Byte Order:The size of each Modbus-register is 2 Byte. For a 32 bit value two Modbus register will be read out bythe VA 5xx. Accordingly for a 16bit Value only one register is read.Data format VA 5xx:Single Word18 Data OrderA (AB)B (BA)Double WordHByte LByte00121. Byte00122. Byte12Big endian00Little endianHWordLWordHByte LByte HByte LByte29235175522 AE415652Data Order 1.Byte 3.byte564152AE4.Byte52 Big endianAE Little endian5641For verification of a correct data format please read out register 64000 or 64004.Result should be:Register 64000: Long Integer Value 1 000 000Register 64002: FloatValue 1 000 000.06.1Function Code 3 (Read holding register)General exceptions: Requesting less than 1 or more than 125 registers Exception 3 (Illegal data value) Requesting more than max. message size (27 registers) Exception 2(Illegal data address) Requesting data out of defined range of registers chapter 8 Exception 2 (Illegal data address)Application exceptions: Application errors Exception 4 (Slave device error)Holes/register alignment: The read command always returns data if no exception is given. Badstart/end alignment will result in only parts of the data item being read.VA 5xx Modbus RTU Installation V1.10Side 9 of 28

6.2Function code 16 (Write multiple registers)In general, only status register (register 2001 – 2064) are writable.General exceptions: Writing less than 1 or more than 63 registers Exception 3 (Illegal data value) If Byte Count is not exactly 2 times NoOfRegisters Exception 3 (Illegal data value) Exceeding max. message size (27 registers) Exception 2 (Illegal data address) Writing data out of defined register range chapter 8 Exception 2 (Illegal data address)Application exceptions: Application errors Exception 4 (Slave device error) Application errors include writing to ReadOnIy holding registersHoles / register alignment: If start-address is not the start of a mapped holding register Exception 2 (Illegal data address) Writing to holes is allowed (ie ignored - and no exception occurs) — except forthe condition described aboveVA 5xx Modbus RTU Installation V1.10Side 10 of 28

7Modbus Holding Register7.1Basic Values Register (1 1000)ModbusRegisterModbusAddressNo.ofByteData TypeDefaultSettingReadWrite104UInt32Serial Number0R324UInt32Software Version0Rsprintf(str,"%u.%02u",hw 16,hw&0xffff);544UInt32Hardware Version0Rsprintf(str,"%u.%02u",hw 16,hw&0xffff);764UInt320R984UInt32Production Date0RUnix Time11104UInt32Calibration Date0RUnix Time13124UInt32Ordering 32Atex Number0R21204UInt32Curve Version0R23228StringBrand ard0R31304DwordVariantxR33328StringCompany NamexR37364DwordxRsprintf(str,"%u.%02u",hw 16,hw&0xffff);39384DwordxRsprintf(str,"%u.%02u",hw n(if available)OptionBoardSoftwareVerision(falls verfügbar)VA 5xx Modbus RTU Installation V1.10Unit /CommentValue in secondssprintf(str,"%u.%02u",hw 16,hw&0xffff);0 NoLock, 1 DiameterLock, 2 CounterLock, 3 RefConditionsLockBit Mask0 no option1 4-20mA2 Ethernet4 Mbus8 ProfiBus16 SDI32 Pressure64 DirectionSide 11 of 28

7.2Values register (1001 .1600)For the bi-directional sensors VA500B and VA520B refer to note on page 21.ModbusRegisterModbusAddressNo.ofByteData 1009DescriptionDefaultReadWriteFlow as shown in DisplayRTotal Counter bevore commaas shown in DisplayRFloatTotal Counter after commaas shown in DisplayR4FloatVelocity as shown in DisplayR10084FloatGas Temperature as shoedin DisplayR101110104FloatInternal Temperature asshown in DisplayR101310124FloatSupply VoltageR101510144FloatMax Speed (at Velocity Unitas shown in Display)R101710164FloatMax Flow (at Flow Unit asshown in Display)R101910184FloatStatus of SensorR102110204FloatFlow Min at Flow Unit inDisplay since Clear Min/MaxR102310224FloatFlow Max at Flow Unit inDisplay since Clear Min/MaxR102510244FloatFlow AV at Flow Unit 384FloatAverage Consumpton atConsumption Unit in DisplayGas Temp Min at Temp. Unitin Display since ClearMin/MaxGas Temp Max at Temp. Unitin Display since ClearMin/MaxGas Temp AV at Temp. Unitin DisplayVelocity Min at Velocity Unitin Display since ClearMin/MaxVelocity Max at Velocity Unitin Display since ClearMin/MaxVelocity AV at Velocity Unitin DisplayVA 5xx Modbus RTU Installation V1.10RUnit /CommentnoError0x0000NotCalibrated OutofRange 0x0080Direction0x0100LowVolt4 200x0200NextCalElapsed 0x0400Direction not Cal 0x0800AV over the Time fromAV Time Setup 1 to1440 minutesConsumption over Timeat AVTime SetupRRRAV over the Time fromAVTime Setup 1 to 1440minutesRRRAV over the Time fromAVTime Setup 1 to 1440minutesSide 12 of 28

ModbusRegisterModbusAddressNo.ofByteData faultReadWritexRxRValue only available withpressure optionxRValue only available withpressure optionxRValue only available withpressure optionxRonly available in DirectionSensor VaxxxxxRonly available in DirectionSensor VaxxxxxRonly available in DirectionSensor VaxxxxxRonly available in DirectionSensor VaxxxxreservedxRreservedxRDescriptionIncremented Pulsessince setup pulseSystempressure (atPressure Unit showed inDisplay)Systempressure Min atPressure Unit in Displaysince Clear Min/MaxSystempressure Max atPressure Unit in Displaysince Clear Min/MaxTotal Counter bevorecomma as showed inDisplay (left side)Total Counter aftercomma as showed inDisplay (left side)Total Counter bevorecomma as showed inDisplay (left side rightside)Total Counter aftercomma as showed inDisplay (left side rightside)Unit /Commentto1099VA 5xx Modbus RTU Installation V1.10Side 13 of 28

ModbusRegisterModbusAddressNo.ofByteData Type110111004FloatFlow in m³/hR110311024FloatFlow Min in m³/h since lastLast Clear Min/MaxR110511044FloatFlow Max in m³/h since lastClear Min/MaxR110711064FloatFlow AV in m³/hR110911084FloatFlow in Nm³/hR111111104FloatFlow Min in Nm³/h since lastClear Min/MaxR111311124FloatFlow Max in Nm³/h since lastClear Min/MaxR111511144FloatFlow AV in Nm³/hR111711164FloatFlow in m³/minR111911184FloatFlow Min in m³/min since lastClear Min/MaxR112111204FloatFlow Max in m³/min since lastClear Min/MaxR112311224FloatFlow AV in m³/minR112511244FloatFlow in Nm³/minR112711264FloatFlow Min in Nm³/min sincelast Clear Min/MaxR112911284FloatFlow Max in Nm³/min sincelast Clear Min/MaxR113111304FloatFlow AV in Nm³/minR113311324FloatFlow in ltr/hR113511344FloatFlow Min in ltr/h since lastClear Min/MaxR113711364FloatFlow Max in ltr/h since lastClear Min/MaxR113911384FloatFlow AV in ltr/hRDescriptionVA 5xx Modbus RTU Installation V1.10DefaultReadWriteUnit /CommentAverage for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Side 14 of 28

ModbusRegisterModbusAddressNo.ofByteData Type114111404FloatFlow in Nltr/hR114311424FloatFlow Min in Nltr/h since lastClear Min/MaxR114511444FloatFlow Max in Nltr/h since lastClear Min/MaxR114711464FloatFlow AV in Nltr/hR114911484FloatFlow in ltr/minR115111504FloatFlow Min in ltr/min since lastClear Min/MaxR115311524FloatFlow Max in ltr/min since lastClear Min/MaxR115511544FloatFlow AV in ltr/minR115711564FloatFlow in Nltr/minR115911584FloatFlow Min in Nltr/min sincelast Clear Min/MaxR116111604FloatFlow Max in Nltr/min sincelast Clear Min/MaxR116311624FloatFlow AV in Nltr/minR116511644FloatFlow in ltr/sR116711664FloatFlow Min in ltr/s since lastClear Min/MaxR116911684FloatFlow Max in ltr/s since lastClear Min/MaxR117111704FloatFlow AV in ltr/sR117311724FloatFlow in Nltr/sR117511744FloatFlow Min in Nltr/s since lastClear Min/MaxR117711764FloatFlow Max in Nltr/s since lastClear Min/MaxR117911784FloatFlow AV in Nltr/sR118111804FloatFlow in cfmR118311824FloatFlow Min in cfm since lastClear Min/MaxR118511844FloatFlow Max in cfm since lastClear Min/MaxR118711864FloatFlow AV in cfmRDescriptionVA 5xx Modbus RTU Installation V1.10DefaultReadWriteUnit /CommentAV over the Time fromAVTime Setup 1 to 1440minutesAverage for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Side 15 of 28

ModbusRegisterModbusAddressNo.ofByteData Type118911884FloatFlow in NcfmR119111904FloatFlow Min in Ncfm since lastClear Min/MaxR119311924FloatFlow Max in Ncfm since lastClear Min/MaxR119511944FloatFlow AV in NcfmR119711964FloatFlow in kg/hR119911984FloatFlow Min in kg/h since lastClear Min/MaxR120112004FloatFlow Max in kg/h since lastClear Min/MaxR120312024FloatFlow AV in kg/hR120512044FloatFlow in kg/minR120712064FloatFlow Min in kg/min since lastClear Min/MaxR120912084FloatFlow Max in kg/min since lastClear Min/MaxR121112104FloatFlow AV in kg/minR121312124FloatFlow in kg/sR121512144FloatFlow Min in kg/s since lastClear Min/MaxR121712164FloatFlow Max in kg/s since lastClear Min/MaxR121912184FloatFlow AV in kg/sR122112204FloatFlow in kWR122312224FloatFlow Min in kW since lastClear Min/MaxR122512244FloatFlow Max in kW since lastClear Min/MaxR122712264FloatFlow AV in kWRDescriptionVA 5xx Modbus RTU Installation V1.10DefaultReadWriteUnit /CommentAverage for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Average for time perioddefined in AVTime Setup„1 to 1440 minutes“Side 16 of 28

tReadWrite126912684UInt32Consumption m³ beforecommaxR127112704FloatConsumption m³ after commaxR127312724FloatConsumption m³ AVxR127512744UInt32Consumption Nm³ beforecommaxR127712764FloatConsumption Nm³ aftercommaxR127912784FloatConsumption Nm³ AVxR128112804UInt32Consumption ltr beforecommaxR128312824FloatConsumption ltr after commaxR128512844FloatConsumption ltr AVxR128712864UInt32Consumption Nltr beforecommaxR128912884FloatConsumption Nltr after commaxR129112904FloatConsumption Nltr AVxR129312924UInt32Consumption cf beforecommaxR129512944FloatConsumption cf after commaxR129712964FloatConsumption cf AVxR129912984UInt32Consumption Ncf beforecommaxR130113004FloatConsumption Ncf after commaxR130313024FloatConsumption Ncf AVxR130513044UInt32Consumption kg beforecommaxR130713064FloatConsumption kg after commaxR130913

MBAP MODBUS application protocol RS485 Refers to the 2—wire communication standard defined by EIA/TIA-485. (Physical layer) Ethernet 1.2 References 1. MODBUS over Serial Line Specification and Implementation Guide V1.02 modbus.org 2006 Dec 20 2. MODBUS APPLICATION PROTOCOL SPECIFICATION V1.1b modbus.org 2006 Dec 28 3.

Related Documents:

3. System description 5 3.1 Modbus 5 3.2 CIM 200 Modbus RTU 5 3.3 CIM 260 3G/4G cellular Modbus 5 3.4 CIM 500 Modbus TCP 5 4. Specifications 6 4.1 CIM module 6 4.2 CIM 200 Modbus RTU 6 4.3 CIM 260 3G/4G cellular 7 4.4 CIM 500 Modbus TCP 7 5. CIM 200 Modbus RTU setup 8 5.1 Setting the Modbus transmission speed 8 5.2 Setting the stop bits and the .

Modbus/TCP Modbus Master/Slave A Modbus master/slave network provides a protocol for data transfer and programming with a single RTU master and up to 247 slave . The Modbus/TCP KEPServer driver supports Modbus and Mailbox device models. Modbus Device Model. Publication 2711P-UM002B-EN-P - March 2007 Modbus Applications PanelView Plus

User Guide: FAAST XT Fire Alarm Aspiration Sensing Technology Modbus Protocol Schema 10 5 Rev A Modbus Resources 1. Modbus Application Protocol Specification, Version 1.1b3, Modbus Organization, Hopkinton, MA, 2012 2. Modbus over Serial Line Specification and Implementation Guide, Version 1.02, Modbus Organization, Hopkinton, MA, 2006

NP ModBus TCP N System Configuration Example 8 Add a ModBus Master Port and Node Expand the "MB NP Modbus TCP" branch on the I/O Configuration Form by clicking on the . Expand the Modbus TCP by clicking on the . Expand the "ModBus Port NP ModBus TCP Master Port" branch on the I/O Configuration Form by clicking on the . Expand the Nodes branch on the I/O Configuration Toolbox by .

Modbus TCP Ethernet EN . Version 0.14 . MODBUS TCP ETHERNET EN - V0.14 Modbus TCP Ethernet EN RapidoScan, Modbus TCP and Ethernet, EN.docx Preface . But because of the master - slave principle of Modbus a controlled polling by a master unit is necessary. Therefore, to transmit a measurement result via Modbus an additional query .

2.2 Modbus RTU connection to the SIMOCODE pro device SIMOCODE pro Modbus RTU 12 Configuration Manual, 04/2015, A5E33498234002A/RS-AA/001 2.2 Modbus RTU connection to the SIMOCODE pro device Connecting Modbus RTU to the SIMOCODE pro V Modbus basic unit Modbus RTU can be connected to the SIMOCODE pro V basic unit both viathe connectingFile Size: 1MB

Modbus(2) AirTF . Modbus(3) RH . Modbus(4) WS_mph . Modbus(5) WindDir . Modbus(6) SlrW . Modbus(7) Rain_in . NextScan . EndProg . Near the end of the program are several lines that copy values from measurements to values within an array. For example, this line copies the air temperature measurement into the second value of an array called .

Advantech WebAccess Device Driver Guide Modicon Modbus TCP/IP Version 4.5 rev 0 Advantech Corp., Ltd. page 3 1. Modbus TCP/IP Device Communications 1.1 Introduction to Modbus Ethernet /TCPIP Advantech WebAccess SCADA Node provides a Modbus master interface using Modbus RTU protocol for communicating with Modbus slave devices. Slave