Modbus protocol, 1 device control, 2 device status – KROHNE UFC 400 Modbus EN User Manual
Page 14
5
MODBUS PROTOCOL
14
UFC 400
www.krohne.com
05/2013 - 4002744801 - AD Modbus UFC 400 R01 en
5.8.1 Device Control
The "Device Control" offers some basic functionality to operate with the signal converter.
Therefore, the Modbus interface provides five coils that can be accessed via Modbus Function
Code "Write Single Coil" (0x05).
Write a coil to value 1
value 1
value 1
value 1 (ON) to initiate the action.
5.8.2 Device Status
Modbus Function Code "Write Single Coil" (0x05)
Coil
Address
Name
Description
Display
Fct. No.
1000
1000
1000
1000
(0x03E8)
Restart Device
Restart entire signal converter
D4.1
1001
1001
1001
1001
(0x03E9)
Reset Errors
Clears the system error flags
A3.1
1002
1002
1002
1002
(0x03EA)
Apply Changes
Apply latest changes of configuration
-
1003
1003
1003
1003
(0x03EB)
Discard Changes
Discard all of the configuration changes made since the last "Apply
Changes"
-
1004
1004
1004
1004
(0x03EC)
Reset to Factory
Data
Resets the signal converter to factory configuration
C5.6.3
Modbus Function Codes "Read Discrete Inputs" (0x02)
Discrete
Inputs
Name
Description
Type
No. of
registers
Values
10001
10001
10001
10001
(0x2711)
Unsaved changes
pending
Indicates if there are unsaved
changes. "Apply Changes" to
save them, "Discard Changes" to
work with previous settings
Bit
1
0 = no changes made
1 = unsaved changes
detected
Modbus Function Codes "Read Input Registers" (0x04)
Input
Register
Name
Type
No. of
registers
Values / Units
Display
Fct. No.
39002
39002
39002
39002
(0x985A)
Device Operation Time
Float
2
[s]
B2.8
39004
39004
39004
39004
(0x985C)
NE 107 Status Groups
Long
2
For further information refer to
NAMUR NE 107 Event Group(s)
on page 27.
-
39100
39100
39100
39100
(0x98BC)
NE 107 Device Status
Byte
1
Bit 7 = Failure (F)
Bit 6 = reserved
Bit 5 = Out of Specification (S)
Bit 4 = Function Check (C)
Bit 3 = reserved
Bit 2 = Maintenance required (M)
Bit 1 = reserved
Bit 0 = Information (I)
-