Comtrol SCO OpenServer Manual de usuario Pagina 21

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 42
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 20
RS-485 Configuration 21
SCO OpenServer
RS-485 Configuration
If you have installed a RocketPort that supports RS-485 and have
configured one or more ports for RS-485 operation (see the Hardware
Reference Card), there are two ways to configure RS-485 service.
rs485
This program enables you to remap a port to enable or disable
RS-485, for the current session only.
rs485.init
This enables you to remap a port to enable or disable RS-485
automatically each time the system is rebooted.
RS485
Follow these steps to temporarily enable or disable RS-485:
1. Disable the port you want to work with.
2. To enable RS-485 on a port, enter this command:
/comtrol/rckt/rs485 -y /dev/<portname>
To disable RS-485 on a port, enter this command:
/comtrol/rckt/rs485 -n /dev/<portname>
3. Repeat these steps for each port you want to enable or disable.
Note: Do not enable RS-485 for a port configured for RS-232.
RS485.init
Follow these steps to permanently enable or disable RS-485:
1. Edit the /comtrol/rckt/rs485.cfg file to add or delete the ports you are
remapping. To enable a port, add it to the list. To disable a port,
remove it from rs485.cfg or comment it out. For example:
/dev/ttyr0a
/dev/ttyr0b
indicates that port 0 and port 1 on Board 1 are enabled for RS-485.
#/dev/ttyr0a
#/dev/ttyr0b
indicates that port 0 and port 1 on Board 1 are disabled for RS-485.
(The # indicates a commented-out line.)
2. Reboot the system, or execute /comtrol/rckt/rs485.init for immediate
change. The ports are remapped according to the contents of the
/comtrol/rckt/rs485.cfg file each time the system is rebooted.
Vista de pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 41 42

Comentarios a estos manuales

Sin comentarios