Rotronic PF4, PF5 Manual

Modbus Manual Version 1.3
-
Modbus Manual for PF4/5
PF4/5 – Bedienungsanleitung
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 2
1. Table of contents
1 Modbus protocol ....................................................................................................................................... 3
1.1. Structure of the Modbus protocol ................................................................................................................. 3
1.1.1 Modbus RTU / TCP ............................................................................................................................. 3
1.2 Modbus Data Format ................................................................................................................................ 4
1.2.1 16-bit Integer Value ............................................................................................................................. 4
1.2.2 32-bit Float corresponding to IEEE 754 ............................................................................................... 4
1.2.3 32-bit Integer Value ............................................................................................................................. 4
1.2.4 Selectable Swap Modes for Rotronic Devices ..................................................................................... 5
2 PF4/5 Modbus Fields and Mapping ......................................................................................................... 5
2.1 PF4/5 Modbus Fields ................................................................................................................................ 5
2.2 Device Specific Coils ................................................................................................................................. 5
2.2.1 Relay and Valve ................................................................................................................................... 5
2.2.2 Sensor Actions ..................................................................................................................................... 6
2.2.3 Device Actions ..................................................................................................................................... 8
2.2.4 Example: Read Single Coil .................................................................................................................. 9
2.2.5 Example: Write Single Coil ................................................................................................................ 10
2.2.6 Example: Reset Device ..................................................................................................................... 10
2.3 Device Specific Discrete Inputs (read only) ............................................................................................ 11
2.4 Device Specific Input Registers (read only) ............................................................................................ 12
2.4.1 Device Data ....................................................................................................................................... 12
2.4.2 Current Values: Float Values ............................................................................................................. 15
2.4.3 Current Values: Integer Values .......................................................................................................... 15
2.4.4 Explanation of Flags .......................................................................................................................... 16
2.4.5 Example: Read Input Register ........................................................................................................... 16
2.5 Device Specific Holding Registers .......................................................................................................... 18
2.5.1 Value Type ......................................................................................................................................... 18
2.5.2 Value Unit .......................................................................................................................................... 19
2.5.3 Integer Value Scaling ......................................................................................................................... 20
2.5.4 Reference Value Settings .................................................................................................................. 21
2.5.5 Device Specific Settings .................................................................................................................... 21
2.5.6 Device Descriptions ........................................................................................................................... 23
2.5.7 Fix Value Settings .............................................................................................................................. 25
2.5.8 Analog Output Settings ...................................................................................................................... 26
2.5.9 Display Settings ................................................................................................................................. 29
2.5.10 Alarm Settings................................................................................................................................ 31
2.5.11 Relay Settings ................................................................................................................................ 35
2.5.12 Analog Input Settings ..................................................................................................................... 37
PF4/5 – Bedienungsanleitung
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 3
Flow Settings ................................................................................................................................. 40
2.5.13
2.5.14 Explanation of Flags ...................................................................................................................... 41
2.5.15 Example: Read Holding Register................................................................................................... 41
2.5.16 Example: Write Holding Register ................................................................................................... 43
3 Document Releases ................................................................................................................................ 44

1 Modbus protocol

The PF4/5 can handle Modbus RTU (asynchronous communication over RS485) and Modbus TCP (client­server communication over Ethernet). Modbus ASCII is not supported.
For detailed information about Modbus protocol see: (http://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
Attention!
Changes to register content (especially Holding Registers) in the PF4/5 can change the functionality of the PF4/5. This may cause the PF4/5 to become inoperable
Changes of register contents should only be made with the necessary knowledge of the Modbus protocol
).

1.1. Structure of the Modbus protocol

1.1.1 Modbus RTU / TCP

1.1.1.1 Modbus RTU
Modbus RTU is an asynchronous communication protocol. The PF4/5 handles Modbus RTU over the included RS485 interface. The communication parameters are 19200 Baud, 8-bit data, no parity, one stop bit and cannot be changed.
1.1.1.2 Modbus TCP
Modbus TCP is a client-server communication protocol over Ethernet. The PF4/5 handles Modbus TCP over the port 502 and cannot be changed.
Modbus TCP needs a Modbus Application Protocol Header (MBAP 7 bytes ) in front of the Protocol Data Unit ( PDU ).
Modbus commands are integrated in PDU. Every Modbus command has his own PDU.
Attention!
Active Modbus TCP Connection If no Modbus request is sent during an active Modbus communication for more than 30 seconds, the active TCP socket is reset and must be reopened for a new Modbus request
Physical interruption of the Ethernet line After a physical interruption of the Ethernet line, the Ethernet connection with the PF4/5 cannot be re-established for at least 30 seconds
PF4/5 – Bedienungsanleitung
Modbus RTU Message
Slave ID
Command
Data
CRC
PDU
Modbus TCP Message
Transaction ID
Protocol ID
Length
Unit ID
Command
Data
MBAP-Header
PDU
Modbus Field N
MSB
LSB
12
34
Byte x
Byte x+1
MSB
LSB
SEEEEEEE
EMMMMMMM
MMMMMMMM
MMMMMMMM
Modbus Field N
Modbus Field N+1
LSB
MSB
MMMMMMMM
MMMMMMMM
SEEEEEEE
EMMMMMMM
Byte x
Byte x+1
Byte x+2
Byte x+3
MSB
LSB
12
34
56
78
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 4
1.1.1.3 Difference between Modbus RTU and TCP
A Modbus RTU message looks like:
A Modbus TCP message includes a MBAP-Header and looks like:
For detailed information look at (http://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf).

1.2 Modbus Data Format

The Modbus protocol only specifies the 16-bit integer data type and is declared as “Big-Endian” protocol.

1.2.1 16-bit Integer Value

16-bit Integer for Modbus Devices
For other data types, as 32-bit floating point, there is no specification how they should be mapped to the Modbus address range. It is up to the device manufacturer to specify this format.

1.2.2 32-bit Float corresponding to IEEE 754

S – Sign E – Exponent M - 23 bit Mantissa
32-bit Float for Rotronic Modbus Devices
The 32-Bit Float value is represented by two 16-bit registers. The 4 Bytes have to be mapped to the Modbus address range as shown below

1.2.3 32-bit Integer Value

Example: Integer Value 0x12345678
32-bit Integer for Rotronic Modbus Devices
The 32-Bit Integer value represents two 16-bit registers. The 4 bytes of the 32-bit Integer value have to be mapped to the Modbus address range as shown below.
PF4/5 – Bedienungsanleitung
Modbus Field N
Modbus Field N+1
LSB
MSB 56
78
12
34
Byte x
Byte x+1
Byte x+2
Byte x+3
Swap Mode
Source Bytes
Target Bytes
No change
[ a b ] [ c d ]
[ a b c d ]
byte and word swap
[ a b ] [ c d ]
[ d c b a ]
byte swap
[ a b ] [ c d ]
[ b a d c ]
word swap (Rotronic Default)
[ a b ] [ c d ]
[ c d a b ]
Primary Tables
Type
Read / Write
Coils / Registers
Function Code
0x01
Read Coils
0x05
Write Single Coil
0x0F
Write Multiple Coils (*)
Discrete Inputs
Bit
Read Only
10’001 … 29’999
0x02
Read Discrete Inputs (*)
Input Registers
16-bit
Read Only
30’001 … 39’999
0x04
Read Input Register
0x03
Read Holding Registers
0x06
Write Single Register
0x10
Write Multiple Registers
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 5
Because there is no standard and it is mostly a matter of personal preference, it is configurable how the four bytes are being mapped to the two registers.

1.2.4 Selectable Swap Modes for Rotronic Devices

Selectable swap modes (see Device Specific Settings -> Modbus Operation Mode) only for 32-bit Float and 32­bit Integer values based on Little Endian memory organisation.
2

PF4/5 Modbus Fields and Mapping

2.1 PF4/5 Modbus Fields

Coils Bit Read/Write 1 … 9’999
Holding Registers 16-bit Read/Write 40’001 … 49’999
Attention!
Coils and registers in Modbus are addressed starting at zero. Therefore coils numbered 1…16 are addressed as 0…15 or registers numbered e.g. 10'001…10'016 are addressed as 10'000…10'015.
Note!
Function Codes 0x02 and 0x0F are not supported by PF4/5 device.
The content of not specified coils/registers are undefined.

2.2 Device Specific Coils

With Modbus Coils you can get the state of one or more coils or activate/deactivate one or more coils.
Assisted Modbus commands are Read Coils (0x01), Write Single Coil (0x05). Modbus Command Write Multiple Coils (0x0F) is not supported.

2.2.1 Relay and Valve

Command to energize/de-energize the relay and/or the valve of the PF4/5 manually.
PF4/5 – Bedienungsanleitung
Coil
Name
Flags
Description
Get state of relay Switch relay ON/OFF
manually. The relay will be de-energized every measuring cycle, when alarm is off
• Get state of valve
Switch valve ON/OFF
Note:
effect
2…8
Reserved
Undefined
*
An energized relay/valve stays energized until the related coil is de-energized
Coils
Name
Flags
Description
Zero Adjustment of Differential Pressure
This action takes about 15 seconds to execute. During this time, communication with the device
is not possible
Acquire a previously set reference value (see
Reference Value Settings)
Delete Acquired Differential Pressure Data
The acquired data will be transferred to the
Table)
Acquire a previously set reference value (see
Reference Value Settings)
Only available for devices including HC2A Probe
• Deletes all previously acquired values
Only available for devices including HC2A Probe
The acquired data will be transferred to the
HC2A Probe
Only available for devices including HC2A Probe
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 6
Attention!
If in Relay Settings the flag Relay x Alarm OFF is set, it is not possible to energize the relay x manually. The relay will be de-energized every measuring cycle, when alarm is off.
Relay *
1
If in Relay Settings one or more Relay Alarm Bits are set, it is not possible to energize the relay
Valve *
2
A Valve is only included in PF5 devices. In PF4 devices activating the Valve will have no

