User manual

22
port=<IP port for connection to or listen to>;
application=”<application to start>”;
ip=<IP address to connect to>. If this parameter is present, the line will try to connect
to this IP address. If this parameter is not present, the line will accept connections
In case of a standard COM port:
com=<COM port number>, (1, 2, …)
Example:
load chapi YHA dll=chapi_dh11.dll
set YHA address=
017760020 vector=0310 trace_level=0
#LINE[0] IS SERVER
set YHA line_dll[0]=chapi_serial line_cfg[0]=tcpip
set YHA line_is_terminal[0]=true line_param[0]="port=10020 application=txa0.ht"
set YHA line_dll[1]=chapi_serial line_cfg[1]=com
set YHA line_is_terminal[1]=true line_param[1]="com=1"
set YHA line_dll[2]=chapi_serial line_cfg[2]=moxa
set YHA line_is_terminal[2]=true line_param[2]="ip=192.168.127.254 port=1"
set YHA line_dll[3]=chapi_serial line_cfg[3]=moxa
set YHA line_param[3]="ip=192.168.127.254 port=2"
#LINE[4] IS CLIENT
set YHA line_dll[4]=chapi_serial line_cfg[4]=tcpip
set TXA line_param[4]="ip=192.168.1.1 port=10055"
DHV11
The CHAPI DHV11 QBUS serial line multiplexer is implemented as the
CHAPI_DHV11.DLL and uses CHAPI_SERIAL.DLL and CHAPI.DLL for its
implementation. It is provided in binary form. The implementation supports the following
methods to implement its serial lines:
1. As a standard PC COM port
2. As a TCP/IP port;
3. As a RS232 port on the MOXA Nport 5210 family of Ethernet serial line
multiplexers.
The implementation is based on the general Serial I/O CHAPI support library (see 5.2).