Programming

LED Disable/Enable Send_Commands

The following commands enable or disable the LEDs on the Integrated Controller.

In these examples: <DEV> = Port 1 of the device. Sending to port 1 of the NI-Controller (affects all ports).

LED Send_Commands

Command

Description

 

 

LED-DIS

Regardless of whether or not the port is active, the LED will not be lit. Issue this

Disable all LEDs (on 32 LED

command to port 1 to disable all the LEDs on the Controller. When activity

hardware) for a port.

occurs on a port(s) or Controller, the LEDs will not illuminate.

 

Syntax:

 

SEND_COMMAND <DEV>,"'LED-DIS'"

 

Example:

 

SEND_COMMAND Port_1,"'LED-DIS'"

 

Disables all the LEDs on Port 1 of the Controller.

 

 

LED-EN

When the port is active, the LED is lit. When the port is not active, the LED is

Enable the LED (on 32 LED

not lit. Issue the command to port 1 to enable the LEDs on the Controller

hardware) for a port

(default setting). When activity occurs on a port(s) or Controller, the LEDs

(by default).

illuminate.

 

Syntax:

 

SEND_COMMAND <DEV>,'LED-EN'

 

Example:

 

SEND_COMMAND System_1,'LED-EN'

 

Enables the System_1 Controller's LEDs.

 

 

RS232/422/485 Ports Channels

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

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

In these examples: <DEV> = device.

RS-232/422/485 Send_Commands

Command

Description

 

 

B9MOFF

Disables 9-bit in 232/422/455 mode. By default, this returns the communication

Set the port's communication

settings on the serial port to the last programmed parameters. This command

parameters for stop and data

works in conjunction with the 'B9MON' command.

bits according to the software

Syntax:

settings on the RS-232 port

SEND_COMMAND <DEV>,"'B9MOFF'"

(default).

Example:

 

SEND_COMMAND RS232_1,"'B9MOFF'"

 

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

 

 

B9MON

Enables 9-bit in 232/422/455 mode. This command works in conjunction with

Override and set the current

the 'B9MOFF' command.

communication settings and

Syntax:

parameters on the RS-232

SEND_COMMAND <DEV>,"'B9MON'"

serial port to 9 data bits with

Example:

one stop bit.

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.

 

 

132

NI-3101-SIG Signature Series NetLinx Integrated Controller

Page 142
Image 142
AMX NI-3101-SIG manual LED Disable/Enable SendCommands, RS232/422/485 Ports Channels, RS-232/422/485 SendCommands