Barco R9040320 User Manual

SIMULATION PRODUCTS
GALAXY WARP™
R9040320
SERIAL COMMUNICATIONS BASIC USERS MANUAL
31032004 R5976614/00
Barco nv Simulation Products 600 Bellbrook Ave, Xenia OH 45385 Phone: +1 (937) 372 7579 Fax: +1 (937) 372 8645 E-mail: eis@barco.com Visit us at the web: www.eis.barco.com
Barco nv Simulation Products
laan 5, B-8520 Kuurne
Noord Phone: +32 56.36.82.11 Fax: +32 56.36.84.86
info@barco.com
E-mail: Visit us at the web: www.barco.com
Printed in Belgium
Copyright ©
All rights reserved. No part of this document may be copied, reproduced or translated. It shall not otherwise be recorded, transmitted or stored in a retrieval system without the prior written consent of Barco.
Changes
Barco provides this manual ’as is’ without warranty of any kind, either expressed or implied, including but not limited to the implied war­ranties or merchantability and fitness for a particular purpose. Barco may make improvements and/or changes to the product(s) and/or the program(s) described in this publication at any time without notice.
This publication could contain technical inaccuracies or typographical errors. Changes are periodically made to the information in this publication; these changes are incorporated in new editions of this publication.
Trademarks
Brand and product names mentioned in this manual may be trademarks, registered trademarks or copyrights of their respecti All brand and product names mentioned in this manual serve as comments or examples and are not to be understood as advertising for the products or their manufactures.
ve holders.
Table of contents
TABLE OF CONTENTS
1. Serial Communications Basics...................................................................................... 3
1.1 SerialCommunicationsProtocol...................................................................................................... 4
1.2 Data Words............................................................................................................................ 6
1.3 Communication Settings .............................................................................................................. 7
1.4 Serial Communications Hardware .................................................................................................... 8
1.5 Serial Communications Syntax ...................................................................................................... 10
2. RS232 Commands ..................................................................................................13
2.1 Dynacolor™, Read...................................................................................................................14
2.2 Dynacolor™, Write ................................................................................................................... 16
2.3 Dynacolor™, Off...................................................................................................................... 18
2.4 Dynacolor™, On...................................................................................................................... 19
2.5 Dynacolor™, Status.................................................................................................................. 20
2.6 Dynacolor™, Execute Linked........................................................................................................ 21
Index ......................................................................................................................23
R5976614 GALAXY WARP™ 31032004 1
Table of contents
2 R5976614 GALAXY WARP™ 31032004
1. SERIAL COMMUNICATIONS BASICS
Overview
Serial Communications Protocol
Data Words
Communication Settings
Serial Communications Hardware
Serial Communications Syntax
1. Serial Communications Basics
R5976614 GALAXY WARP™ 31032004
3
1. Serial Communications Basics
1.1 Serial Communications Protocol
Communication Protocol Summary
Like every communication method the serial communication uses a particular protocol (ANSI) which must be respected in order to allow communication to take place, following table gives a summary of the predefined communication terms.
Start byte \xfe
Projector address
Command byte(s)
Data bytes
Checksum byte
Stop byte \xff
Start Byte
The “Start byte” informs the projector (in case of transmission) or the computer (in case of reception) that a new data transfer will take place
1
ANSI
American National Standards Institute
Projector Address
The “projector address” defines the address of the computer the projector wants to talk to (in case of transmission) or the address of the projector that answers (in case of
The maximum number of projectors th
reception).
at can be addressed by one computer is 256.
Command Byte(s)
There is at least one command byte to define the action to be performed. Commands that are not often used or complex commands can take more than one byte. All command bytes that are sent by the computer to get information out of the projector are repeated in the answer-data-transf
er of the projector.
Data Bytes (Optional)
Whether the command bytes are followed by one or more data bytes depends on the contents of the command bytes.
Data which contains more than one byte is called a word and can also be signed or unsigned.
Some commands do not require a data field(s).
Checksum Byte
The “Checksum byte” is used to detect errors during transmission or reception
Checksum byte = (projectoraddress + command bytes + Data bytes) Modulo \x100
Stop Byte
The “Stop byte” informs and that the interpretation of the command and data bytes can start.
the projector (in case of transmission) or the computer (in case of reception) that the data transfer is complete
Acknowledge
If the communication link and if the sent commands can be interpreted by the projector an “ACK” command is sent back. In case the commands cannot be interpreted a “NACK” command is sent back.
1. optional
4 R5976614 GALAXY WARP™ 31032004
Note
Any command byte, data byte or checksum byte that equals \x80, \xfe, \xff has to be converted!
1. Transmission
- instead of \x80, send \x80 followed by \x00
- instead of \xfe, send \x80 followed by \x7e
- instead of \xff, send \x80 followed by \x7f
2. Reception
- replace \x80 followed by \x00 with \x80
- replace \x80 followed by \x7e with \xfe
- replace \x80 followed by \x7f with \xff
1. Serial Communications Basics
R5976614 GALAXY WARP™ 31032004
5
Loading...
+ 20 hidden pages