ICP DAS
LinPAC-52xx Series XV-Board API User Manual
25
Remarks:
The following is a more detailed description of the demonstration.
(1) In this program, the address value for the
AO1
channel is
33
.
Refer to the Modbus register table for the XV310 module for more details. The table below
provides the valid range for the register addresses.
Refer to Chapter 1.3: “
” for details of other specifications for the XV-Board
together with the Modbus register table.
AO0
:
AO1
(2) In this example, we set the type code for the AO range to 02, which denotes that the Analog
Output range is +0 V to +10 V. The table below gives an overview of the properties for the
Analog Output range.
(3) The default data format for the AI/AO channel is hexadecimal, so we must first convert the
hexadecimal
value to a
decimal
value. For example, the hexadecimal value
FFFF (hex)
would be expressed in decimal format as
65535
(dec)
.