Advertisement
0x | Preface indicating a hexadecimal number |
RTU | Remote Terminal Unit |
CRC | Cyclic Redundancy Check. |
Table 1: Abbreviations Table
The table below describes the specifications of the Modbus interface present:
Modbus specifications | Description | Comments |
Protocol | Modbus RTU | Only "Slave" mode is supported |
Connector | Screw terminal | |
Modbus connection | RS485 - 2 wire | |
Slave address | 1-247 | Set at the first start by the display, otherwise by Modbus a message |
Line termination | Absent on appliance | If necessary proceed as described in Wiring |
Transmission speeds supported | 1200, 2400,4800,9600,19200,38400 Kb/s | Set by display or Modbus a message |
Start bit | 1 | |
Data bit | 8 | |
Stop bit | 1 o 2 | Set by display or Modbus a message |
Parity | None, Even or Odd | Set by display or Modbus a message |
Table 2: Modbus specifications
Notes:
A Modbus network contemplates only one master device connected to the network and up to 247 SLAVE devices which can communicate on the bus only after a request made by the master.
The type of network recommended for connecting the device to a Modbus network is the "daisy chain" type, with the possibility of making small derivations, the maximum length of which depends on the baud rate chosen for transmission.
The maximum number of devices connected to a network without repeaters is 32.
As shown in Figure 1, it may be necessary to terminate the line at the end and at the beginning with terminating resistors (LT).
Modbus communication with 2-wire RS485 contemplates the use of 3 cables (A, B and GND). Connect the 3 cables correctly. It is recommended to use a screened 2-pole cable, with a twisted pair.
MODBUS Terminals | Description |
A | Terminal not inverted (+) |
B | Terminal inverted (-) |
Y | Screen |
Table 3: Modbus- Rs485 connection
For the connections, see the product installation manual.
To configure the Modbus parameters correctly, the user must the access the Modbus configuration menu, accessible from the display (see Installation manual).Table 4 describes the parameters that can be set from the menu.
Parameter Symbol | Description | Range | Default value | Measuring unit |
Ad | Modbus address of the device | 1-247 | 1 | |
Br | Serial communication baud rate | 1.2, 2.4, 4.8, 9.6, 19.2, 38.4 | 19.2 | Kb/s |
Pa | Type of parity control | None, Odd, Even | Even | |
Sb | Number of stop bits | 1-2 | 1 | |
Rd | Minimum response time | 0-3000 | 0 | ms |
En | Modbus enabling | Disable, Enable | Disable |
Table 4: Parameter Configuration from Display
After having set all the parameters, enable the Modbus peripheral by setting parameter En at Enable.
The registers have a 16-bit size, if the content of the register is 0x7FFF, the content is not available. R/W registers are available to read with the function codes 0x03, 0x04, to write with the function codes 0x06, 0x10.
R registers are available in read-only mode with the function codes 0x03 e 0x04.
The data are all of the UNSIGNED type, except registers named Temperature (e.g. 00212 ), which have SIGNED data.
Attention: The registers have a value from 1 to n, the address in the data package goes from 0 to n1!!! (see example 3.2)
Address | Name | Type | Range (Scale) | R/W | Description |
00001 | SlaveMinimumReplyDelay | 0-3000 (1 ms) | R/Wa | The value indicates the minimum reply time of the Slave to a request from the Master. | |
00002 | SetModbusAddress | 1-247 | R/Wa | The value indicates the address that the device will have on the ModBus field bus. If a value is inserted that is not in the validity range, the previous value will be maintained. | |
00003 | ModbusBaudRate | 0-5 | R/Wa | The value defines the serial communication baud rate.
| |
00004 | ModbusParityBits | 0-2 | R/Wa | The value defines the type of parity used in serial transmission.
| |
00005 | ModbusStopBits | 1-2 | R/Wa | The value defines the number of Stop bits used.
| |
00006 | AutoAckControlBits | 0-1 | R/Wa | The value defines whether the user must manually reset at 0 the reset Alarm and ClearHistory registers.
| |
00101 | SystemResetAlarm | R/Wb | The control bit resets the system alarms
| ||
00102 | System ClearHistory | R/Wb | Resets the alarm history of the entire system
| ||
00103 | RegulationMode | R/W | The register value indicates the type of regulation chosen for the pump. | ||
Evoplus Small Software Version (A.B) 1.xx
Evoplus M/L Software Version (A.B) 3.xx
| |||||
00104 | RegulationSetPoint | (0.1m) | R/W | The value indicates the regulation set point. | |
00105 | RegulationTmax | 0-100 (1°C) | R/W | The value indicates the parameter Tmax with which to make the curve depending on temperature | |
00106 | RegulationAutoEconomy | The value indicates the choice to use "auto" or "economy" mode
| |||
00107 | SetPointPerCentReduction | 50-90% (1%) | R/W | The value indicates the percentage reduction of the set point in "economy" mode. | |
00108 | ExtSignalType | 0-3 | R/W | The value indicates the type of external signal that regulates the set point (used only in some modes).
| |
00109 | TwinPumpSystemMode | 0-2 | R/W | In the case of twin operation, the parameter indicates the operating mode
| |
00110 | MaxRpmPercent | 25-100 (1%) | R/W | The value indicates the set point as a percentage of the value of the maximum allowed revs | |
00111 | OnOffExt | 0-2 | R/W | The value indicates the Pump on or off status
| |
Configuration block and status of Pump 1 | |||||
00201 | Bit0: Pump1ResetAlarm | R/W | If at 1 resets alarm | ||
Bit1: Pump1ClearHistory | If at 1 resets alarm history
| ||||
00202 | Pump1Status | 0-2 | R | Indicates the pump status
| |
00203 | Pump1Fault | 0-1 | R | Indicates if the inverter is stopped due to a fault
| |
00211 | Pump1ElectronicBoardTemp erature | (1°C) | R | Ambient temperature value inside container | |
00212 | Pump1ElectronicHeatsinkTe mperature | (1°C) | R | Temperature value on heat sink. | |
00213 | Pump1LineVoltage | (1V) | R | Input voltage value (Rms) | |
00214 | Pump1OutCurrent | (1mA) | R | Output current value | |
00215 | Reserved | ||||
00216 | Pump1RPM | (1rpm) | R | Motor revs per minute | |
00217 | Pump1Power | (1W) c | R | Power delivered | |
00218 | Pump1OperatingTimeHI | (1h) | R | Pump use time | |
00219 | Pump1OperatingTimeLO | (1h) | R | Pump use time | |
00220 | Pump1Head | (0.1m) | R | Pump head | |
00221 | Pump1EstimatedFlow | (0.1m3/ h) | R | Value of estimated flow in m3/h | |
00222 | Pump1LiquidTemperature | (1°C) | R | Value of temperature measured by internal sensor | |
00223 | Pump1LiquidTemperatureExt | (1°C) | R | Value of temperature measured by external sensor | |
00224-00230 | Reserved | ||||
00231-00245 | Pump1Alarm | Alarms history, the register 00231 contains the most recent alarm, while the register 00245 contains the least recent alarm. For the list of alarms, see the user manual. | |||
00251 | SoftwareNumberVersionA | 0-255 | R | ||
00252 | SoftwareNumberVersionB | 0-255 | R | ||
00253 | SoftwareNumberVersionC | 0-255 | R | ||
00254 | SoftwareNumberVersionD | 0-255 | R | ||
00255 | SoftwareNumberVersionE | 0-255 | R | ||
00256 | SoftwareNumberVersionF | 0-255 | R | ||
00257 | Unit Family | R | Indicates the name of the device family | ||
00258 | UnitType | R | Indicates the type of device of the specific family | ||
00259 | Unit Version | R | Product version |
Table 5: Modbus registers
Notes:
The maximum length of a Modbus package is 256 byte.
The package structure is shown in Error! Reference source not found..
Slave address | Function Code | Data | CRC |
1 byte | 1 byte | 0-252 byte | 2 byte |
Table 6: Modbus package structure
(Function code = 0x03)
This function is for reading the value of the holding registers from the slave device. The request package specifies the start address and the quantity of registers to read.
Slave address | Function Code | Start address HI | Start address LO | Quantity of registers HI | Quantity of registers LO |
0x01 | 0x03 | 0x00 | 0x02 | 0x00 | 0x01 |
The slave reply will contain the number of reply bytes and the content of the registers.
Slave address | Function Code | Bytes sent | HI value | LO value |
0x01 | 0x03 | 0x02 | 0x00 | 0x00 |
(Function code = 0x04)
This function is for reading the value of the input registers from the slave device. The request package specifies the start address and the quantity of registers to read.
Slave address | Function Code | Start address HI | Start address LO | Quantity of registers HI | Quantity of registers LO |
0x01 | 0x04 | 0x00 | 0xFF | 0x00 | 0x01 |
The slave reply will contain the number of reply bytes and the content of the registers.
Slave address | Function Code | Bytes sent | HI value | LO value |
0x01 | 0x04 | 0x02 | 0x00 | 0x00 |
(Function code = 0x06)
This function is for writing a register of the slave device. The request package specifies the register address and the value (2 byte) to write.
Slave address | Function Code | Start address HI | Start address LO | HI value | LO value |
0x01 | 0x06 | 0x00 | 0x02 | 0x00 | 0x02 |
Slave reply:
Slave address | Function Code | Start address HI | Start address LO | HI value | LO value |
0x01 | 0x06 | 0x00 | 0x02 | 0x00 | 0x02 |
(Function code = 0x10)
This function is for writing one or more registers of the slave device. The request package specifies the start address, the quantity of registers to write, the number of bytes and the values to write.
Slave address | Function Code | Start address HI | Start address LO | Quantit y of register s HI | Quantity of registers LO | Number of bytes HI | Register 00003 HI |
0x01 | 0x10 | 0x00 | 0x02 | 0x00 | 0x02 | 0x04 | 0x00 |
Register 00003 LO | Register 00004 HI | Register 00004 HI | |||||
0x00 | 0x00 | 0x01 |
Some examples of Modbus communication will be illustrated below.
This section will illustrate how to take a reading of the power supplied by Pump.
The value 0x01 will be used as the address in the example.
Request from master to slave
Byte | Value | Description |
Slave address | 0x01 | |
Function Code | 0x03 | Function "Read holding register" |
Start Address HI | 0x00 | Start address is 0x0D8 = 216, so the Modbus address is 217 |
Start Address LO | 0xD8 | |
Quantity HI | 0x00 | Quantity of registers to read = 1 |
Quantity LO | 0x01 |
Slave reply
Byte | Value | Description |
Slave address | 0x01 | |
Function Code | 0x03 | Function "Read holding register" |
Number of bytes | 0x02 | |
00223 HI | 0x03 | The value read is 0x3E8 = 1000 W |
00324 LO | 0xE8 |
This section will illustrate how to configure the system in alternate mode.
Request from master to slave
Byte | Value | Description |
Indirizzo Slave | 0x01 | |
Function Code | 0x06 | Function "Write holding register" |
Start Address HI | 0x00 | Start address is 0x006C = 108, so the Modbus address is 109 |
Start Address LO | 0x6C | |
Write HI | 0x00 | Sets register at value 1, or alternate mode. |
Write LO | 0x01 |
Slave reply
Byte | Value | Description |
Slave address | 0x01 | |
Function Code | 0x06 | Function "Write holding register" |
Start Address HI | 0x00 | Start address is 0x006C = 108, so the Modbus address is 109 |
Start Address LO | 0x6C | |
Write HI | 0x00 | Sets register at value 1, or alternate mode. |
Write LO | 0x01 |
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.
Advertisement
Need help?
Do you have a question about the EVOPLUS and is the answer not in the manual?
Questions and answers