Barco iD LR-6 User guide

Type
User guide

This manual is also suitable for

iD (PRO) R600/R600+
User manual
RS232 Serial Communication
R9010340 - R9010341
R9010350 - R9010351
R5976841/01
19/09/2006
Product revision
Software version: V1.30
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
1. Serial communications Basics
1. SERIAL COMMUNICATIONS BASICS
Overview
Communication Protocol
Data words
Communication settings
Hardware
Syntax
Serial comms commands
R5976841 ID (PRO) R600/R600+ 19/09/2006
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 be ad dressed by one co mp uter 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 commands do not requ ire 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 R5976841 ID (PRO) R600/R600+ 19/09/2006
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 that 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
R5976841 ID (PRO) R600/R600+ 19/09/2006
3
1. Serial communications Basics
1.2 Data words
msb
The most significant 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.
How to calculate the value of a word ?
Lets take the example of a double word returned by the projector runtime, read commando.
returned data = Data[0]....Data[3]
value = Data[0]*256
3
+ Data[1]*256
2
+ Data[2]*256 + Data[3].
4
R5976841 ID (PRO) R600/R600+ 19/09/2006
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 Owner’s 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.
R5976841 ID (PRO) R600/R600+ 19/09/2006 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 R5976841 ID (PRO) R600/R600+ 19/09/2006
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
R5976841 ID (PRO) R600/R600+ 19/09/2006 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 used are
For text fields: "ABCDEFGHIJKLMNOPQRSTUVWXYZ 01234 56789+-/&@ #_:;ab cdefgh ijklmn op qrstuvwxyz”
For filenames: "?*ABCDEFGHIJKLMNOPQRSTUV
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 R5976841 ID (PRO) R600/R600+ 19/09/2006
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 more than one file you can use the q uestion mark (?) and (*) wild card character for x, y and z (or
any other character).
?: This wildcard character can represent any possible character on a particular loca tion.
* : This wildcard character can represent an y poss ible ch aracte r(s) followin g the w ildcards position in the
string.
•”ntsc .c01
•”svga_60v.s?7
•”????????.???
”sv*.*”
R5976841 ID (PRO) R600/R600+ 19/09/2006
9
1. Serial communications Basics
1.6 Serial comms commands
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 t wo parts, the first part contains the basic (elementary) com mands while the second
part g ives an overview of th e available advanced commands.
Some commands are illustrated with an examp le.
10 R5976841 ID (PRO) R600/R600+ 19/09/2006
2. Basic Commands
2. BASIC COMMANDS
Overview
Identification Commands
RCU commands
Textbox ON/OFF
Projector ON/OFF, Write
Projectors 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
Standby Timer, Write
Standby Timer, Read
Switching mode, Write
Switching mode, Read
Filmmode detection, Increment/Decrement
Filmmode detection, Write
Filmmode detection, Read
•Blanking
R5976841 ID (PRO) R600/R600+ 19/09/2006
11
2. Basic Commands
2.1 Identification Command s
12 R5976841 ID (PRO) R600/R600+ 19/09/2006
2. Basic Commands
2.1.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”
R5976841 ID (PRO) R600/R600+ 19/09/2006 13
2. Basic Commands
2.1.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 example of software type is “Stan dard
14 R5976841 ID (PRO) R600/R600+ 19/09/2006
2. Basic Commands
2.1.3 Projector’s Software version, Read
Description
Reads the Projectors 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
R5976841 ID (PRO) R600/R600+ 19/09/2006
15
2. Basic Commands
2.1.4 Projector’s Serial number, Read
Description
Reads the Projector’s serial number, the returned string is a Pascal-language string.
Command
Command [0]
\x61
Returned Data
Data[0] = \x07 = length of the serial number = 7 characters
Data[1] = string of length 7
16
R5976841 ID (PRO) R600/R600+ 19/09/2006
2. Basic Commands
2.1.5 Projector’s runtime, Read
Description
Reads the Projector’s runtime in seconds
Command
Command [0]
\x62
Returned Data
unsigned double word (4 bytes).
Data[0] = msb
Data[1]
Data[2]
Data[3] = lsb
R5976841 ID (PRO) R600/R600+ 19/09/2006
17
2. Basic Commands
2.1.6 Projector address, Write
Description
Writes a new address to the projector
Command
Command [0]
\x6D
Data
Data[0] = unsigned byte
Example
Writes a new address to the projector, being “1”
Transmit
Start
\xfe
Projector address
\x01
Command[0]
\x6d
Data[0]
\x01
Checksum
\x6f
Stop
\xff
Receive (acknowledge)
Start
\xfe
Projector address
\x01
Command[0]
\x00
Command[1]
\x06
Checksum
\x07
Stop
\xff
18 R5976841 ID (PRO) R600/R600+ 19/09/2006
  • 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

Barco iD LR-6 User guide

Type
User guide
This manual is also suitable for

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

Finding information in a document is now easier with AI