Home

Modbus® RTU Serial Communication User Manual

image

Contents

1. Write relay status if it is released to Modbus control main menu gt output gt switching type gt relay 1 2 gt modbus controlled value 0x0000 gt Relay off value OxFFOO gt Relay on
2. gt address gt select a slave address from 1 247 05 11 2014 Modbus RTU 5 Stubbe Partner for Solutions In the main menu gt basic settings gt Modbus setting gt interface gt select a baud rate from 2400 to 38400 In the second step select even parity with one stop or no parity with two stops Keep in mind to use the same interface settings for all Modbus member The default settings are Table 3 1 ASV Stuebbe Modbus device defaults 8 Modbus RTU Function Codes Address Table The ASV Stuebbe Modbus RTU protocol uses a subset of the standard Modbus RTU function codes to provide access to process related information Several standard Modbus RTU function codes are supported These standard function codes provide basic support for IEEE 32 bit floating point numbers and 16 bit integer register representation of instruments process data Table 4 1 PTM Modbus RTU Function Codes Read Coil 0x00 gt RELAY1 Bit Read relay status Status 0x01 gt RELAY2 Read Input 0x00 gt INPUT1 Bit Read input status A TRUE logic level on Status 0x01 gt INPUT2 the inputs are extended to minimum 5 seconds Read 0x00 gt PTM Version Unsigned Value 310 gt V3 10 Holding Integer Registers 0x01 gt Pressure mBar Signed Value 0 10000 gt 0 10 Bar Integer 0x02 gt Temperature 1 10 C Signed Value 350 1250 gt 35 0 125 0 C Integer 0x08 gt Error Unsigned TRUE gt Sensor error Integer FALSE gt S
3. Sensor error FALSE gt Sensor ok Value 40 gt Device ID 40 IEEE 32 bit floating point IEEE 32 bit floating point IEEE 32 bit floating point IEEE 32 bit floating point Write relay status if it is released to Modbus control main menu gt output gt switching type gt relay 1 2 gt modbus controlled value 0x0000 gt Relay off value OxFFOO gt Relay on Stubbe Partner for Solutions Table 4 3 UFM FLEX Modbus RTU Function Codes Read Coil Status Read Input Status Read Holding Registers Read Input Registers Force Single Coil 05 11 2014 0x00 gt RELAY1 0x01 gt RELAY2 0x00 gt INPUT1 0x01 gt INPUT2 0x00 gt UFM Version 0x01 gt Distance mm 0x02 gt 0x08 gt Error 0x09 gt Device ID UFM Ox0A gt Distance cm 0x0C gt Filling Level cm OxOE gt Volume I 0x14 gt Temperature C 0x00 gt RELAY1 0x01 gt RELAY2 Bit Bit Unsigned Integer Signed Integer Signed Integer Unsigned Integer Unsigned Integer Float ABCD Float_ABCD Float_ABCD Float_ABCD Bit Modbus RTU Read relay status Read input status A TRUE logic level on the inputs are extended to minimum 5 seconds Value 310 gt V3 10 Value 0 6000 gt 0 6000 mm TRUE gt Sensor error FALSE gt Sensor ok Value 50 gt Device ID 50 IEEE 32 bit floating point IEEE 32 bit floating point IEEE 32 bit floating point
4. EE Stubbe Partner for Solutions Modbus RTU Serial Communication User Manual ASV St bbe GmbH amp Co KG Hollwieser Stra e 5 32602 Vlotho Germany Phone 49 0 5733 799 0 Fax 49 0 5733 799 5000 E Mail contact asv stuebbe de Internet www asv stuebbe de Modbus is a registered trademark of Schneider Electric licensed to the Modbus Organization Inc Abstract This document provides generic information for ASV Stuebbe implementing the Modbus RTU Serial Communication protocol Information relating to specific ASV St bbe devices is supplied in separate user manuals 05 11 2014 Modbus RTU Stubbe Partner for Solutions Contents 1 Modbus RTU Implementation ccccccccsseeceeeceeeeceeecaeeeeeeeeeeeeeeeeseeeseeeesauseeeessseseeeessageeeeessenes 2 2 Modbus RTU Configuration Interface cccccccccseseecceceeecaeeeeeeeeeeeeeeeeeeceeeesesaeeseeeeeeeessaaaeeeeeeees 3 3 Input ANd Output Interface 00 0 eee cccccccceeeeeeeeeeeeeeaeeeeeceeeeeseeeeseeeeeesseeeeeeeeeeeeseeeseceeeeessaaaseeeeeees 4 4 Modbus RTU Message Formalt cccccccccssseceeeceeeeceeesaeseceeeseeeeceeesseeeeeeesseeeeeessaeeeessaageeeessaaess 5 5 Modbus RTU LINK LAY Of sence 2cadecscendextenccadecacetotedaedcodacancedtncasndiddcnaseatnichdcwdecedadunceacdadaeanctateentseodde 5 6 IEEE 32 bit Floating Point Register Information ccccsccecccseeeeeeseeeeceeeeeseeeeeseeeeesaaeeeesaeeeeeas 5 Te Modbus General M
5. ensor ok 0x09 gt Device ID PTM Unsigned Value 41 gt Device ID 41 Integer Ox0A gt Pressure Bar Float_ABCD IEEE 32 bit floating point 0x14 gt Temperature C Float_ABCD IEEE 32 bit floating point 0x00 gt RELAY1 Bit Write relay status if it is released to Modbus 0x01 gt RELAY2 control main menu gt output gt switching type gt relay 1 2 gt modbus controlled value 0x0000 gt Relay off value OxFFOO gt Relay on 05 11 2014 Modbus RTU 6 Stubbe Partner for Solutions Table 4 2 HFT Modbus RTU Function Codes Read Coil Status Read Input Status Read Holding Registers Read Input Registers Force Single Coil 05 11 2014 0x00 gt RELAY1 0x01 gt RELAY2 0x00 gt INPUT1 0x01 gt INPUT2 0x00 gt HFT Version 0x01 gt Pressure mBar 0x02 gt Temperature 1 10 C 0x08 gt Error 0x09 gt Device ID HFT Ox0A gt Pressure mBar 0x0C gt Filling Level cm OxOE gt Volume I 0x14 gt Temperature C 0x00 gt RELAY1 0x01 gt RELAY2 Bit Bit Unsigned Integer Signed Integer Signed Integer Unsigned Integer Unsigned Integer Float ABCD Float_ABCD Float_ABCD Float_ABCD Bit Modbus RTU Read relay status Read input status A TRUE logic level on the inputs are extended to minimum 5 seconds Value 310 gt V3 10 Value 0 10000 gt 0 10 Bar Value 350 1250 gt 35 0 125 0 C TRUE gt
6. enu Settings ccccccccccccceceeeseeeeeeeeeceeeesececeeeesaeeeeeeeeesssaeaeeeeeeeeessaeaseeseeees 5 8 Modbus RTU Function Codes Address Table cccccccsecceccseececenececeeseeeeenececeeseeecegeeeeeegesenaees 6 Tables Table 1 1 ASV Stuebbe Modbus devices 2 Table 2 1 Modbus RTU Message Formats 4 Table 3 1 ASV Stuebbe Modbus device defaults 5 Table 4 1 PTM Modbus RTU Function Codes 5 Table 4 2 HFT Modbus RTU Function Codes 6 Table 4 3 UFM Modbus RTU Function Codes 7 1 Modbus RTU Implementation This implementation is designed to provide a popular data exchange format connecting these instruments to foreign master devices The Modbus RTU allows the instrument to be a citizen on a data link shared with other devices that subscribe to the Modbus RTU RS 485 specification PTM Pressure and temperature transmitter HFT Hydrostatic tank level sensor UFM FLEX Ultrasonic tank level sensor Table 1 1 ASV Stuebbe Modbus devices 05 11 2014 Modbus RTU 2 Stubbe Partner for Solutions 2 Modbus RTU Configuration Interface The ASV Stuebbe Modbus uses the RS 485 TIA 485 A as a physical layer There are two terminals in parallel marked with IN and OUT to connect the Modbus in a line configuration RS 485 uses a differential balanced line over twisted pair marked with A and B and GND To connect the device use a 4 wire cable with a maximum dia AWG2 and connect A and B
7. lt RELAY 2 ON O 23 C NPUT 1 OPEN INPUT 2 OPEN Unidisplay RELL Modbus PCBA 05 11 2014 Modbus RTU 4 Stubbe Partner for Solutions 4 Modbus RTU Message Format Table 2 1 Modbus RTU Message Formats Coding 8 bit binary system Number of fee CCC im character With Parity Checking Without Parity Checking fal GA ada a lfc hc Bit transfer 2400 4800 9600 19200 38400 Selectable rate Duplex Halt Half duplex Transceiver with Failsafe Transceiver with Failsafe Ee Te i cyclic redundancy check checking Polynomial CRC 16 10100000000001 16 10100000000001 Lili transfer first order Idle line for 3 5 or more characters gt 1 75 msec for gt 19200 Bps e Table 2 1 ASV Stuebbe Modbus Formats 5 Modbus RTU Link Layer The link layer includes the following properties behaviors Slave address recognition Start End of Frame detection CRC 16 generation checking Transmit receive message time out Buffer overflow detection m Framing error detection 6 IEEE 32 bit Floating Point Register Information The Modbus applications support IEEE 32 bit floating point information for several of the function codes 7 Modbus General Menu Settings In a Modbus RTU bus every slave uses an own unique address Use the ASV Stuebbe Unidisplay to set up the specific slave address In the main menu gt basic settings gt Modbus setting
8. with one twisted pair and a second pair with 24V and GND nation leda Poe OUT It is mandatory to terminate the RS 485 bus at the end of the line Therefore set the jumper Bus Termination to left and middle pin to the position ON Example 1 Bus Termination ON ON An Bee TT Y PEPER i NE A erro N Example 2 HHH ripe Ele may ll Bus Termination ON OFF OFF ON 05 11 2014 Modbus RTU Stubbe Partner for Solutions 3 Input and Output Interface Additional to the Modbus interface there are two SPDT relays contact and two optoelectronic isolated inputs available The associated potential of the inputs is on the slot PWR REL amp IN Relay 1 and 2 could be used internally or be controlled Modbus Example 3 shows a pump control circuit proposed with a PTM Example 3 PWR1 H1 H2 H3 H4 Note It is recommended to ground PWR2 with PE but it is mandatory to do this for the HFT Button T1 Start and T2 Stop and RELAY 1 is internally used from the PTM pump control menu RELAY could be controlled from the Modbus master for e g H3 and H4 shows a service required To release the relays function to an external Modbus control Set main menu gt output gt switching type gt relay 1 2 gt modbus controlled The relay and input status is shown in the Unidisplay The relay status is also shown via LEDs on the Modbus PCBA RELAY 1 OFF 2 1 bar 12 a

Download Pdf Manuals

image

Related Search

Related Contents

ASUS PU551JA User's Manual  安全のために必ず守ること 1. タイプ別の違い 3. 同  3M MP8780 User's Manual  HomePortal 2700 Series User Guide  695GC / 695F4  Philips MultiLife SCB2105NB Universal charger  PEAK GeForce 9400GT 1GB GeForce 9400 GT 1GB  Télécharger le  ConneXions IP Hosted Voice User Guide  

Copyright © All rights reserved.
Failed to retrieve file