beautypg.com

AMX MAX-CSE User Manual

Page 104

background image

NetLinx Programming

98

MAX-CSE/MAX-CSD10 Operation/Reference Guide

IR/Serial Send_Commands (Cont.)

Command

Description

SET MODE
Set the IR/Serial ports for IR
or Serial-controlled devices
connected to a CardFrame or
NetModule.

Sets an IR port to either IR, Serial, or Data mode.

Note: IR DATA Mode works best when using both a lower baud rate and a
short cable length (< 10 feet).
Syntax:

SEND_COMMAND , 'SET MODE '"

Variable:

mode = IR, SERIAL, or DATA.

Example:

SEND_COMMAND IR_1,"'SET MODE IR'"

Sets the IR_1 port to IR mode for IR control.

SP
Generate a single IR pulse.

You can use the 'CTON' to set pulse lengths and the 'CTOF' for time Off between
pulses.
Syntax:

SEND_COMMAND ,"'SP',"

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.

XCH
Transmit the selected chan-
nel IR codes in the format/
pattern set by the 'XCHM'
send
command.

Syntax:

SEND_COMMAND ,"'XCH '"

Variable:

channel = 0 - 999.

Example:

For detailed usage examples, refer to the 'XCHM' command.

This manual is related to the following products: