Introduction 1 Introduction Safety information General This manual contains information that must be observed in the interest of your own safety and to avoid material damage. This information is supported by symbols which are used in this manual as indicated. Please read this manual before starting up the device.
1 Introduction Content of this document NOTE! This document applies to devices from the device series 70211x (compact controllers) as well as to de- vices from the device series 70151x (digital indicators). This document describes the use of the RS485 interface or the Ethernet interface as a Modbus slave in the operating modes Modbus-RTU or Modbus-TCP or Modbus-RTU/ASCII via TCP/IP.
Interface 2 Interface There is an option to equip the device with an RS485 interface or an Ethernet interface. RS485 interface Version Symbol and termi- Version Symbol and termi- for type 701510 (format 132) nal designation for types 701511 to 701514 nal designation Option 1: Option 1 (alternative to digital...
Page 8
2 Interface Configuration of the Ethernet interface Prerequisite: The Lantronix CPR Manager PC software has been installed and started. 1. Start screen Click OK on the start screen. The "CPR Manager ..." window opens. 2. Search for device Click on „Search For Devices“. The device found is listed in the Device List.
Page 9
2 Interface Click on the menu item "Network" in the left column. The Network Settings window opens. 6. The Network Settings window displays the current network settings of the device. Under "IP Configuration", assign a fixed IP address for the device and enter the subnet mask. Con- firm the settings with OK.
Page 10
2 Interface If necessary, change the values under "Port Settings" so that they match the settings in this figure. Confirm the settings with OK. In the left column, click on the menu item "Channel 1 - Connection". The Connection Settings window of Channel 1 opens. 8.
Page 11
2 Interface NOTE! The communication should be tested with a suitable PC program, e.g. the Modbus Poll program (https://www.modbustools.com/download.html).
Modbus protocol description 3 Modbus protocol description Master-slave principle Communication between a master and a slave device with Modbus takes place according to the master/ slave principle in the form of data request/instruction – response. Master Slave 1 Slave 2 Slave n The master controls the data exchange;...
3 Modbus protocol description Chronological sequence of communication Character transmission time The character transmission time (time taken to transmit one character with 8 data bits) depends on the baud rate and the number of bits of the character (see table for data format): Character transmission time [ms] = 1000 ×...
3 Modbus protocol description means that the device responds at the maximum possible speed. The minimum response time is required by the master in order to switch the interface drivers from trans- mitting to receiving. NOTE! During t and t and during the response time of the slave, no data requests may be generated by the master.
3 Modbus protocol description Modbus-RTU/ASCII via TCP/IP With Modbus-RTU/ASCII via TCP/IP the MBAP header is omitted, the entire Modbus telegram (with CRC) is transmitted via TCP. Device address (RS485) The device address can be set to between 1 and 254 .
3 Modbus protocol description 3.6.1 Reading n words This function is used to read n words starting at a specific address. Data request Slave address Function Address of Number of words Checksum CRC 0x03 or 0x04 first word 1 byte 1 byte 2 bytes 2 bytes...
3 Modbus protocol description 3.6.2 Writing one word This function is used to write one word to a specific address. The data blocks are identical for the instruction and response. Instruction Slave address Function Word address Word value Checksum CRC 0x06 1 byte 1 byte...
3 Modbus protocol description 3.6.3 Writing n words This function is used to write n words starting at a specific address. Instruction Slave address Function Address of Number of Number of Word val- Checksum 0x10 first word words bytes ue(s) 1 byte 1 byte 2 bytes...
3 Modbus protocol description Transmission formats 3.7.1 Integer values Integer values are transmitted via Modbus in the following sequence: First the high byte, then the low byte. Example In this example, the integer value at address 0x5208 is to be extracted. The value here is to be "4" (word value 0x0004).
Page 21
3 Modbus protocol description After extracting from the device, the bytes for the floating-point value must be interchanged accordingly. Many compilers (for example, Microsoft Visual C++) store the floating-point values in the following se- quence: Floating-point value Address x Address x+1 Address x+2 Address x+3 MMMMMMMM...
3 Modbus protocol description Checksum (CRC16) Transmission errors are detected with the aid of the checksum (CRC16). If an error is detected during evaluation, the device concerned does not respond. Calculation principle CRC = 0xFFFF CRC = CRC XOR BytesOfMessage For (1 to 8) CRC = SHR(CRC) if (flag shifted to the right = 1...
3 Modbus protocol description Error messages 3.9.1 Modbus error codes The slave device does not respond The slave will not respond in the following cases: • The baud rate and/or data format of the master and slave do not match •...
3 Modbus protocol description 3.9.2 Error messages for invalid values For measured values in the floating-point format, the error is displayed in the value itself, i.e. it contains the error code instead of the measured value. Error code for floating-point val- Error 1.0 ×...
Modbus addresses 4 Modbus addresses Data types and access types The following data types and access types must be used by the Modbus master when accessing the device (Modbus slave). Data types BOOL16 The least significant bit of a word (16-bit) as a Boolean value (1 = TRUE; 0 = FALSE); the remaining bits are not used.
4 Modbus addresses Addresses The following tables contain configuration parameters, commands, and process values for the device in- cluding its address, data type, and type of access. In principle, the specifications apply to devices of type 70211x (compact controllers) and type 70151x (digital indicators).
Page 27
4 Modbus addresses Parameter blocks (only for type 70211x) Address Data type Access Designation Hex. Dec. Parameter block 1 0x1F00 7936 ENUM16 1. control structure 0 = P 1 = I 2 = PD 3 = PI 4 = PID 0x1F01 7937 ENUM16...
Page 28
4 Modbus addresses Address Data type Access Designation Hex. Dec. 0x1F34 7988 FLOAT Xd1 switching differential 0x1F36 7990 FLOAT Xd2 switching differential 0x1F38 7992 INT16 TT actuator time 0x1F39 7993 INT16 Y0 working point 0x1F3A 7994 INT16 Y1 max. output value limit 0x1F3B 7995 INT16...
Page 29
4 Modbus addresses Address Data type Access Designation Hex. Dec. Section 6 0x2025 8229 FLOAT Setpoint value (see section 1) 0x2027 8231 FLOAT (reserved) 0x2029 8233 UINT32 Duration 0x202B 8235 BIT16 Operating contacts (see section 1) Section 7 0x202C 8236 FLOAT Setpoint value (see section 1) 0x202E...
Page 30
4 Modbus addresses Address Data type Access Designation Hex. Dec. 0x2063 8291 BIT16 Operating contacts (see section 1) Section 15 0x2064 8292 FLOAT Setpoint value (see section 1) 0x2066 8294 FLOAT (reserved) 0x2068 8296 UINT32 Duration 0x206A 8298 BIT16 Operating contacts (see section 1) Section 16 0x206B 8299...
4 Modbus addresses 4.2.3 Process values Analog process values In this section, different analog process values are listed under consecutive addresses so that they can be extracted using a read operation. Some of these process values are also listed in the section of the respective function – under a different address.
Page 34
4 Modbus addresses Address Data type Access Designation Type Hex. Dec. 70211x 70151x 0x704C 28748 FLOAT 5. ST analog output 0x704E 28750 FLOAT 6. ST analog output 0x7050 28752 FLOAT Analog output 0x7052 28754 FLOAT Service counter 0x7054 28756 FLOAT Operating time X = Process value exists;...
Page 35
4 Modbus addresses Address Data type Access Designation Type Hex. Dec. 70211x 70151x 0x6D56 27990 BIT16 Controller outputs 0000 0000 0000 0001 = Output 1 active (heating) 0000 0000 0000 0010 = Output 2 active (cooling) 0000 0000 0000 0100 = Manual mode active 0000 0000 0000 1000 = Autotuning active 0000 0000 0001 0000 = Regler aus 0000 0000 0010 0000 = Controller cycle alarm active...
Page 36
4 Modbus addresses Address Data type Access Designation Hex. Dec. 0x4B2A 19242 BOOL16 Autotuning active 0 = not active 1 = active 0x4B2B 19243 BOOL16 Manual mode active 0 = not active 1 = active 0x4B2C 19244 BOOL16 Manual mode active due to measuring range overflow or underflow 0 = not active 1 = active...
Page 37
4 Modbus addresses Address Data type Access Designation Hex. Dec. 0x5227 21031 BOOL16 Automatic mode signal 0x5228 21032 BOOL16 Tolerance band signal 0x5229 21033 BOOL16 Fixed-setpoint controller signal 0x522A 21034 BOOL16 Program end signal 0x522B 21035 BOOL16 Program prerun signal (active during lead time) Setpoint values (only for type 70211x) Address Data type...
Page 40
JUMO GmbH & Co. KG JUMO Instrument Co. Ltd. JUMO Process Control, Inc. Street address: JUMO House 6733 Myers Road Moritz-Juchheim-Straße 1 Temple Bank, Riverway East Syracuse, NY 13057, USA 36039 Fulda, Germany Harlow, Essex, CM20 2DY, UK Delivery address:...
Need help?
Do you have a question about the diraTRON Series and is the answer not in the manual?
Questions and answers