A-2
J Series 2.0, 2.4, and 3.0 kW Setup Guide
020-100751-01 Rev. 1 (10-2011)
Appendix A: GPIO
Configuring the GPIO
The GPIO connector can be configured to automate any number of events using the serial command code
GIO
.
Each Pin is defined as either an
input
or
output
depending on the desired outcome. Configure the pin as an
input if you want the projector to respond to something the device does and as an output if you want the
external device to respond to an action taken by the projector. For example, configure the pin as an output if
you want the lighting in a room to automatically dim when the projector is turned on.
By using the GIO command, you can also set the state of each output pin as
high
or
low
. By default, the state of
each pin is
high
. The voltage applied to pins in the high state is +3.3V.
A low state (or value of 0) will be read on an input pin if the circuit attached to the pin is open. A high state (or
value of 1) will be read on an input pin if the circuit attached to the pin is shorted to ground. This corresponds
to a switch closing event.
Example 1.
Turn room lighting on when the projector is turned off. (
Assumes a control/automation unit is
configured to turn the lights on when pin 2 of its input goes high.
)
(GIO+CNFG “OOOIIII”)
Set pin #2, 3 & 4 configuration to output and
pin 6, 7, 8 & 9 to input
(GIO+STAT “HLXXXXX”)
Set pin #2 to high, pin 3 to low and the state of
all other pins unchanged
Query Command
(GIO+STAT)
Request the state of all pins
(GIO+STAT “HLLHLLH”)
Reply of pin states - H means pin is high, L
means pin is low
(GIO+CNFG)
Request the configuration of all pins
(GIO+CNFG “IIIOOOO”)
Reply of pin configurations - pins 2, 3 & 4 are
Inputs, pins 6, 7, 8 & 9 are Outputs
NOTE:
The strings in the commands refer to pins 2, 3, 4, 6, 7, 8, 9 in order from left to right.
Содержание J Series
Страница 1: ...J Series 2 0 2 4 and 3 0 kW S e t u p G u i d e 020 100751 01 ...
Страница 2: ......
Страница 3: ...J Series 2 0 2 4 and 3 0 kW S e t u p G u i d e 020 100751 01 ...
Страница 22: ......
Страница 42: ......
Страница 50: ......
Страница 56: ......
Страница 59: ......