2.2.2 Sensor Actions

Direct sensor actions.
Attention!
Be careful to use these commands, due to any possible miss adjustments.
Modbus command Write Multiple Coils (0x0F) is not supported.
9
10
11
12
13 Acquire Humidity Data *
14 Delete Acquired Humidity Data
15 Adjust Acquired Humidity Data !
Acquire Differential Pressure Data
Adjust Acquired Differential Pressure Data
Zero adjust of the differential pressure sensor
*
• Deletes all previously acquired values
!
corresponding lookup table (Customer Lookup
PF4/5 – Bedienungsanleitung
not possible
The previously set reference temperature (see
temperature sensor
Only available for devices including HC2A or
Pt100 Probe
Before acquiring data, a reference value must be set (see Reference Value Settings)
temperature adjustment)
!
The device must be restarted to take over the new data (see Device Actions)
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 7
This action takes about 2 seconds to execute. During this time, communication with the device is
16 Adjust Temperature Data * !
*
It’s possible to acquire more than one reference value before executing the adjustment (not for
Reference Value Settings) will be sent to the
PF4/5 – Bedienungsanleitung
Coils
Name
Flags
Description
17
Reset Device
Restart device
The device will be restarted. Communication will get lost
All device-relevant data will be stored in the
(factory) settings in the memory
All device-relevant data will be restored from the
overwritten by the factory settings in memory
All device-relevant data will be restored from the
be overwritten by the factory settings in memory
21 … 64
Reserved
• Undefined
• Undefined
• Gives back Modbus Exception Code 02
*
During these action, communication with the device is not possible
Attention!
Customer Lookup Table) are also deleted
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 8

2.2.3 Device Actions

