ICP DAS
LinPAC-52xx Series XV-Board API User Manual
27
4.1.2 DIO
Â
Location
First, install the LP-52xx SDK from the LinPAC CD or from the ICP DAS FTP site, and follow the
steps described below to implement the demonstration. Refer to the
setxvdo.c
,
getxvdo.c
, and
getmodbus.c
files in the path
C:\cygwin\LinPAC_AM335x_SDK\examples\xvboard\
folder for
more details.
Â
Wiring Connections
The following is an example of communication between the XV310 module and the M-7000
series module. To read the M-7002 module values from an LP-52xx module, we need to connect
an M-7002 module via the RS-485 serial bus, as illustrated below:
LP-5231
M-7002
For more information related to the M-7002 module, refer to:
http://www.icpdas.com/root/product/solutions/remote_io/rs-485/i-7000_m-7000/m-7002.html
Note:
The default base address for M-7000 series modules is
0
.
(Base 0)