beautypg.com

Led disable/enable send_commands, Rs232/422/485 ports channels, Rs-232/422/485 send_commands – AMX Signature Series NetLinx Integrated Controller NI-3101-SIG User Manual

Page 142

background image

Programming

132

NI-3101-SIG Signature Series NetLinx Integrated Controller

LED Disable/Enable Send_Commands

The following commands enable or disable the LEDs on the Integrated Controller.
In these examples: = Port 1 of the device. Sending to port 1 of the NI-Controller (affects all ports).

RS232/422/485 Ports Channels

RS232/422/485 ports are Ports 1-6.

RS-232/422/485 Send_Commands

In these examples: = device.

LED Send_Commands

Command

Description

LED-DIS
Disable all LEDs (on 32 LED
hardware) for a port.

Regardless of whether or not the port is active, the LED will not be lit. Issue this
command to port 1 to disable all the LEDs on the Controller. When activity
occurs on a port(s) or Controller, the LEDs will not illuminate.
Syntax:

SEND_COMMAND ,"'LED-DIS'"

Example:

SEND_COMMAND Port_1,"'LED-DIS'"

Disables all the LEDs on Port 1 of the Controller.

LED-EN
Enable the LED (on 32 LED
hardware) for a port
(by default).

When the port is active, the LED is lit. When the port is not active, the LED is
not lit. Issue the command to port 1 to enable the LEDs on the Controller
(default setting). When activity occurs on a port(s) or Controller, the LEDs
illuminate.
Syntax:

SEND_COMMAND ,'LED-EN'

Example:

SEND_COMMAND System_1,'LED-EN'

Enables the System_1 Controller's LEDs.

RS232/422/485 Ports Channels

255 - CTS push channel

Reflects the state of the CTS input if a 'CTSPSH' command was sent to the
port.

RS-232/422/485 Send_Commands

Command

Description

B9MOFF
Set the port's communication
parameters for stop and data
bits according to the software
settings on the RS-232 port
(default).

Disables 9-bit in 232/422/455 mode. By default, this returns the communication
settings on the serial port to the last programmed parameters. This command
works in conjunction with the 'B9MON' command.
Syntax:

SEND_COMMAND ,"'B9MOFF'"

Example:

SEND_COMMAND RS232_1,"'B9MOFF'"

Sets the RS-232 port settings to match the port's configuration settings.

B9MON
Override and set the current
communication settings and
parameters on the RS-232
serial port to 9 data bits with
one stop bit.

Enables 9-bit in 232/422/455 mode. This command works in conjunction with
the 'B9MOFF' command.
Syntax:

SEND_COMMAND ,"'B9MON'"

Example:

SEND_COMMAND RS232_1,"'B9MON'"

Resets the RS-232 port's communication parameters to nine data bits, one
stop bit, and locks-in the baud rate.