Direct device actions.
Attention!
Be careful to use these commands, due to any possible wrong configurations.
Modbus command Write Multiple Coils (0x0F) is not possible.
18 Store Device Settings *
19 Restore All Device Settings * !
20
65 …
9’999
!
Restore Device Settings without Communication Data
Reserved
All customer settings for the Differential Pressure (Zero Adjustment (Offset), Acquired Data,
memory
Executing this command, will overwrite older
memory to the device
All individual device settings by customer will be
memory to the device except communication
* !
parameter (Ethernet, RS485)
All individual device settings by customer, except
communication parameter (Ethernet, RS485) will
PF4/5 – Bedienungsanleitung
Transmit
01 01 00 00 00 01 fd ca Receive
01 01 01 01 90 48
Transmit
MBAP 01 01 00 00 00 01 Receive
MBAP 01 01 01 01
By
MBAP
7
MBAP
MBAP header (see Modbus RTU / TCP)
Checksum
2
CRC
CRC Checksum (see Modbus RTU / TCP)
Modbus RTU Address (see Device Descriptions)
Function code
1
0x01
Read Single Coil
= 0, means address of the 1. coil ( Attention! coil number – 1 )
= 1
8 to 15 will give back 2 bytes (16 coils) etc.
= 1 N, means quantity of coils / 8, if the remainder is different of 0 => N = N+1
n = N or N+1 = 8 bits
Bit
State
State of Relais 1 to 6
0
ON
Coil 1 = Relais (ON = 1, OFF = 0)
Coil 2 = Valve (ON = 1, OFF = 0) (Valve exist only with PF5)
2
OFF
Not used
3
OFF
Not used
4
OFF
Not used
5
OFF
Not used
6
OFF
Not used
7
OFF
Not use
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 9

2.2.4 Example: Read Single Coil

2.2.4.1 Read Relay
Initial situation: The relays 1 is set, Valve (only PF5) doesn’t exist.
RTU Example:
TCP Example:
Field
tes Value Description
RTU number 1 0x01
Starting address 2 0x0000
Quantity of coils 2 0x0001
Byte count 1 0x01
Coil status
(see Relay and
n 0x01
Valve)
1 to 7 gives the same result 1 byte (8 coils)
1 OFF
For detailed information about Modbus protocol Read Single Coil see: (http://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
).
PF4/5 – Bedienungsanleitung
Transmit
01 05 00 00 ff 00 8c 3a
Receive
01 05 00 00 ff 00 8c 3a
Transmit
MBAP 01 05 00 00 ff 00
Receive
MBAP 01 05 00 00 ff 00 Field
Bytes
Value
Description
MBAP
7
MBAP
MBAP header (see Modbus RTU / TCP)
Checksum
2
CRC
CRC Checksum (see Modbus RTU / TCP)
Modbus RTU Address (see Device Descriptions)
Function code
1
0x05
Write Single Coil
= 0, means address of the 1. Coil (relay) ( Attention! coil number – 1 )
0xff00 for setting the selected coil 0x0000 for resetting the selected coil
Transmit
01 05 00 10 ff 00 8d ff
Receive
01 05 00 10 ff 00 8d ff
Transmit
MBAP 01 05 00 10 ff 00
Receive
MBAP 01 05 00 10 ff 00 Field
Bytes
Value
Description
MBAP
7
MBAP
MBAP header (see Modbus RTU / TCP)
Checksum
2
CRC
CRC Checksum (see Modbus RTU / TCP)
Modbus RTU Address (see Device Descriptions)
Function code
1
0x05
Write Single Coil
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 10

2.2.5 Example: Write Single Coil

2.2.5.1 Set State of Relay
RTU Example:
TCP Example:
RTU number 1 0x01
Starting address 2 0x0000
Output value 2 0xff00
Test the change with Modbus commands in example Read Relay
.
For detailed information about Modbus protocol Write Single Coil see: (http://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
).

2.2.6 Example: Reset Device

RTU Example:
TCP Example:
RTU number 1 0x01
PF4/5 – Bedienungsanleitung
= 16, means address of the 17. Coil (Reset
( Attention! coil number – 1 )
Output value
2
0xff00
0xff00 for setting the selected action
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 11
Starting address 2 0x0010
For detailed information about Modbus protocol Write Single Coil see: (http://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
Device)
).

2.3 Device Specific Discrete Inputs (read only)

There are no active PF4/5 Discrete Inputs.
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
30’001
i
Serial number of the PF4/5 device (part 1)
30’002
i
Serial number of the PF4/5 device (part 2)
30’003
Serial Number HC2A
Only if HC2A is used
i
Serial number of the HC2A-probe (part 1)
30’005
Device name (part 1 – character 1 & 2) e.g. “PF”
30’006
Device name (part 2 – character 3 & 4) e.g. “5 “
30’007
Device name (part 3 – character 5 & 6) e.g. “+ “
30’008
Device name (part 4 – character 7 & 8) e.g. “HC“
30’009
Device name (part 5 – character 9 & 10) e.g. “2 “
30’010
• Device name (part 6 – character 11 & 12) e.g. “ “
Shows differential pressure sensor
type
0
PF5: ± 10Pa (*)
1
PF5: ± 25Pa (*)
2
PF5: ± 50Pa (*)
3
PF5: ± 100Pa (*)
4
PF5: ± 250Pa (*)
5
PF5: ± 500Pa (*)
6
PF5: ± 1000Pa (* by order only)
7
PF5: ± 2500Pa (* by order only)
8
PF5: ± 5000Pa (* by order only)
7
PF5: ± 7500Pa (* by order only)
8
PF5: ± 15kPa (* by order only)
11..15
Not used
16
PF4: ± 10Pa (**)
17
PF4: ± 25Pa (**)
18
PF4: ± 50Pa (**)
19
PF4: ± 100Pa (**)
20
PF4: ± 250Pa (**)
21
PF4: ± 500Pa (**)
22…
Not used
30’012
Hardware Version
Hardware version
30’013
i t
Production date (part 1)
30’014
i t
• Production date (part 2)
Bit
Shows type of device
0
PFx solo
1
PFx + PT100 Probe
2
PFx + HC2A Probe
3
0
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 12

2.4 Device Specific Input Registers (read only)

With Modbus Input Registers you can read some device specific data of the PF4/5 device.
Assisted Modbus command is Read Input Registers (0x04).

2.4.1 Device Data

PF4/5-specific data.
Serial Number
30’004 i
30’011
Probe
Device Name
Differential Pressure Sensor Type
(*) Only for PF5
(**) Only for PF4
Serial number of the HC2A-probe (part 2)
No.
Production Date
Device Type
30’015
For bit 0 to 2 only one selection is possible
PF4/5 – Bedienungsanleitung
4
PF4/5 (0 = PF4; 1 = PF5)
5
Flow ( 0 = Off; 1 = On)
6…15
0
0 = deactivated; 1 = activated
Shows included communication
interfaces
0
Ethernet
1
0 (Not used)
2
RS485
13…15 0 0 = deactivated; 1 = activated
Bit
Shows state of alarm bits
0
Alarm Differential Pressure Low
1
Alarm Differential Pressure High
2
Alarm Humidity Low (*)
3
Alarm Humidity High (*)
4
Alarm Temperature Low (*)
5
Alarm Temperature High (*)
6
Alarm Calculation Low (*)
7
Alarm Calculation High (*)
8
Alarm Analog Input Low
9
Alarm Analog Input High
10
Alarm Flow Low (**)
11
Alarm Flow High (**)
12
Alarm Volume Low (**)
13
Alarm Volume High (**)
14…15
0
0 = alarm OFF; 1 = alarm ON
Bit
Shows state of pre-alarm bits
0
Pre-Alarm Differential Pressure Low
1
Pre-Alarm Differential Pressure High
2
Pre-Alarm Humidity Low (*)
3
Pre-Alarm Humidity High (*)
4
Pre-Alarm Temperature Low (*)
5
Pre-Alarm Temperature High (*)
6
Pre-Alarm Calculation Low (*)
7
Pre-Alarm Calculation High (*)
8
Pre-Alarm Analog Input Low
9
Pre-Alarm Analog Input High
10
Pre-Alarm Flow Low (**)
11
Pre-Alarm Flow High (**)
12
Pre-Alarm Volume Low (**)
13
Pre-Alarm Volume High (**)
14…15
0
0 = alarm OFF; 1 = alarm ON
Bit
Shows state of other alarm bits
Maximal/minimal sensor limit exceeded
No communication with sensor possible
2
Missing Probe (*)
3
Fix Value(s) is(are) activated
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 13
Bit
Interface Type
30’016
30’017
More than one selection is possible
State of Alarms
(*) If HC2A or PT100 probe is connected
(**) If option Flow is selected
More than one active alarm is possible
30’018
30’019
State of Pre-Alarms
(*) If HC2A or PT100 probe is connected
(**) If option Flow is selected
More than one active alarm is possible
State of Other Alarms
(*) If HC2A or PT100 probe is connected. More than one active alarm is possible
0
1
PF4/5 – Bedienungsanleitung
14…15
0
0 = alarm OFF; 1 = alarm ON
Bit
Shows state of relay and valve bits
0
Relay
1…7 0 8
Valve (*)
9…15
0
0 = deactivated; 1 = activated
No.
Shows number of analog outputs
1
1 Analog Output
2
2 Analog Outputs
3
3 Analog Outputs
Device address
Device address is the same as RS485 address
Ethernet MAC address, e.g. C8-8E-D1-20-00-2F
Ethernet MAC address (part 1) (e.g. 0xC88E)
30’024
Ethernet MAC address (part 2) (e.g. 0xD120)
30’025
Ethernet MAC address (part 3) (e.g. 0x002F)
Fixed IP Ethernet
used
i
Fixed IP Address, e.g. 192.168.100.101
Ethernet IP address (part 1) (e.g. 0xC0A8)
i
DHCP State: On or Off
ON: IP Address will be received from DHCP Server
Off: Fixed IP Address will be used
DHCP IP Ethernet
Address = 0.0.0.0
i
DHCP IP Address, e.g. 192.168.100.151
DHCP Ethernet IP address (part 1) (e.g. 0xC0A8)
i
Undefined Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 14
State of Relay and Valve
30’020
(*) Only if PF5 device is used
30’021
30’022 Device Address
30’023
Numbers of Analog Outputs
MAC-Address
Only if Ethernet is used
30’026
Address
Only if Ethernet is
30’027
DHCP State
30'028
Only if Ethernet is used
30’029
Address
Only if Ethernet is
30’030
30’031 …
31’000
used and DHCP is ON, otherwise DHCP IP
Reserved
Ethernet IP address (part 2) (e.g. 0x6465)
 
DHCP Ethernet IP address (part 2) (e.g. 0x6597)
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
31’001
f *
Current humidity value (part 1)
31’002
f *
Current humidity value (part 2)
31’003
f *
Current temperature value (part 1)
31’004
f *
Current temperature value (part 2)
31’005
f *
Current differential pressure value (part 1)
31’006
f *
Current differential pressure value (part 2)
31’007
f *
Current calculation value (part 1)
31’008
f *
Current calculation value (part 2)
31’009
f *
Current analog input value (part 1)
31’010
f *
Current analog input value (part 2)
31’011
f *
Current flow value (part 1)
31’012
f *
Current flow value (part 2)
31’013
f *
Current volume flow value (part 1)
31’014
f *
Current volume flow value (part 2)
31’015
f *
Current ambient pressure value (part 1)
31’016
f *
Current ambient pressure value (part 2)
31’017
f *
Current internal temperature value (part 1)
31’018
f *
• Current internal temperature value (part 2)
• Undefined
• Gives back Modbus Exception Code 02
Register
Name
Flags
Description
32’001
Humidity
*
Current humidity value
32’002
Temperature
*
Current temperature value
32’003
Differential Pressure
*
Current differential pressure value
32’004
Calculation
*
Current calculation value
32’005
Analog Input
*
Current analog input value
32’006
Flow
*
Current flow value
32’007
Internal Temperature
*
Current volume flow value
32’008
Ambient Pressure
*
Current ambient pressure value
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 15

2.4.2 Current Values: Float Values

Current values in 32-bit IEEE754 float format of all PF4/5 sensors.
Note! These values are changing every measurement cycle, so always read the two corresponding
registers in one Modbus command.
Humidity
Temperature
Differential Pressure
Calculation
Analog Input
Flow
Volume Flow
Ambient Pressure
Internal Temperature
31’019 …
31’999
Reserved

2.4.3 Current Values: Integer Values

Current values in 16-bit integer format of all PF4/5 sensors, updated every measurement cycle.
The current values are the result of the reduction to 16-bit values of the multiplication of the current 32-bit IEEE754 float values (see Current Values: Float Values) and the corresponding scaling values (see
Value Scaling).
Integer
PF4/5 – Bedienungsanleitung
32’009
Internal Temperature
*
• Current internal temperature value
• Undefined
• Gives back Modbus Exception Code 02
These are 32-bit values, separated in two succeeding registers (16-bits). How to bring together part 1
Device Specific Settings and Selectable Swap Modes for Rotronic Devices)
t
Represents the Unix Time (UTC) since 1.1.1970 in seconds
Character values separated in succeeding registers. 2 characters per register
These are float-values (32-bit IEEE754), separated in two succeeding registers (16-bits).
Devices)
The showed values depend also of the selected unit (see Value Unit)
Transmit
01 04 79 18 00 06 e9 53
Receive
01 04 0c 41 f3 70 a3 41 ba 00 00 3d 80 e9 a2 97 8a
Transmit
MBAP 01 04 79 18 00 06
Receive
MBAP 01 04 0c 41 f3 70 a3 41 ba 00 00 3d 80 e9 a2 Field
Bytes
Value
Description
MBAP
7
MBAP
MBAP header (see Modbus RTU / TCP)
Checksum
2
CRC
CRC Checksum (see Modbus RTU / TCP)
Modbus RTU Address (see Device Descriptions)
Function code
1
0x04
Read Discret Inputs
Starting address
2
0x7918
= 31'000 ( Attention! register number – 1 )
Quantity of input
registers
= 12 2 * N, means numbers of returned bytes
0x41f370a
3
0x41ba000
0
0x3d80e9a
2
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 16
32’010 …
39’999
Reserved

