Texas Instruments DW30 Query Command, Gio?, Gio! “Hhllhlh” “Ooioooi”, GIO? C2, GIO! C2 O, Gio! H

Models: DW30 MATRIX 3000

1 143
Download 143 pages 26.11 Kb
Page 131
Image 131
Query Command

Appendix E: System Integration

Query Command

 

(GIO?)

Request the state and configuration of all pins

(GIO! “HHLLHLH” “OOIOOOI”)

Reply of pin state and configuration

(GIO? C2)

Request configuration for pin #2

(GIO! C2 O)

Reply with pin #2 configuration as output

(GIO? 2)

Request the state of pin #2

(GIO! H)

Reply with pin #2 state as high

Real Time Event

Use the serial command RTE to specify an action that is initiated at a particular time or based on an external stimulus.

For General Purpose IO “G”

Parameter

Name

Value

P1

RTE type

G (Real Time I/O Event)

P2

I/O bit

1-7

P3

Pin state

H = High

 

(1 Character)

L = Low

 

(String)

“LHXXXHL” Combine multiple inputs and

 

 

trigger occurs when all conditions are met

P4

Commands

Any valid serial protocol command for the device

Example 2. Projector powers up when a switch on the external device is turned on.

(GIO C2 I)

Set pin #2 configuration as input

(RTE G 2

H “(PWR 1)”)

Power on when pin #2 set to high

(RTE G 2

L “(PWR 0)”)

Power off when pin #2 set to low

E-2 Christie DS+60/DW30/Matrix 3000 User’s Manual

Page 131
Image 131
Texas Instruments DW30 Query Command, Gio?, Gio! “Hhllhlh” “Ooioooi”, Reply of pin state and configuration, GIO? C2, Rte G