Infocus sp5000 Zusätzliches Handbuch

Seite von 12
1  COMMAND LINE INTERFACE  
  
1.1.1 Purpose 
This specification defines the serial command line streams for controlling an InFocus projector through 
the RS232 connector to the projector.  These commands are intended to provide a simple set of controls 
to the projector through what InFocus calls the Command Line Interface (CLI).   The CLI is designed for 
use by what the industry commonly calls boardroom controllers.  The CLI will accept commands via 
RS232 to control the necessary features used by most boardroom controllers.  This CLI language uses 
a simple human readable protocol to help facilitate the installers’ time necessary to setup or diagnose a 
problem with boardroom control installations.  However, the CLI is not a guaranteed delivery system.   
 
1.1.2 Message 
Format 
As commonly used in math notation, everything is evaluated in the parenthesis first, as the parentheses 
are designed to group things together.  This same parenthesis nomenclature is used to group a 
command and its data together (nested parenthesis are not supported).  All commands are three alpha 
characters followed by the request.  The request can be a “?” symbol that signifies a read request, or a 
numerical number represented by 1 to 4 ASCII digits, that signifies a write request.  Not all commands 
support reading and writing.   The command table indicates the commands and requests that are 
supported.  There are also support commands available on non CLI format. 
 
 
1.1.3 Write 
Commands 
Write commands have the following format:  
 
(AAA####) 
where, 
 
 
 
    - starts the CLI command 
 
 
 
AAA 
    - denotes the CLI function 
#### 
- denotes the value to be written (leading zeros are not necessary) 
- ends the CLI command 
 
Some functions have ranges for settings while others are Boolean.  Settings with ranges range from 
zero to a maximum number.  If a number greater than the maximum is received, it is automatically 
limited to the maximum number for that function.  IT IS SUGGESTED THAT EACH FUNCTION BE 
QUERIED FOR ITS RANGE WITH A READ COMMAND BEFORE ISSUING A WRITE COMMAND.  
Boolean settings consider 0 as off and 1-9999 as on.  The only exception is the Power command.  The 
only valid write values that will be accepted will be ‘0’ for turning the power off and ‘1’ for turning the 
power on. 
 
Examples: 
 
Brightness Command 
(BRT10) 
Sets the brightness to 10 
Volume Command 
(VOL0000) 
Set the volume to 0 
Freeze 
Command 
 (FRZ1) 
 Freeze 
the 
display 
Freeze Command  
(FRZ9999) 
Freeze the display 
Power 
Command 
 (PWR0) 
 Turn 
power 
off 
Power 
Command 
 (PWR1) 
 Turn 
power 
on 
Power Command  
(PWR9999) 
Command not recognized