16 shutter, read, Shutter, read, Basic commands – Barco RS232 User Manual

Page 54

Advertising
background image

2. Basic Commands

Receive (acknowledge)

Command[0]

\x00

Command[1]

\x06

Checksum

\x07

Stop

\xff

2.16 Shutter, Read

Description

Reads the shutter’s position

Command

Command [0]

\x21

Command [1]

\x42

Returned Data

Data [0] = unsigned byte

byte value:

\x00

= CLOSE ;

\x01

= OPEN

Example

Read the shutter being

\x01

= open

Transmit

Start

\xfe

Projector address

\x01

Command[0]

\x21

Command[1]

\x42

Checksum

\x64

Stop

\xff

Receive (acknowledge)

Start

\xfe

Projector address

\x01

Command[0]

\x00

Command[1]

\x06

Checksum

\x07

Stop

\xff

Receive (awnser)

Start

\xfe

Projector address

\x01

52

R5976884 RLM SERIES 04/04/2006

Advertising