(-e)EIA-485 HDX Local Echo: Local echo by default is on. This parameter applies only to EIA-485 half duplex mode. All characters will be echoed to the user and transmitted across the serial ports. Some EIA-485 applications require local echo to be enable in order to monitor the loopback data to determine that line contention has occurred. If your application cannot handle loopback data the local echo should be disabled.

(-a)EIA-485 TX Driver Control: The default for this field is AUTO. When Auto is set the UltraPort SI will automatically detect the beginning and the ending of data being transmitted in order to enable and disable the transmit line. When the field is set to RTS it is the host application’s responsibility to enable and disable the transmit line via the RTS handshake line when it wants to send data.

(-b) Auto EIA-485 Bit Delay: By default this field is set to 0 delay. This field is only applicable if you have configured EIA-485 TX Driver Control to AUTO. Values for this field are 0 through 15 bits.

(-h) Help: Displays the setultrap usage screen.

Note

The port must be closed and then opened for the new parameters to take effect.

The following examples show typical user applications:

etc/setultrap -f /dev/ttyPS0,/dev/ttyPS15- l -lists options configured for serial ports 1 through 16

etc/setultrap -f /dev/ttyPS0,/dev/ttyPS15 -m 422 -sets serial port 1 through 16 to interface type EIA-422

etc/setultrap -f /dev/ttyPS0,/dev/ttyPS3 -m 485fdx -configures ports 1 to 4 to EIA-485 full duplex

etc/setultrap -f /dev/ttyPS1 -m 485hdx -t term -b 5 -sets serial port ttyPS1 to EIA-485 half duplex termination enabled, control bit-delay 5

These commands may be added to a startup script to cause them to run automatically whenever the system is started. A sample commented out startup script is (/etc/init.d/ rc.setultrap) supplied with this driver.

Uninstalling the UltraPort Driver for Linux

To uninstall the driver enter the following command:

rpm -e perle-serial

UltraPort Serial Adaptors User Guide

Chapter 2 Installing drivers and host cards

Installing under Linux

Page 94

 

Page 94
Image 94
Perle Systems Adaptors manual Uninstalling the UltraPort Driver for Linux, Rpm -e perle-serial