User manual
21
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).
Note: The CHAPI DH11 device cannot be configured using the legacy ‘
parameter
’
configuration method. The CHAPI DH11 device is configured as follows (in this example
the logical name for the device is YHA. Note that this name is only valid in this
configuration file context, and does not define how the device appears in the OS running
on CHARON, which is defined by that OS based on how it recognizes the emulated
hardware):
load chapi YHA dll=chapi_dh11.dll
set YHA address=<address> vector=<vector> trace_level=<level>
set YHA line_dll[x]=<serial library dll file>
set YHA line_cfg[x]=<name of the port to load>
set YHA line_is_terminal[x]=<do we need force XON/XOFF flow control>
set YHA line_param[x]=”<string of parameters for the line>”
• x – is a number of configured line ( can be in range [0, MAX_CONTROLLER_LINES - 1] )
• line_dll[x] – DLL file name to load CHAPI serial line port implementation from – can be omitted –
CHAPI_SERIAL.DLL will be used by default;
• line_cfg[x] – name of the port to load, can be:
• moxa – MOXA NPort 5210 port
• tcpip –TCP/IP port
• com – standard PC COM port
The 'line_cfg[x]' parameter can be omitted – 'tcpip' will be used by default;
• line_is_terminal[x] – must be set to true to force XON/XOFF flow control
• line_param[x] – a string that contains the parameters for the line. They can be:
• In case of a MOXA NPort 5210 port:
• ip=<NPort5210 IP address>;
• port=<RS232 port of a NPort5210>, (1, 2, …);
• In case of a TCP/IP port:










