Specifications

NetLinx Send Commands
48
ICSLan Device Control Boxes
NetLinx Send Commands (Cont.)
Command Description EXB Modules
SP
Generate a single IR pulse.
Use 'CTON' (page 39) to set pulse lengths and 'CTOF' (page 39) for
time off between pulses.
This command uses a binary parameter. To generate a Send
Command of this type, use string expressions, such as:
'CH',$01”.
Syntax:
SP,<code>
Variable:
code = IR code value 1 - 252 (253-255 reserved).
Example:
SEND_COMMAND IR_1, "'SP',$25"
Pulses IR code 25 on IR_1 device.
EXB-IRS4
EXB-MP1
TSET BAUD Set the COMport's communication parameters for a device.
TSET BAUD is identical to SET BAUD.
Note: This value is not saved in Non-Volatile memory, and is reset to
default (9600,8,N,1) at power-up.
Syntax:
TSET BAUD <baud>,<parity>,<data>,<stop>
[485 <Enable|Disable>]
Variables:
Baud: 115200, 76800, 57600, 38400, 19200, 9600, 4800, 2400,
1200, 600, 300, 150.
Parity: N (none), O (odd), E (even), M (mark), S (space)
Data: 7 or 8 data bits
Stop: 1 or 2 stop bits
485 Disable (EXB-COM2 port 1 only): Disables RS-485 mode and
enables RS-232/422
485 Enable (EXB-COM2 port 1 only): Enables RS-485 mode and
disables RS-234/422
Note: The only valid 9 bit combination is (baud),N,9,1.
Example:
SEND_COMMAND RS232_1,"'TSET BAUD 115200,N,8,1 485
ENABLE'"
Sets the RS232_1 port's communication parameters to 115,200
baud, no parity, 8 data bits, 1 stop bit, and enables RS-485 mode.
Note: Since this command does not save parameters to NV memory,
the default data rate and format at power up is 9600, 8, N, 1.
EXB-COM2
EXB-MP1
TXCLR Stop and clear all characters waiting in the transmit out buffer and
stops transmission.
Syntax:
TXCLR
Example:
SEND_COMMAND RS232_1,"'TXCLR'"
Clears and stops all characters waiting in the RS232_1 device's
transmit buffer.
EXB-COM2
EXB-MP1