Digital Projection Vision 30 User Guide

Vision 30 Series
Communication Protocol
Revision 1.0 03/28/2008
www.digitalprojection.com
Table of Contents
Table of Contents ...............................................................................................................................................................................1
Setting up LAN communication .........................................................................................................................................................2
Connecting to the projector ...............................................................................................................................................................2
Setting up RS232 communication .....................................................................................................................................................5
Connect to the projector ...............................................................................................................................................................5
RS232 Communication parameters ..............................................................................................................................................5
Communication Protocol ....................................................................................................................................................................6
Overview ........................................................................................................................................................................................6
Message body ...............................................................................................................................................................................6
Mnemonic ......................................................................................................................................................................................6
Modiers ........................................................................................................................................................................................7
Acknowledge/Response ................................................................................................................................................................7
Examples .......................................................................................................................................................................................8
ASCII commands .............................................................................................................................................................................10
Value tables ......................................................................................................................................................................................10
The projector is shipped with a set of default settings, these are as follows:
Description Value
DHCP On
IP address 0.0.0.0
Subnet mask 0.0.0.0
Default gateway 0.0.0.0
TCP/UDP port 1025
Username admin
Password admin
Before you connect the projector to your LAN make sure that the IP settings are set correct according to your LAN conguration.
IP settings can be changed from menu system or from the projector webpage. It can be set automatically by using DHCP (Dynamic
Host Conguration Protocol) or manually by disabling DHCP and set IP address, Subnet mask and Gateway.
Use of DHCP requires a DHCP server in the network.
When enabling DHCP please allow up to a minute for the projector to receive IP settings from the DHCP server. The IP address will be updated and shown in the menu system.
Connecting to the projector
You have two options regarding how to make the physical connection to the projector. You can either use a crossover twisted pair (TP)
cable directly from the computer to the projector, or two straight-through TP cables with a HUB or a switch between them.
When the projector is set up with proper IP settings, you should be able to control it.
To verify the communication you can connect to the projector webpage. This is done by starting up an internet browser, like Internet
Explorer, Opera, Firefox or similar. Then type the projectors IP address (found in the projector network menu) in the address bar.
You will then see a login screen, see Figure 1.
Figure 1 : Login
Type in the projectors default login name (admin) and password (admin), both are case sensitive. If both are correct, you will se a conguration website, see Figure 2.
Figure 2 : Web page
On this page you can setup the projectors IP address, subnet mask, default gateway, projector port (TCP/UDP) and password. This page also displays the current version of network rmware the projector is running.
Setting up RS232 communication
Connect to the projector
Connect the projector and host using a standard serial cable with 9-pin female to the host, and 9-pin male to the projector. Pin 2 connects to pin 2, pin 3 connects to pin 3 and pin 5 connects to pin 5.
RS232 Communication parameters
Table 1 shows supported rs232 settings:
Parameter Data
Baud rate 4800, 9600, 19200
Parity N
Databits 8
Stopbits 1
Flowcontrol None
Table 1: RS232 parameters
Baud rate is congurable from the projector’s menu system. Default baud rate is 19200.
Communication Protocol
This section describes how to use the communication protocol to control projectors remotely.
When the projects are connected to either RS232 or LAN you can control the projectors through this ASCII based protocol.
Note: Some commands will generate OSD feedback. This can be turned off from the projector’s menu system or by setting “OSDC” to value 0 (OSD off) or value 1 (OSD show only warnings).
Overview
The protocol has the following denition:
HEADER SEPARATOR ADDRESS SEPARATOR MESSAGE BODY TERMINATOR
1 byte 1 byte 1 -3 bytes 1 byte N bytes 1 byte
Field Description Comment
Header ASCII character ‘:’ Required
Separator ASCII character ‘space’ Optional
Address 1 – 3 bytes address Optional
Terminator CR carriage return (0x0D) Required
Message body
The message body structure is as follows:
MNEMONIC SEPARATOR] MODIFIER SEPARATOR VALUES
1 byte 1 byte 1 -3 bytes 1 byte N bytes
Field Description Comment
Mnemonic 4 bytes key identier, not case sensitive Required
Modifer Single char symbol Optional
VALUES 1 – 3 bytes address Optional
Separator ASCII character ‘space’ Optional
Mnemonic
The Mnemonic is 4 bytes key identier, know as the ASCII command.
Example: POWR, SABS, IVGA
Modiers
R Relative change. Value given will be reletive to the existing value.
Example: :BRIG R10 will increase brightness with 10 steps
A Request acknowledges. This modier is the only
used to read back the result of the command.
Default all commands send acknowledges so this will not be necessary.
? Get current value
?M Get maximum value
?N Get minimum value
?D Get default value
?S Get default step value
Acknowledge/Response
Acknowledge is optional and ON by default. Auto acknowledge can be turned on and off with ECHO commad. It can also be activated
on a per command basis using modier A.
ACK ADDRESS SEP COMMAND SEP VALUE TERM
1 byte 3 bytes 1 byte 4 bytes 1 byte 6 bytes 1 byte
Field Description Comment
ACK ASCII character ‘%’ Always
SEP ASCII space Always
VALUE 6 bytes return value Always
TERM Termination char 0x0D (CR) Always
Most commands value returns the actual value of the requested command. If the requested command is not valid the response may include an error message.
Code Error message Description
!00001 Access denied Current access level is too low
!00002 Not available Command currently not available.
Ex. contrast is not available when the projector is searching
!00003 Not implemented Command to implemented
!00004 Value out of range Value out of range
Some commands could return a value that is more than 6 characters, for instance strings.
Code Extended info Description
e00001 Extended info, string A description string follows
Example: > :seri ? > %001 SERI e00001 07010001
Examples
The protocol accepts one single SPACE between elds, or no SPACE between elds. ‘CR’ ASCII value carriage return, hex value 0x0D.
SET-commands
SET POWER ON
: P O W R 1 ‘CR’
:POWR1’CR’
ACKNOWLEDGE POWER ON
% 0 0 1 P O W R 0 0 0 0 0 1 ‘CR’
%001 POWR 000001’CR’
SET BRIGHTNESS TO 60
: B R I G 6 0 ‘CR’
:BRIG 60’CR’
ACKNOWLEDGE BRIGHTNESS
% 0 0 1 B R I G 0 0 0 0 6 0 ‘CR’
%001 BRIG 000060’CR’
INCREMENT CONTRAST
: C N T R R 1 ‘CR’
:CNTR R1’CR’
ACKNOWLEDGE INCREMENT CONTRAST
% 0 0 1 C N T R 0 0 0 0 6 1 ‘CR’
%001 CNTR 000061’CR’
DECREMENT CONTRAST with 2 steps
: C N T R R - 2 ‘CR’
:CNTR R-2’CR’
ACKNOWLEDGE INCREMENT CONTRAST
% 0 0 1 C N T R 0 0 0 0 5 9 ‘CR’
%001 CNTR 000059’CR’
GET-commands
GET current value CONTRAST
: C N T R ? ‘CR’
:CNTR?’CR’
ACKNOWLEDGE CONTRAST GET
% 0 0 1 C N T R 0 0 0 0 5 9 ‘CR’
%001 CNTR 000059’CR’
GET minimun value BRIGHTNESS
: B R I G ? N ‘CR’
:BRIG ?N’CR’
ACKNOWLEDGE BRIGHTNESS GET MIN
% 0 0 1 B R I G 0 0 0 0 0 0 ‘CR’
%001 CNTR 000000’CR’
Loading...
+ 14 hidden pages