2.4.4 Explanation of Flags

i
f
*
and part 2 of the 32-bit value, depends on the Swap Mode of the Modbus communication (see
How to bring together part 1 and part 2 of the 32-bit float-value, depends on the Swap Mode of the Modbus communication (see Device Specific Settings and
Selectable Swap Modes for Rotronic

2.4.5 Example: Read Input Register

2.4.5.1 Read Current Values: Float Value (Registers 31'001 to 31'006)
RTU Example:
TCP Example:
(see Current Values:
RTU number 1 0x01
2 0x0006 = 6, means read 6 registers
Byte count 1 0x0c
Input registers
2 * N
Float Values)
= 30.43 %rh Humidity
= 23.25 °C Temperature
= 0.063 Pa Differential Pressure
PF4/5 – Bedienungsanleitung
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 17
For detailed information about Modbus protocol Read Discrete Inputs see: (http://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
).
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
No.
Select Calculation
0
Dew Point
1
Frost Point
2
Wet Bulb Temperature
3
Enthalpy
4
Vapour Concentration
5
Specific Humidity
6
Mixing Ratio
Saturation Vapour Concentration
8
Vapour Partial Pressure
9
Vapour Saturation Pressure
No.
Shows the analog input type
0
Voltage (0 ... 10V)
1
Current (0 ... 24mA)
Undefined Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 18

2.5 Device Specific Holding Registers

Via the Modbus Holding Registers you can read and write device specific data to the PF4/5.
Assisted Modbus commands are Read Holding Registers (0x03), Write Single Register (0x06) and Write Multiple Registers (0x10).
Attention!
Changes to register content in the PF4/5 can change the functionality of the PF4/5. This may cause the PF4/5 to become inoperable.
Changes of register contents should only be made with the necessary knowledge of the Modbus protocol.
Notes!
Most of the Specific Holding Registers cannot be validated, if Modbus command Write Multiple Register is used.
Changing values in the Holding Registers needs normally a restart of the device (see Device
Actions).
Changing values in the Holding Registers will always change the FDA settings of the internal device data except, changing the reference value registers of the Reference Value Settings.

2.5.1 Value Type

Selection of the possible calculation and analog input modes.
Calculation Type
40’001
40’002 Analog Input Type
40’003 …
40’099
Only if HC2A is used
Reserved
7
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
Shows selectable
temperature units
0
°C 1 °F
Shows selectable
differential pressure units
0
Pa 1 inH2O
2
mpsi
3
mbar
4
mmHg
5
mmH2O
6
Torr 7 g/cm2
Shows selectable ambient
pressure units
0
hPa 1 inHg
2
psi
Shows selectable enthalpy
units
0
kJ/kg
1
BTI/lb
Shows selectable volume
units
0
g/m3
1
g/ft3
Shows selectable weight
units
0
g/kg
1
gr/lb
No.
Shows selectable flow units
0
m/s 1 km/h
2
ft/s 3 mph
Shows selectable volume
flow units
0
m3/h
1
m3/min
0
l/min
3
l/s 4 cfm 5 cfs
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 19

2.5.2 Value Unit

Select the unit shown on display for the different sensors and calculation values.
Temperature
41’001
For Calculation:
Dew Point, Frost Point, Wet Bulb Temperature
41’002 Differential Pressure
Ambient Pressure
41’003
For Calculation:
Vapour Partial Pressure Vapour Saturation Pressure
For Calculation only:
41’004
Enthalpy
Only if HC2A is used
No.
No.
No.
No.
41’005
41’006
41’007
41’008
For Calculation only: Vapour Concentration Volume
Only if HC2A is used
For Calculation only: Vapour Concentration Weight
Only if HC2A is used
Flow
Only if Flow is activated
Volume Flow
Only if Flow is activated
No.
No.
No.
PF4/5 – Bedienungsanleitung
Shows selectable volume
flow units
0
cm2 1 m2 2 in2 3 ft2
Characters 1 & 2 of the unit of
Humidity
Characters 3 & 4 of the unit of
Humidity
41’012
“ !
Characters 5 of the unit of Humidity
Customer selectable unit for Humidity (maximal 5 characters). If there are only
space characters in these registers, the unit for Humidity will be ʺ%rhʺ
Characters 1 & 2 of the unit of the
analog input
Characters 3 & 4 of the unit of the
analog input
Customer selectable unit for Analog Input (maximal 4 characters). If there are
set (see Analog Input Settings).
Undefined
02
Register
Name
Flags
Description
Humidity
Only if HC2A is used
Temperature
used
Scaling factor for the differential
pressure value
Calculation
Only if HC2A is used
42’005
Analog Input
Scaling factor for the analog input value
Flow
Only if Flow is activated
Volume Flow
Only if Flow is activated
Scaling factor for the ambient pressure
value
Scaling factor for the internal
temperature value
41’010 …
41’099
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 20
No.
Duct Area
41’009
Only if Flow is activated
41’010
Humidity Unit String
41’011 “ !
41’013
41’014 “ !
41’015 …
41’099
Only if HC2A is used
Analog Input Unit String
only space characters in these registers, the unit for Analog Input will be ʺVʺ, resp. ʺmAʺ, depending on the value of Analog Input Type (see
Analog Input Settings). be ʺVʺ, resp. ʺmAʺ will only be showed if Auto Unit bit is
Reserved
“ !
“ !
Value Type or
Gives back Modbus Exception Code

2.5.3 Integer Value Scaling

Selection of the scaling factor of the current values for data conversion float to integer. Scaling factor should be between 1 and 1000.
42’001
42’002
42’003 Differential Pressure
42’004
42’006
42’007
42’008 Ambient Pressure
42’009 Internal Temperature
Only if HC2A or Pt100 is
Reserved
• Scaling factor for the humidity value
Scaling factor for the temperature value
• Scaling factor for the calculation value
Scaling factor for the flow value
Scaling factor for the volume flow value
• Undefined
PF4/5 – Bedienungsanleitung
Gives back Modbus Exception Code 02
Register
Name
Flags
Description
44’001
? f !
Reference value humidity (part 1)
44’002
? f !
Reference value humidity (part 2)
44’003
Temperature
used
? f !
Reference value temperature (part 1)
Reference value differential pressure
(part 1)
Reference value differential pressure
(part 2)
• Undefined
• Gives back Modbus Exception Code 02
Register
Name
Flags
Description
Bit
Shows device bits
0
Trend Enable (OFF/ON)
1…15
Reserved
Value
Shows the selected Filter Type
0…10
Moving Average Filter
100… 110
Shows value for device
protection
171
Device Write Protection ON
x
Device Write Protection OFF
After writing this command with Device Write Protection ON (171), it’s not
writing to memory was not possible
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 21

2.5.4 Reference Value Settings

Settings of reference values for adjustments of differential pressure, humidity and temperature (see
Actions).
Note!
Values in these registers are only valid until the next restart of the device.
Humidity
Only if HC2A is used
Sensor
44’004 ? f !
44’005
44’006 ? f !
44’007 …
44’099
Only if HC2A or Pt100 is
Differential Pressure
Reserved

2.5.5 Device Specific Settings

Device specific settings.
44’101 Device Bits
44’102
Differential Pressure Filter and Filter Type
Reference value temperature (part 2)
? f !
Filter value for the Differential Pressure
Smoothing Exponential Filter
No.
44’103
Memory Write Protection
possible to overwrite the content of the memory until executing the same command with Device Write Protection OFF
Be careful to use this command over Modbus! If writing Modbus
commands to a device with Device Write Protection ON, you don’t get an error back, because the Modbus writing process was successful - only
PF4/5 – Bedienungsanleitung
Menu protection (On/Off)
If On, the menu of the device can only
using the keys
44’105
Menu Code
Menu Code (0…9999)
No.
Shows selectable calculation
0
Dew Point
1
Frost Point
2
Wet Bulb Temperature
3
Enthalpy
4
Vapour Concentration
5
Specific Humidity
6
Mixing Ratio
Saturation Vapour Concentration
8
Vapour Partial Pressure
9
Vapour Saturation Pressure
The same value as in Value Type -> Calculation Type
• Device number (RS485 address) (0…63)
The device number (RS485 address) is
changing this value
No.
Shows Modbus operation mode
0
Modbus Word Swap
1
Modbus Byte Swap
2
Modbus Byte Word Swap
3
Modbus No Change
See Selectable Swap Modes for Rotronic Devices
i !
DHCP Server: On or Off
ON: IP Address will be received from
DHCP Server
Off: Fixed IP Address will be used
i !
Fixed IP Address, e.g. 192.168.100.101
Ethernet IP address (part 1) (e.g.
0xC0A8)
i !
Ethernet IP address (part 2) (e.g.
0x6465)
Communication is normally lost, changing fixed IP address and DHCP is Off
44’112
Zero Adjust Repetition
Only if PF5 is active
i !
• Zero adjust repetition time (part 1)
i !
Repeat time for the automatic zero point adjustment of differential
Attention! If 0, the repetition time is infinite
• Undefined
• Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 22
44’104 Menu Protection
44’106
44’107 Device Number
Calculation Select
be activated by entering a correct code,
7
used in conjunction with a RS485 network
Each network address should be unique Valid addresses are (0 Broadcast) 1…63
Communication is normally lost,
44’108 Modbus Operation Mode
44’109
44’110
DHCP Server (On or Off)
Only if Ethernet is used
Fixed IP Ethernet Address
Only if Ethernet is used
44’111
44’113
44’114 …
44’199
Time
pressure (in minutes)
Reserved
Zero adjust repetition time (part 2)
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
44’201
“ !
Description device (part 1 – char. 1 & 2)
44’202
“ !
Description device (part 2 – char. 3 & 4)
44’203
“ !
Description device (part 3 – char. 5 & 6)
44’204
“ !
Description device (part 4 – char. 7 & 8)
44’205
“ !
Description device (part 5 – char. 9 & 10)
44’206
“ !
Description device (part 6 – char. 11 & 12)
Desc. diff. pressure sensor (part 1 – char.
1 & 2)
Desc. diff. pressure sensor (part 2 – char.
3 & 4)
Desc. diff. pressure sensor (part 3 – char.
5 & 6)
Desc. diff. pressure sensor (part 4 – char.
7 & 8)
Desc. diff. pressure sensor (part 5 – char.
9 & 10)
Desc. diff. pressure sensor (part 6 – char.
11 & 12)
44’213
“ !
Description relay 1 (part 1 – char. 1 & 2)
44’214
“ !
Description relay 1 (part 2 – char. 3 & 4)
44’215
“ !
Description relay 1 (part 3 – char. 5 & 6)
44’216
“ !
Description relay 1 (part 4 – char. 7 & 8)
44’217
“ !
Description relay 1 (part 5 – char. 9 & 10)
Description relay 1 (part 6 – char. 11 &
12)
Description PF4/5 probe (part 1 – char. 1
& 2)
Description PF4/5 probe (part 2 – char. 3
& 4)
Description PF4/5 probe (part 3 – char. 5
& 6)
Description PF4/5 probe (part 4 – char. 7
& 8)
Description PF4/5 probe (part 5 – char. 9
& 10)
44’224
“ !
Description probe (part 6 – char. 11 & 12)
• Description analog input 1 (part 1 – char.
1 & 2)
Description analog input 1 (part 2 – char.
3 & 4)
Description analog input 1 (part 3 – char.
5 & 6)
Description analog input 1 (part 4 – char.
7 & 8)
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 23

2.5.6 Device Descriptions

Name for the different parts of the device, which is clearly related with its function.
Device
44’207
44’208 “ !
44’209 “ !
Differential Pressure
44’210 “ !
44’211 “ !
44’212 “ !
Relay
44’218 “ !
44’219
44’220 “ !
“ !
“ !
44’221 “ !
44’222 “ !
44’223 “ !
44’225
44’226 “ !
44’227 “ !
44’228 “ !
HC2A Probe
Only if HC2A is used
Analog Input
“ !
PF4/5 – Bedienungsanleitung
Description analog input 1 (part 5 – char.
9 & 10)
Description analog input 1 (part 6 – char.
11 & 12)
Description ambient pressure (part 1 –
char. 1 & 2)
Description ambient pressure (part 2 –
char. 3 & 4)
Description ambient pressure (part 3 –
char. 5 & 6)
Description ambient pressure (part 4 –
char. 7 & 8)
Description ambient pressure (part 5 –
char. 9 & 10)
Description ambient pressure (part 6 –
char. 11 & 12)
44’237
“ !
Description flow (part 1 – char. 1 & 2)
44’238
“ !
Description flow (part 2 – char. 3 & 4)
44’239
“ !
Description flow (part 3 – char. 5 & 6)
44’240
“ !
Description flow (part 4 – char. 7 & 8)
44’241
“ !
Description flow (part 5 – char. 9 & 10)
44’242
“ !
Description flow (part 6 – char. 11 & 12)
Description volume flow (part 1 – char. 1
& 2)
Description volume flow (part 2 – char. 3
& 4)
Description volume flow (part 3 – char. 5
& 6)
Description volume flow (part 4 – char. 7
& 8)
Description volume flow (part 5 – char. 9
& 10)
Description volume flow (part 6 – char. 11
& 12)
44’249
“ !
Description Pt100 (part 1 – char. 1 & 2)
44’250
“ !
Description Pt100 (part 2 – char. 3 & 4)
44’251
“ !
Description Pt100 (part 3 – char. 5 & 6)
44’252
“ !
Description Pt100 (part 4 – char. 7 & 8)
44’253
“ !
Description Pt100 (part 5 – char. 9 & 10)
44’254
“ !
Description Pt100 (part 6 – char. 11 & 12)
Undefined Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 24
44’229 “ !
44’230 “ !
44’231
44’232 “ !
44’233 “ !
Ambient Pressure
44’234 “ !
44’235 “ !
44’236 “ !
Flow
Only if Flow is
activated
44’243
44’244 “ !
44’245 “ !
44’246 “ !
Volume Flow
Only if Flow is
activated
“ !
“ !
44’247 “ !
44’248 “ !
Pt100
Only if Pt100 is used
44’255 …
44’399
Reserved
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
Bit
Shows the fix value bits
0
Differential Pressure
1
Humidity (Only if HC2A is used)
Temperature (Only if HC2A or
Pt100 is used)
3
Calculation (Only if HC2A is used)
4
Analog Input
5
Ambient Pressure
6
Flow (Only if Flow is activated)
Volume Flow (Only if Flow is
activated)
8…1
5
0 = fix value is OFF, 1 = fix value is ON
44’402
f !
Fix value differential pressure (part 1)
44’403
f !
Fix value differential pressure (part 2)
44’404
f !
Fix value humidity (part 1)
44’405
f !
Fix value humidity (part 2)
44’406
Temperature
used
f !
Fix value temperature (part 1)
44’408
f !
Fix value calculation (part 1)
44’409
f !
Fix value calculation (part 2)
44’410
f !
Fix value analog Input (part 1)
44’411
f !
Fix value analog Input (part 2)
44’412
f !
Fix value ambient pressure (part 1)
44’413
f !
Fix value ambient pressure (part 2)
44’414
f !
Fix value flow (part 1)
44’415
f !
Fix value flow (part 2)
44’416
f !
Fix value volume flow (part 1)
44’417
f !
Fix value volume flow (part 2)
44’418 …
44’499
Undefined
• Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 25

2.5.7 Fix Value Settings

Fixed values are used to simulate a measuring value for testing purposes. To activate Fix Values, you have to set the corresponding Fix Value Bits to ON.
Note!
The selected fixed values should be in valid ranges. Valid ranges depends on selected measuring value and selected unit.
2
44’401 Fix Value Bits !
Differential Pressure
Humidity
Only if HC2A is used
44’407 f !
Only if HC2A or Pt100 is
Calculation
Only if HC2A is used
Analog Input
Ambient Pressure
Flow
Only if Flow is activated
Volume Flow
Only if Flow is activated
7
Reserved
Fix value temperature (part 2)
Reserved
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
Shows selected source for
PF4/5 solo
0
Unused
1
Differential Pressure
2
Not valid! Don't use!
3
Not valid! Don't use!
4
Not valid! Don't use!
5
Analog Input
6
Ambient Pressure
Flow (Use only if Flow is
activated)
Volume Flow (Use only if Flow is
activated)
Shows selected source for
PF4/5 + HC2A
0
Unused
1
Differential Pressure
2
HC2A Humidity
3
HC2A Temperature
4
HC2A Calculation
5
Analog Input
6
Ambient Pressure
Flow (Use only if Flow is
activated)
Volume Flow (Use only if Flow is
activated)
Shows selected source for
PF4/5 + Pt100
0
Unused
1
Differential Pressure
2
Not valid! Don't use!
3
Pt100 Temperature
4
Not valid! Don't use!
5
Analog Input
6
Ambient Pressure
Flow (Use only if Flow is
activated)
Volume Flow (Use only if Flow is
activated)
No.
Shows selected output range
0
Output Range 0…1V
1
Output Range 0…5V
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 26

2.5.8 Analog Output Settings

The PF4/5 can provide up to three analog output signals. The measured sensor values can be spent individually on every analog output.
No.
44’501
Source for Analog
Output 1
(Depends on device
type)
7
8
No.
7
8
No.
44’502
Output Range Analog
Output 1
7
8
PF4/5 – Bedienungsanleitung
2
Output Range 0…10V
3
Output Range 0…20mA
4
Output Range 4…20mA
44’503
f !
Customer selectable scale low 1 (part 1)
44’504
f !
• Customer selectable scale low 1 (part 2)
Customer selectable scale high 1 (part
1)
Customer selectable scale high 1 (part
2)
Example see below
Source for Analog
type)
No.
Shows selected source
-
Same as for Analog Output 1
No.
Shows selected output range
-
Same as for Analog Output 1
44’509
f !
Customer selectable scale low 2 (part 1)
44’510
f !
• Customer selectable scale low 2 (part 2)
Customer selectable scale high 2 (part
1)
Customer selectable scale high 2 (part
2)
Example see below
Source for Analog
type)
No.
Shows select source
-
Same as for Analog Output 1
No.
Shows selected output range
-
Same as for Analog Output 1
44’515
f !
Customer selectable scale low 3 (part 1)
44’516
f !
• Customer selectable scale low 3 (part 2)
Customer selectable scale high 3 (part
1)
Customer selectable scale high 3 (part
2)
Example see below
Analog Output 1 Current
Load
Analog Output 2 Current
Load
Analog Output 3 Current
Load
Load Resistor are only for Output Range 0…20mA / 4…20mA for
compensation
44’522 …
44’599
Undefined
• Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 27
Processing Scale Low 1
44’505
Processing Scale High 1
44’506 f !
44’507
44’508
44’511
44’512 f !
44’513
44’514
Output 2
(Depends on device
Output Range Analog
Output 2
Processing Scale Low 2
Processing Scale High 2
Output 3
(Depends on device
Output Range Analog
Output 3
f !
(!)
(!)
f !
Processing Scale Low 2
44’517
Processing Scale High 2
44’518 f !
f !
44’519
44’520
44’521
Reserved
• Load Resistor for DAC1 (0 … 500 Ω)
• Load Resistor for DAC2 (0 … 500 Ω)
• Load Resistor for DAC3 (0 … 500 Ω)
Description of the analog output
The output range of the measured sensor Source can be scaled to the processing area (Scale Low and Scale High).
The output range of the analog outputs depends of the selected Output Stage and cannot be changed.
PF4/5 – Bedienungsanleitung
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 28
The Scale Low value will be projected to Range Low value and the Scale High value to Range High value of the selected Output Range (0…1V, 0…5V, 0…10V, 0…20mA, 4…20mA).
It applies: Scale High must be greater than Scale Low
Scale Low and Scale High should not exceed the range of ±100'000'000.0
Example:
Calculation of the resulting value (Output Value):
(
  =
   )∗(    
(   )
)
+  
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
44’601
Display Bits
Not yet used, undefined
Shows selected source for
PF4/5 + solo
0
No value displayed
1
Differential Pressure
2
Not valid! Don't use!
3
Not valid! Don't use!
4
Not valid! Don't use!
5
Analog Input
6
Ambient Pressure
Flow (Use only if Flow is
activated)
Volume Flow (Use only if Flow is
activated)
Shows selected source for
PF4/5 + HC2A
0
No value displayed
1
Differential Pressure
2
HC2A Humidity
3
HC2A Temperature
4
HC2A Calculation
5
Analog Input
6
Ambient Pressure
Flow (Use only if Flow is
activated)
Volume Flow (Use only if Flow is
activated)
Shows selected source for
PF4/5 + Pt100
0
No value displayed
1
Differential Pressure
2
Not valid! Don't use!
3
Pt100 Temperature
4
Not valid! Don't use!
5
Analog Input
6
Ambient Pressure
Flow (Use only if Flow is
activated)
Volume Flow (Use only if Flow is
activated)
Display Row 2
type)
No.
Shows selected source
-
Same as for Display Row 1
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 29

2.5.9 Display Settings

Adjustments to the PF4/5 display concerning appearance and content can be configured.
No.
44’602
Display Row 1
(Depends on device type)
7
8
No.
7
8
No.
44’603
(Depends on device
7
8
PF4/5 – Bedienungsanleitung
Display Row 3
type)
No.
Shows selected source
-
Same as for Display Row 1
Shows selected source for
PF4/5 + solo
0
No value displayed
1
Differential Pressure
2
Not valid! Don't use!
3
Not valid! Don't use!
4
Not valid! Don't use!
5
Analog Input
6
Ambient Pressure
Flow (Use only if Flow is
activated)
Volume Flow (Use only if Flow is
activated)
Flow Duct Area (Use only if Flow
is activated)
Shows selected source for
PF4/5 + HC2A
0
No value displayed
1
Differential Pressure
2
HC2A Humidity
3
HC2A Temperature
4
HC2A Calculation
5
Analog Input
6
Ambient Pressure
7
Flow (Only if Flow is activated)
Volume Flow (Only if Flow is
activated)
Flow Duct Area (Only if Flow is
activated)
Shows selected source for
PF4/5 + Pt100
0
No value displayed
1
Differential Pressure
2
Not valid! Don't use!
3
Pt100 Temperature
4
Not valid! Don't use!
5
Analog Input
6
Ambient Pressure
7
Flow (Only if Flow is activated)
Volume Flow (Only if Flow is
activated)
Flow Duct Area (Only if Flow is activated)
44’606
Pixel Color
! E
Color for pixel
44’607
Pixel Color Alarm
! E
Color for alarm
44’608
Pixel Color Pre-Alarm
! E
Color for pre-alarm
44’609
Pixel Color Background
! E
Color for background
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 30
44’604
(Depends on device
No.
7
8
9
No.
44’605
Display Row 4
(Depends on device type)
8
9
No.
8
9
PF4/5 – Bedienungsanleitung
No.
Shows select display brightness
0
Display brightness 20%
1
Display brightness 30%
2
Display brightness 40%
3
Display brightness 50%
4
Display brightness 60%
5
Display brightness 70%
6
Display brightness 80%
7
Display brightness 90%
8
Display brightness 100%
44’611 …
44’699
Undefined
• Gives back Modbus Exception Code 02
Register
Name
Flags
Description
Shows selected source for
PF4/5 + solo
0
Differential Pressure
1
Not valid! Don't use!
2
Not valid! Don't use!
3
Not valid! Don't use!
4
Analog Input
Flow (Use only if Flow is
activated)
Volume Flow (Use only if
Flow is activated)
Shows selected source for
PF4/5 + HC2A
0
Differential Pressure
1
HC2A Humidity
2
HC2A Temperature
3
HC2A Calculation
4
Analog Input
Flow (Use only if Flow is
activated)
Volume Flow (Use only if
Flow is activated)
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 31
44’610 Display Brightness
Reserved

2.5.10 Alarm Settings

For most sensors, it is possible to set alarm values for a Low and High level with Hysteresis and pre-alarms values to Low and High level.
Values of the selected sensor, which are located below the low alarm or above the high alarm (or pre-alarm), trigger an alarm (or pre-alarm). The value specified for the alarm function Hysteresis is used for both the Low and the High alarm. Hysteresis is not used for pre-alarm.
To activate the alarm, you have to set the corresponding Alarm Bit to ON.
Note!
Be sure to select alarm values inside the operating range of the sensors. Valid ranges depends on selected measuring value and selected unit.
No.
5
44’701
Alarm Bits
(Depends on device type)
f !
6
No.
5
6
PF4/5 – Bedienungsanleitung
Shows selected source for
PF4/5 + Pt100
0
Differential Pressure
1
Not valid! Don't use!
2
Pt100 Temperature
3
Not valid! Don't use!
4
Analog Input
Flow (Use only if Flow is
activated)
Volume Flow (Use only if
Flow is activated)
Value is ON
Alarm value differential pressure
low (part 1)
Alarm value differential pressure
low (part 2)
Alarm value differential pressure
high (part 1)
Alarm value differential pressure
high (part 2)
Alarm value differential pressure
hysteresis (part 1)
Alarm value differential pressure
hysteresis (part 2)
Pre-alarm value differential
pressure low (part 1)
Pre-alarm value differential
pressure low (part 2)
Pre-alarm value differential
pressure high (part 1)
Pre-alarm value differential
pressure high (part 2)
44’712
f !
Alarm value humidity low (part 1)
44’713
f !
Alarm value humidity low (part 2)
44’714
f !
Alarm value humidity high (part 1)
44’715
f !
• Alarm value humidity high (part 2)
Alarm value humidity hysteresis
(part 1)
Alarm value humidity hysteresis
(part 2)
Pre-alarm value humidity low
(part 1)
Pre-alarm value humidity low
(part 2)
Pre-alarm value humidity high
(part 1)
Pre-alarm value humidity high
(part 2)
Alarm value temperature low (part
1)
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 32
No.
5
6
0 = Alarm Value is OFF, 1 = Alarm
44’702
Differential Pressure Low
44’703 f !
44’704
Differential Pressure High
44’705 f !
44’706
44’707 f !
44’708
44’709 f !
44’710
44’711 f !
Differential Pressure Hysteresis
Differential Pressure Pre­Alarm Low
Differential Pressure Pre­Alarm High
Humidity Low
Use only if HC2A is used
Humidity High
Use only if HC2A is used
f !
f !
f !
f !
f !
44’716
44’717 f !
44’718
44’719 f !
44’720
44’721 f !
44’722 Temperature Low f !
Humidity Hysteresis
Use only if HC2A is used
Humidity Pre-Alarm Low
Use only if HC2A is used
Humidity Pre-Alarm High
Use only if HC2A is used
f !
f !
f !
PF4/5 – Bedienungsanleitung
Use only if HC2A or Pt100
Alarm value temperature low
(part 2)
Alarm value temperature high
(part 1)
Alarm value temperature high
(part 2)
Alarm value temperature
hysteresis (part 1)
Alarm value temperature
hysteresis (part 2)
Pre-alarm value temperature low
(part 1)
Pre-alarm value temperature low
(part 2)
Pre-alarm value temperature high
(part 1)
Pre-alarm value temperature high
(part 2)
Alarm value calculation low
(part 1)
Alarm value calculation low
(part 2)
Alarm value calculation high
(part 1)
Alarm value calculation high
(part 2)
Alarm value calculation hysteresis
(part 1)
Alarm value calculation hysteresis
(part 2)
Pre-alarm value calculation low
(part 1)
Pre-alarm value calculation low
(part 2)
Pre-alarm value calculation high
(part 1)
Pre-alarm value calculation high
(part 2)
Alarm value analog input low
(part 1)
Alarm value analog input low
(part 2)
Alarm value analog input high
(part 1)
Alarm value analog input high
(part 2)
Alarm value analog input
hysteresis (part 1)
Alarm value analog input
hysteresis (part 2)
Pre-alarm value analog input low
(part 1)
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 33
44’723
44’724
44’725 f !
44’726
44’727 f !
44’728
44’729 f !
44’730
44’731 f !
44’732
44’733 f !
44’734
44’735 f !
is used
Temperature High
Use only if HC2A or Pt100 is used
Temperature Hysteresis
Use only if HC2A or Pt100 is used
Temperature Pre-Alarm Low
Use only if HC2A or Pt100 is used
Temperature Pre-Alarm High
Use only if HC2A or Pt100 is used
Calculation Low
Use only if HC2A is used
Calculation High
Use only if HC2A is used
f !
f !
f !
f !
f !
f !
f !
44’736
44’737 f !
44’738
44’739 f !
44’740
44’741 f !
44’742
44’743 f !
44’744
44’745 f !
44’746
44’747 f !
Calculation Hysteresis
Use only if HC2A is used
Calculation Pre-Alarm Low
Use only if HC2A is used
Calculation Pre-Alarm High
Use only if HC2A is used
Analog Input Low
Analog Input High
Analog Input Hysteresis
f !
f !
f !
f !
f !
f !
44’748 Analog Input Pre-Alarm Low f !
PF4/5 – Bedienungsanleitung
Pre-alarm value analog input low
(part 2)
Pre-alarm value analog input high
(part 1)
Pre-alarm value analog input high
(part 2)
44’752
f !
Alarm value flow low (part 1)
44’753
f !
Alarm value flow low (part 2)
44’754
f !
Alarm value flow high (part 1)
44’755
f !
• Alarm value flow high (part 2)
• Alarm value flow hysteresis
(part 1)
Alarm value flow hysteresis
(part 2)
44’758
f !
Pre-alarm value flow low (part 1)
44’759
f !
Pre-alarm value flow low (part 2)
44’760
f !
Pre-alarm value flow high (part 1)
44’761
f !
Pre-alarm value flow high (part 2)
Alarm value volume flow low
(part 1)
Alarm value volume flow low
(part 2)
Alarm value volume flow high
(part 1)
Alarm value volume flow high
(part 2)
Alarm value volume flow
hysteresis (part 1)
Alarm value volume flow
hysteresis (part 2)
Pre-alarm value volume flow low
(part 1)
Pre-alarm value volume flow low
(part 2)
Pre-alarm value volume flow high
(part 1)
Pre-alarm value volume flow high
(part 2)
44’772 …
44’799
Undefined
Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 34
44’749 f !
44’750
44’751 f !
44’756
44’757 f !
44’762
44’763 f !
44’764
44’765 f !
Analog Input Pre-Alarm High
Flow Low
Use only if Flow is activated
Flow High
Use only if Flow is activated
Flow Hysteresis
Use only if Flow is activated
Flow Pre-Alarm Low
Use only if Flow is activated
Flow Pre-Alarm High
Use only if Flow is activated
Volume Flow Low
Use only if Flow is activated
Volume Flow High
Use only if Flow is activated
f !
f !
f !
f !
44’766
44’767 f !
44’768
44’769 f !
44’770
44’771 f !
Volume Flow Hysteresis
Use only if Flow is activated
Volume Flow Pre-Alarm Low
Use only if Flow is activated
Volume Flow Pre-Alarm High
Use only if Flow is activated
Reserved
f !
f !
f !
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
No.
Shows selected alarm level
Off (No differential pressure alarm)
Low (Differential Pressure Low alarm)
High (Differential Pressure High alarm)
3
Low or High
No.
Shows selected alarm level
Same as for Alarm Level Differential Pressure
No.
Shows selected alarm level
Same as for Alarm Level Differential Pressure
No.
Shows selected alarm level
Same as for Alarm Level Differential Pressure
No.
Shows selected alarm level
Same as for Alarm Level Differential Pressure
No.
Shows selected alarm level
Same as for Alarm Level Differential Pressure
No.
Shows selected alarm level
Same as for Alarm Level Differential Pressure
Shows selected alarm Off
sequence
Alarm never ends!
The relay stays energized
manually
Off when alarm ends
The relay will be de-energized
condition ends
Off after Timeout
The relay will remain
energized for the specified
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 35

2.5.11 Relay Settings

Setting of relays for all sensors.
Note!
In order to make use of the PF4/5 relay output, you must first enable the Alarm Bits and set the corresponding Alarm Levels (low and high) for each sensor that you want to monitor (see
Alarm Settings).
Be aware that more than one Alarm Source can activate the relay
0
44’801
44’802
44’803
44’804
44’805
44’806
44’807
Alarm Level Differential Pressure
Alarm Level Humidity
Use only if HC2A is used
Alarm Level Temperature
Use only if HC2A or Pt100 is used
Alarm Level Calculation
Use only if HC2A is used
Alarm Level Analog Input
Alarm Level Flow
Use only if Flow is activated
Alarm Level Volume Flow
Use only if Flow is activated
1
2
-
-
-
-
-
-
44’808
Alarm Off
No.
0
1
until it will be de-energized
as soon as the alarm
2
PF4/5 – Bedienungsanleitung
duration (Timeout) even if the alarm condition has ended
Off after alarm ends or after Timeout
44’809
On Delay
!
On delay time for relay (0 … 65536 [s])
If alarm condition occurs, the relay will be energized after specified OnDelay
time
Maximal alarm time for relay (0 …
65536 [s])
Time in seconds between the occurrence of the trigger criterion and the de-
chosen
If ON: It’s possible to mute the alarm
for Mute Time
44’812
Mute Time
!
• Mute time (0 … 65536 [s])
Time in seconds the relay will be muted before the alarm went on again (if
alarm is still active)
44’813…
44’899
Undefined
Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 36
3
44’810 Alarm Time !
44’811 Mute On/Off
energizing of the relay. This timeout will be active when Off after Timeout is
Reserved
PF4/5 – Bedienungsanleitung
Flag
s
Bit
Description of the Analog Input bits
Auto Unit
See below
1…1
5
No.
Select Analog Input Source
0
Voltage (0 … 10V)
1
Current (0 … 24mA)
The same value as in Value Type -> Analog Input Select
Customer selectable input range (low level)
(part 1)
Customer selectable input range (low level)
(part 2)
Customer selectable input range (high level)
(part 1)
Customer selectable input range (high level)
(part 2)
Customer selectable proc. range scale low
(part 1)
Customer selectable proc. range scale low
(part 2)
Customer selectable proc. range scale high
(part 1)
Customer selectable proc. range scale high
(part 2)
Example see below
44’911 …
44’999
Undefined
• Gives back Modbus Exception Code 02
Analog Input
ect
Voltage
Current
Auto Unit
“V”
“mA”
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 37

2.5.12 Analog Input Settings

The input range of the analog input covers 0 to 10.0 [V] resp. 0 to 24.0 [mA], depending on Analog Input Type.
Register Name
44’901 Analog Input Bits
44’902
44’903
44’904 f !
44’905
44’906 f !
44’907
44’908 f !
Analog Input Type
Input Range Low
Input Range High
Processing Range Scale Low
Description
0
Reserved
f !
f !
f !
44’909
44’910 f !
Processing Range Scale High
Reserved
f !
Auto Unit: Off the text in the field Unit: Analog Input String in the section Value Unit
will be showed.
Auto Unit: On if the field Unit: Analog Input String in the section Value Unit is empty, the following
automatic unit string will be used:
Sel
If the field Unit: Analog Input String in the section Value Unit
is not empty, e.g. set to “ppm”, the
unit in the field Unit: Analog Input String will be used, in this case “ppm”.
Description of the analog input
PF4/5 – Bedienungsanleitung
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 38
The input range of the analog input covers 0.0 [V] to 10.0 [V] resp. 0.0 [mA] to 24.0 [mA], depending on
Analog
Input Type.
The input range (Range Low / High) of the analog input can be scaled to a processing area (Scale Low /
High).
Note!
Range High must be greater than Range Low and Scale High must be greater or equal
Scale Low.
Don’t exceed the selected maximal and minimal limits of the input range.
PF4/5 – Bedienungsanleitung
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 39
Examples:
Calculation of the resulting value (Displayed Value):
(
  =
   )∗(    
(   )
)
+  
PF4/5 – Bedienungsanleitung
Register
Name
Flags
Description
Bit
Description of the Flow bits
OFF – Flow measurement is OFF
ON – Flow measurement is ON
1…1
5
45’002
f !
Customer selectable flow area (part 1)
45'003
f !
Customer selectable flow area (part 2)
45’004
f !
Customer selectable flow KL factor (part 1)
45’005
f !
Customer selectable flow KL factor (part 2)
45’006 …
45’099
Undefined
Gives back Modbus Exception Code 02
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 40

2.5.13 Flow Settings

Setting of flow specific values.
45’001 Flow Bits
0
Reserved
Duct Area
Only if Flow is activated
KL Factor
Only if Flow is activated
Reserved
Duct Area: Channel area for the calculation of the volume flow. Unit is defined in Value Unit
KL Factor: Actual KL factor for the calculation of the volume flow
PF4/5 – Bedienungsanleitung
Character values separated in succeeding registers. 2 characters per register
?
After restart of the device, the Reference Values are always set to 0.0
These are float values (32-bit IEEE754), separated in two succeeding registers (16-bits).
Devices)
Attention!
Register is used
These are 32-bit values, separated in two succeeding registers (16-bits). How to bring together part 1
Selectable Swap Modes for Rotronic Devices)
e.g. Red
Transmit
01 03 ae 39 00 04 b4 ec
Receive
01 03 08 00 01 00 02 00 03 00 06 8c d5
Transmit
MBAP 01 03 ae 39 00 04
Receive
MBAP 01 03 08 00 01 00 02 00 03 00 06
Field
Bytes
Value
Description
MBAP
7
MBAP
MBAP header (see Modbus RTU / TCP)
Checksum
2
CRC
CRC Checksum (see Modbus RTU / TCP)
Modbus RTU Address (see Device Specific
Settings)
Function code
1
0x03
Read Holding Register
Starting address
2
0xae39
= 44'601 ( Attention! register number – 1 )
Quantity of registers
2
0x0004
= 4, means read 4 registers
= 8 2 * N, means numbers of returned bytes
0x0001
Display Row 1: Differential Pressure
0x0002
Display Row 2: Humidity
0x0003
Display Row 3: Temperature
0x0006
Display Row 4: Ambient Pressure
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 41

