18
Serial (COM) Commands
Syntax: #COMn[StringType, “Command”];
Name Required/Optional Data Type Format Description
n Required Variant Use 1 for COM1; use 2 for COM2. Denotes the COM port to be
used, corresponding to the
serial device to be controlled.
String Type Optional Variant Tn
where n is 1 or 2
Defines the string type:
• ASCII string (1)
• Hexadecimal (2)
If you leave StringType blank,
a default of T1 is assumed
Command Required Variant Specific to device. A string expression that
contains the command.
Example (turns on a projector via COM 1 using an ASCII string command): #COM1[T1, “PWR ON\r”];
IR-Out Universal Commands
Syntax: #XROn[F2,“Command”];
Name Required/Optional Data Type Format Description
n Required Variant Use 1 for IR port 1. Denotes the IR port to be
used.
Command Required Variant Specific to device. A string expression that
contains the command.
Example (turns on a DVD player):
#XRO1[F2, “ 40000300015430309DA03F508FC03A704D6039...3A704D803F808FC03A704D403A104FB03A704D903”];
Alarm Commands
Syntax: #ALM[“Command”, DTime];
Name Required/Optional Data Type Format Description
Command Required Variant Use ON to start the alarm. Use OFF
to stop the alarm.
Starts/stops the beep.
Time Required Variant Integer representing multiples of 4ms
duration.
Sets the duration.