Barco iQ G210L User guide

Category
Data projectors
Type
User guide
iQ RS232
Serial Communication User’s Manual
R5976449/07
21/01/2005
Product revision
Software version: 1.40
Barco nv Presentations
Noordl
aan 5, 8520 Kuurne
Phone: +32 56.36.82.11
Fax: +32 56.35.86.51
E-mail:
Visit us at the web: www.barco.com
PrintedinBelgium
Federal Communication Commision (FCC Statement)
This equipment has been tested and found to comply with the limits for a class A digital device, pursuant to Part 15 of the FCC rules.
These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial
environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with
the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area may
cause harmful interference, in which case the user will be responsible for correcting any interference.
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 pro
duct(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.
Copyright ©
All rights reserved. No part of this document may be copied, reproduced or translated. It shall no
t otherwise be recorded, transmitted or
stored in a retrieval system without the prior written consent of Barco.
1. Serial communications Basics
1. SERIAL COMMUNICATIONS BASICS
Overview
Communication Protocol
Data words
Communication settings
Hardware
Syntax
Serial comms commands
R5976449 IQ RS232 21/01/2005
1
1. Serial communications Basics
1.1 Communication 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
1
Checksum byte
Stop byte \xff
ANSI
American National standards Institute
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
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
reception).
The maximum number of projectors th
at can b e addressed by one computer is 256.
Comman d 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.see "Data words", page 4
Some com mands do n ot 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
the projector (in case of transmission) or the computer (in case of reception) that the data transfer is complete
and that the interpretation of the command and data bytes can start.
Acknowledge (ACK)
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
2 R5976449 IQ RS232 21/01/2005
1. Serial communications Basics
End of process (EOP)
When the end of process command is activated, an EOP is send after the ACK command to signify the completion of the process.
for more in fo rmat ion about this, see the EOP command.
Note
Any command byte, data byte or checksum byte th at equals \x80, \xfe, \xff hastobeconverted!
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
R5976449 IQ RS232 21/01/2005
3
1. Serial communications Basics
1.2 Data words
msb
The most s ignificant byte, is the byte with the greatest weight (value).
lsb
The less significant byte, is the byte with the smallest weight (value).
Description
A word contains more than one byte, the first byte is the msb, the last byte is the lsb.
Examples of data words
The projector runtime parameter is described using an unsigned double word where 2 bytes (msb ...lsb) represent the value of
the runtime in seconds.see "Projectors runtime, Read", page 18
How to calculate the value of a word ?
Lets take the example of a double word returned by the p roject or runtime, read” commando.
returned data = Data[0]....Data[3]
value = Data[0]*256
3
+ Data[1]*256
2
+ Data[2]*256 + Data[3].
4
R5976449 IQ RS232 21/01/2005
1. Serial communications Basics
1.3 Communication settings
Baud rate
Defines the speed of the data transfer. The baud rate can be set using the menu structure.
Consult the Owners manual of the projector on how to change the baud rate setting.
Data Bits
Eight data bits are used for each character of the data transfer.
Parity
There is no parity bit used to perform error checking.
Stop Bits
One stop bit is used to define the end of a character.
R5976449 IQ RS232 21/01/2005 5
1. Serial communications Basics
1.4 Hardware
Overview
Female D9–pin connector labelled “RS232 IN” used to connect the projector with the computer.
Pin out of the D9 connector:
Pin Name Full Name
1
CD Carrier Detect
2 RxD Received Data
3 TxD Transmitted Data
4 DTR Data Terminal Ready
5
GND Signal Ground
6
DSR Data Set Ready
7
RTS Request To Send
8
CTS Clear To Send
9 RI Ring Indicator
Standard serial Cable
- order number R9827560 (cable length = 15m )
- order number R9827570 (cable length = 30m )
1
CD
2
RxD
3
TxD
4
DTR
5
GND
6
DSR
7
RTS
8
CTS
9
RI
1
CD
2
RxD
3
TxD
4
DTR
5
GND
6
DSR
7
RTS
8
CTS
9
RI
D9
female
D9
male
Image 1-1
connection: IB
M PC or compatible projector
6 R5976449 IQ RS232 21/01/2005
1. Serial communications Basics
1
HSKo
2
HSKi
3
TxD-
4
GND
5
RXD-
6
TXD+
7
n.c.
8
RXD+
4
DTR
8
CTS
3
TxD
5
GND
2
RxD
DIN
mini 8
D9
male
Image 1-2
connection: MAC projector
Signal levels
Following table gives the signal levels corresponding to the different states:
State
Voltage
Off = 1
-9V
On = 0
+9V
R5976449 IQ RS232 21/01/2005 7
1. Serial communications Basics
1.5 Syntax
Characters
In this manual, all characters are expressed using the C- language syntax:
decimal values ddd
2
hexadecimal values \xhh
3
The characters that can be use d are
For text fields: "ABCDEFGHIJK LMNO PQ RST UVW XYZ 01234 56789+-/&@ #_:;ab cdefgh ijklmn op qrstuvwxyz”
For filenames: "? *ABC DEFG HIJK LMNOPQRSTUV
WXYZabcdefghijklmnop qrstuvw xyz0123456789_ -"
Negati ve values /numbers
The 2s complement number system is use
d to express negative numbers
Pascal- language string
A Pascal-language string consists of one or more characters. The first character of the string contains the length of the string.
Therefore, a Pascal-language string is limited to 255 characters.
Pascal string ’Hello world”
length
\x0b
’h’
\x68
’e’
\x65
’l’
\x6c
’l’
\x6c
’o’
\x6f
\x20
’w’
\x77
’o’
\x6f
’r
\x72
’l’
\x6c
’d’
\x64
C-language string
A C-language string consists of one or more characters. The last character of the string is always the NULL character \x00.There-
fore, the length of a C-language string is determined by the position of the NULL character..
C string ’Hello world”
’h’
\x68
’e’
\x65
’l’
\x6c
’l’
\x6c
’o’
\x6f
\x20
’w’
\x77
2. ddd=0...255
3. hh=00...ff
8 R5976449 IQ RS232 21/01/2005
1. Serial communications Basics
’o’
\x6f
’r
\x72
’l’
\x6c
’d’
\x64
NULL
\x00
standard file
Predefined file stored in read-only memory
custom file
File created by the user and stored in non-volatile read write memory
Filename
A filename is specified as a C-language string. This string has to follow some rules:
x x x x x x x x . y z z
NULL
1. length string = 12
2. x = character of the base name formed by max 8 characters
3. y = kind of file (= 1 character)
’s’
standard file
’c’
custom file
4. z = file index (= 2 characters: 0..9)
zz specifies the location in memory where the file is stored.
- for standard files: zz = 00...maximum standard files
- for custom files: zz = 00...63 where 00 is reserved for the file ’none .c00’ (file which is loaded when no signal is applied)
5. yzz is a unique combination. In other words, no two files can exist with the same extension yzz.
To specify m ore than one file you can use the question mark (?) and (*) wildcard character for x, y an d z (or
any other character).
?: This wildc ard character can represent any possible character on a p articular location.
* : This wildcard cha racter can represent any possible character(s) followin g the wildcard’s position in the
string.
•”ntsc .c01
•”svga_60v.s?7
•”????????.???
”sv*.*”
R5976449 IQ RS232 21/01/2005
9
1. Serial communications Basics
1.6 Serial comms comman ds
Basic Commands
Basic commands are the commands used to control the basic parameters of the projector.
The Contrast increment command is a basic command.
Advanced Commands
Advanced commands are used to control advanced parameters of the projector.
The Pip loop focus is an advanced parameter
This manual is divided in two parts, the first part contains the basic (elementary) commands w hile the second
part gives an o verview of the available advanced comman ds.
Some com mands are illustrate d with an example.
10 R5976449 IQ RS232 21/01/2005
2. Basic Commands
2. BASIC COMMANDS
Overview
End of process (EOP)
Identification Commands
RCU commands
Projector ON/OFF, Write
Projector’s Status, Read
Lens commands
Picture setting
Menu Exit
Source selection
Scanned inputs, read
Scan inputs
Orientation, Write
Orientation, Read
Shutter, Write
Shutter, Read
Freeze, Write
Freeze, Read
Logo ON/OFF
Background, Write
Background, Read
Aspect ratio, Write
Aspect Ratio, Read
Show Native resolution (ON/OFF), Write
Show Native resolution (ON/OFF), Read
Full screen representation(ON/OFF), Write
Full screen representation (ON/OFF), Read
Keystone, Write
Keystone, Read
Lamp commands
Image files
Color temperature
Standby Timer, Write
Standby Timer, Read
Switching mode, Write
Switching mode, Read
Filmmode detection, Increment/Decrement
Filmmode detection, Write
Filmmode detection, Read
Autoimage execute
•Blanking
R5976449 IQ RS232 21/01/2005
11
2. Basic Commands
2.1 End of process (EOP)
Description
When activated returns an EOP whenever a command has been executed (processed).
An activation byte has to be sent in order to activate or disactivate the end of process function.
Command
Command [0]
\x00
Command [1]
\x01
Sent Data
Data[0] = activation byte : \x00 = OFF ; \x01 = ON
Returned data
When you send a particular command (for example projector ON), the EOP will be returned when the command has been executed
Command [0]
\x00
Command [1]
\x01
The E OP will be sent after the ACK.
In case of a read command there is no EOP returned by the projector.
12 R5976449 IQ RS232 21/01/2005
2. Basic Commands
2.2 Identification Commands
R5976449 IQ RS232 21/01/2005 13
2. Basic Commands
2.2.1 Device type, Read
Description
Reads the device (projector) type, the returned string is a Pascal-language string.
Command
Command [0]
\x6b
Returned Data
Data[0] = byLength = 1 byte describing the length of the string.
Data[1] = strDeviceType = pascal-language stri
ng describing the device type.
An example of device type is “IQ”
14 R5976449 IQ RS232 21/01/2005
2. Basic Commands
2.2.2 Projector’s Software type, Read
Description
Reads the Projector’s Software type, the returned string is a Pascal-language string.
Command
Command [0]
\x6a
Returned Data
Data[0] = byLength = 1 byte describing the length of the software version string.
Data[1] = strSoftwareType = pascal-language st
ring describing the software type.
An exam ple of software type is “Standard
R5976449 IQ RS232 21/01/2005 15
2. Basic Commands
2.2.3 Projector ’s Software version, Read
Description
Reads the Projector’s Software version, the returned string is a Pascal-language string.
Command
Command [0]
\x60
Returned Data
Data[0] = byLength = 1 byte describing the length of the software version string.
Data[1] = strSoftwareVersion
16
R5976449 IQ RS232 21/01/2005
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307

Barco iQ G210L User guide

Category
Data projectors
Type
User guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI