ICP DAS USA LinPAC-22 Series User Manual page 25

Xv-board api functions
Table of Contents

Advertisement

ICP DAS
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.
AO0
AO1
Refer to Chapter 1.3: "Specifications" for details of other specifications for the XV-Board
together with the Modbus register table.
(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
would be expressed in decimal format as
:
decimal
LinPAC-52xx Series XV-Board API User Manual
value. For example, the hexadecimal value FFFF (hex)
65535
(dec).
25

Advertisement

Table of Contents
loading

Table of Contents