2.5.14 Explanation of Flags

f
!
i
How to bring together part 1 and part 2 of the 32-bit float-value, depends on the Swap Mode of the Modbus communication (see Device Specific Settings and
It is not possible to verify the value, written to this register. Most of the Specific Holding Registers cannot be validated, if Modbus command Write Multiple
and part 2 of the 32-bit value, depends on the Swap Mode of the Modbus communication (see
Selectable Swap Modes for Rotronic
Color Bits:
E
Red Green Blue

2.5.15 Example: Read Holding Register

2.5.15.1 Read Display Settings (Registers 44'602 to 44'605)
RTU Example:
TCP Example:
RTU number 1 0x01
Byte count 1 0x08
Register value
(see Display
2 * N
Settings)
PF4/5 – Bedienungsanleitung
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 42
For detailed information about Modbus protocol Read Holding Register, see: (http://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
).
PF4/5 – Bedienungsanleitung
Transmit
01 10 ae 39 00 04 08 00 03 00 02 00 01 00 00 67 09
Receive
01 10 ae 39 00 04 31 2f
Transmit
MBAP 01 10 ae 39 00 04 08 00 03 00 02 00 01 00 00
Receive
MBAP 01 10 ae 39 00 04
Field
Bytes
Value
Description
MBAP
7
MBAP
MBAP header (see Modbus RTU / TCP)
Checksum
2
CRC
CRC Checksum (see Modbus RTU / TCP)
Modbus RTU Address (see Device Specific
Settings)
Function code
1
0x10
Write Multiple Register
Starting address
2
0xae39
= 44'601 ( Attention! register number – 1 )
Quantity of registers
2
0x0004
= 4, means read 6 registers
= 8 2 * N, means numbers of returned bytes
0x0003
Display Row 1: Temperature
0x0002
Display Row 2: Humidity
0x0001
Display Row 3: Differential Pressure
0x0000
Display Row 4: No value displayed
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 43

2.5.16 Example: Write Holding Register

2.5.16.1 Write Display Settings (Registers 44'602 to 44'605)
RTU Example:
TCP Example:
RTU number 1 0x01
Byte count 1 0x08
Register value
(see Display
2 * N
Settings)
Note!
After writing a Write Multiple Register command, it needs a restart of the device to activate the selected changes (see Device Actions or Reset Device).
For detailed information about Modbus protocol Write Multiple Register, see: (http://modbus.org/docs/Modbus_Application_Protocol_V1_1b3.pdf
).
PF4/5 – Bedienungsanleitung
Doc. Release
Datum
Bemerkung
E-M-PF4_PF5-Modbus
20.03.2019
Release Document
E-M-PF4_PF5-Modbus V1.2
12.04.2021
Version 2.1
E-M-PF4_PF5-Modbus V1.3
24.03.2023
Modbus RTU Address is the RS485-Adress
E-M-PF4_PF5-Modbus_V1.3 / © 2023
Seite 44

3 Document Releases

Loading...