AMX MAX-CSD 10 manual IR/Serial Send Commands Cont, PORT 3 IR,CARRIER,IO LINK, NetLinx Programming

Models: MAX-CSD 10 MAX-CSE

1 110
Download 110 pages 20.97 Kb
Page 101
Image 101
IR/Serial Send_Commands (Cont.)

 

NetLinx Programming

 

IR/Serial Send_Commands (Cont.)

 

 

Command

Description

 

 

CP

You can set the Pulse and Wait times with the 'CTON' and 'CTOF' commands.

Halt and Clear all active or

Syntax:

buffered IR commands, and

SEND_COMMAND <DEV>,"'CP',<code>"

then send a single IR pulse.

Variable:

 

 

code = IR port's channel value 0 - 252 (253 - 255 reserved).

 

Example:

 

SEND_COMMAND IR_1,"'CP',2"

 

Clears the active/buffered commands and pulses IR_1 port's channel 2.

 

 

CTOF

Off time settings are stored in non-volatile memory. This command sets the

Set the duration of the Off

delay time between pulses generated by the 'CH' or 'XCH' send commands in

tenths of seconds.

time (no signal) between IR

Syntax:

pulses for channel and IR

function transmissions.

SEND_COMMAND <DEV>,"'CTOF',<time>"

 

 

Variable:

 

time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).

 

Example:

 

SEND_COMMAND IR_1,"'CTOF',10"

 

Sets the off time between each IR pulse to 1 second.

 

 

CTON

This command sets the pulse length for each pulse generated by the 'CH' or

Set the total time of IR pulses

'XCH' send commands in tenths of seconds.

transmitted and is stored in

Syntax:

non-volatile memory.

SEND_COMMAND <DEV>,"'CTON',<time>"

 

 

Variable:

 

time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).

 

Example:

 

SEND_COMMAND IR_1,"'CTON',20"

 

Sets the IR pulse duration to 2 seconds.

 

 

GET BAUD

The port sends the parameters to the device that requested the information.

Get the IR port’s current

Only valid if the port is in Data Mode (see SET MODE command).

 

DATA mode communication

The port responds with:

parameters.

<port #> <baud>,<parity>,<data bits>,<stop bits>

 

 

Syntax:

 

SEND_COMMAND <DEV>,"'GET BAUD'"

 

Example:

 

SEND_COMMAND IR_1,"'GET BAUD'"

 

System response example:

 

PORT 3 IR,CARRIER,IO LINK 0

 

 

GET MODE

The port responds with: <port #> <mode>,<carrier>,<io link channel>.

Poll the IR/Serial port's

Syntax:

configuration parameters and

SEND_COMMAND <DEV>,"'GET MODE'"

report the active mode

Example:

settings to the device

 

requesting the information.

SEND_COMMAND IR_1,"'GET MODE"

 

The system could respond with:

 

PORT 3 IR,CARRIER,IO LINK 0

 

 

MAX-CSE/MAX-CSD10 Operation/Reference Guide

95

 

 

Page 101
Image 101
AMX MAX-CSD 10, MAX-CSE manual IR/Serial Send Commands Cont, PORT 3 IR,CARRIER,IO LINK, NetLinx Programming