
Programming
16
NXI NetLinx Integrated Controller (No Master)
IR/Serial Send_Commands (Cont.)
CTOF Sets the duration of off time (no signal) between IR pulses for channel and IR function
transmissions. Off time settings are stored in non-volatile memory.
The factory default for channel off time is 5 (.5 second).
This command is associated with the SP (single pulse) and CP (clear pulse) commands.
Syntax:
SEND_COMMAND <DEV>,"'CTOF',<Time>"
Variable:
Time = 0-255 in tenths of a second increments
Example:
SEND_COMMAND IR_1,"'CTOF',10"
Sets the off time between each IR pulse to 1 second.
CTON Sets the total time of IR pulses transmitted, and is stored in non-volatile memory.
Syntax:
SEND_COMMAND <DEV>," 'CTON',<Time>"
Variable:
Time = 0-255 in tenths of a second increments; default = 5 (.5 second).
Example:
SEND_COMMAND IR_1,"'CTON',20"
Sets the IR pulse duration to 2 seconds.
GET MODE Polls the IR/Serial ports and reports the active mode settings to the device requesting the
information.
Syntax:
SEND_COMMAND <DEV>, 'GET MODE'
Example:
SEND_COMMAND IR_1,'GET MODE'
System response example:
PORT 4 IR,CARRIER,IO LINK 0
IROFF Halts and clears all IR output on the designated port.
Syntax:
SEND_COMMAND <DEV>,'IROFF'
Example:
SEND_COMMAND IR_1,'IROFF'
Immediately halts and clears all IR output signals on the IR_1 port.
POD Disables active PON (power on) or POF (power off) command settings.
Channel 255 changes are enabled. This command is used in conjunction with the I/O Link
command.
Syntax:
SEND_COMMAND <DEV>,'POD'
Example:
SEND_COMMAND IR_1,'POD'
Disables PON and POF command settings on the IR_1 device.
Komentarze do niniejszej Instrukcji