
62
ESP-4 MI Serial Hub Installer/User Guide
Sample script file
The following sample script file:
•
Removes the driver information for the ESP hub with address 10.0.0.116.
•
Installs the driver information for the ESP-2 MI hub with address 10.0.0.115.
This hub’s MAC address is 00-80-7D-94-65-00. This hub is on the local gateway and subnet.
Physical port 1 is mapped to logical port COM30, and physical port 2 is mapped to logical
port COM40.
The interface for port 1 is RS-485 and the interface for port 2 is RS-232.
The heartbeat rate is 10 seconds and the heartbeat time-out is 80 seconds.
All other values (transmit drain, no flush, send modem status, send comms status, no purge and
open persist) assume their default values.
•
Updates (modifies) the driver information for the ESP -4 MI hub at address 10.0.0.117.
Physical port 3 is remapped to logical port COM100 and physical port 4 is remapped to logical
port 110.
The transmit drain feature is disabled for port 1.
// The following command removes information about the ESP hub
// at IP address 10.0.0.116
remove=10.0.0.116
P<
p_port
>=COM<
l_port
>
Physical port number (p_port) and unique logical port (l_port) mapping.
The logical port must be in the range 0-255.
The current mapping may be obtained from the Windows Device
Manager on the ESP property page and the Starting COM Port listboxes.
A current list may also be generated by running espinstall /list.
RATE=<
sec
>
Specifies the heartbeat rate for the ESP hub, in the range 1-100.
REMOVE=<
ip
>
Removes a previously installed ESP hub. This command does not need
to be inside an ESP-END block.
TIMEOUT=<
sec
>
Specifies the heartbeat time-out for the ESP hub. This value must be 3
times the heartbeat rate specified in the Rate command.
TYPE=<
type
>
ESP hub type. Valid values are ESP-2 MI, ESP-4 MI, ESP-8, ESP-16,
ESP-8 10/100, ESP-16 10/100 ESP-8 MI, ESP-16 MI.
WINDOWDEBUG=[0|1]
Enables (1) or disables (0) inclusion of addition debug information in the
ESPinstall.log file, related to the automated responses to the Windows
dialogs for an unsigned driver. The default is disabled.
Table C.1: ESP-Install Program Commands (Continued)
Command
Description
Содержание ESP-4 MI
Страница 8: ...vi ESP 4 MI Serial Hub Installer User Guide...
Страница 54: ...44 ESP 4 MI Serial Hub Installer User Guide...
Страница 60: ...50 ESP 4 MI Serial Hub Installer User Guide...
Страница 79: ......