Connecting To I/O Expansion Boards (Xv-Board) - ICP DAS USA VPD Series User Manual

Touchpad hmi device
Hide thumbs Also See for VPD Series:
Table of Contents

Advertisement

TPD/VPD Series HMI Device User Manual
5.3 Connecting to I/O Expansion Boards
(XV-Board)
Default Value
Net ID
Baud Rate
Comport
Communication Interface
Using C Programming Language to Control XV-Board
HANDLE h;
int NetID = 1;
int addr = 1;
int ch_count = 8;
char DO_value[1];
DO_value[0] = 3;
h = uart_Open("XVBus,115200,N,8,1");
mrm_WriteDO (h, NetID, addr, ch_count, DO_value);
uart_Close(h);
Copyright © 2017 ICP DAS Co., Ltd. All Rights Reserved.
1
115200
XVBus
Modbus RTU (XV-Board as slave)
//that is, turn on the ch 0 and ch1.
XV-Board
Page: 104

Advertisement

Table of Contents
loading

Table of Contents