Ir/serial port use – Extron Electronics IPCP 505 User Guide User Manual
Page 66
IPCP 505 • SIS Pr
ogramming and Contr
ol
60
Command/Response Table for SIS Commands (continued)
Command
ASCII (Telnet)
(host to IPCP)
URL Encoded (web)
(host to IPCP)
Response
(IPCP to host)
Additional description
IR/Serial port use
The following variables are used for these IR/serial port commands:
X!
= port number:
09 = IR/serial port 1 10 = IR/serial port 2
11 = IR/serial port 3 12 = IR/serial port 4
13 = IR/serial port 5 14 = IR/serial port 6
15 = IR/serial port 7 16 = IR/serial port 8
Port numbers are two ASCII characters (2 bytes). For example, port 1 is represented as 01.
X5&
= the IR file number (0-99), as in files 1.eir, 2.eir, 3.eir, and so on, stored in the
controller. Each .eir file contains commands for a specific device.
X5*
= IR playback function number (1-137), of a specific function or command set
contained within the file.
IR function numbers 0 and 127 or higher can return information only.
0 = return all data
129 = manufacturer
130 = model
131 = class
132 = remote
133 = creation date
134 = comments
137 = user file name
(a descriptive name the user/
installer gave the file).
X5(
= IR playback mode
0 = play once
1 = play continuously
2 = stop.
X21)
= IR/serial port configuration type
0 = IR port (default, 0– 5 VDC)
1 = RS-232 port (±5 VDC).
View IR/serial port configuration
E X!
IC
]
W
X!
IC
|
X21)]
Send an IR command
28
E
X!
,
X5&
,
X5*
,
X5(
IR
}
Send an IR command via IR/serial output port
number
X!
.
The response includes leading zeros.
W
X!
%2C
X5&
%2C
X5*
%2C
X5(
IR
|
Irs
X!
,
X5&
,
X5*
,
X5(
]
Get IR command info
13, 28
E X5&
,
X5*
IR
}
W
X5&
%2C
X5*
IR
|
{descriptive text}
]
The response to this command is the name/
description (such as Power On, Power Off,
Enter, Play, Stop, RGB, Menu) of the specific
command you ask about.
Example:
E
3,1IR
}
W 3 %2C 1IR
|
POWER
]
Command/function 1 in file 3.eir is the
Power command.
Example:
E
3,2IR
}
W 3 %2C 2IR
|
E13
]
Command/function 2 in file 3.eir is not
defined or does not exist, so the controller
returns E13, the invalid value error number.
NOTE: An IR driver must be loaded into the IPCP before IR command information can be read.