Process data and status information
108147_en_00 PHOENIX CONTACT 27 / 44
Output voltages
The output voltages of the channels can be retrieved via Index 3333
dec
. The voltages of all
channels together are stored under Subindex 0 and are returned in 8 bytes. Each channel's
output voltage is encoded in 2 bytes.
Example:
With Byte [0] = 01
hex
and Byte [1] = 2B
hex
, the result is the 16 bit value 01 2B
hex
. This cor-
responds to the value 299
dec
. The voltage value comes from multiplying the 16-bit value by
a gradient of 0.1. This results in an output voltage of 29.9 V.
The individual voltages of the channels are reached under Subindex 1-4.
Table 5-9 Bit-assignment of data type "output voltages"
Output voltage channel 1
Byte 0
(high)
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
Byte 1
(low)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
Output voltage channel 2
Byte 2
(high)
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
Byte 3
(low)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
Output voltage channel 3
Byte 4
(high)
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
Byte 5
(low)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
Output voltage channel 4
Byte 6
(high)
Bit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9 Bit 8
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
Byte 7
(low)
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0