Pin 1 is ground – JLCooper gBOX User Manual

Page 16

Advertising
background image

16

GPI Port Pinouts
The GPI ports on the rear of the gBOX are 25 pin D-sub
connectors. The GPI In connector has 24 TTL/CMOS compatible
inputs with internal pull-ups to +5 volts. The GPI Out connector
has 24 TTL/CMOS compatible outputs. On both connectors, pin 1
is the ground reference and pins 2-25 are the GPI signals.

When gBOXes connected together in a client/server manner
establish a connection, both client and server gBOXes will send
the state of its GPI In ports to each other so it can be shown on the
GPI Out port on the remote gBOX. After that, changes to a GPI In
port will cause a gBOX to send a GPI message to the remote
gBOX. Additionally, the gBOXes will send a GPI message every
5 seconds to keep the connection alive and to refresh the state of
the GPI outputs.

A packet is sent whenever a change to the GPI In is sensed. At
present, it is sampled about every 20 milliseconds. This can be
changed via the configuration web page.

MSB

LSB

Byte1

Pin 9

Pin 8

Pin 7

Pin 6

Pin 5

Pin 4

Pin 3

Pin 2

Byte2

Pin 17

Pin 16

Pin 15

Pin 14

Pin 13

Pin 12

Pin 11

Pin 10

Byte3

Pin 25

Pin 24

Pin 23

Pin 22

Pin 21

Pin 20

Pin 19

Pin 18

gBOX GPI 1-24 In/Out Pinouts

MSB

LSB

Byte4

Pin 9

Pin 8

Pin 7

Pin 6

Pin 5

Pin 4

Pin 3

Pin 2

Byte5

Pin 17

Pin 16

Pin 15

Pin 14

Pin 13

Pin 12

Pin 11

Pin 10

Byte6

Pin 25

Pin 24

Pin 23

Pin 22

Pin 21

Pin 20

Pin 19

Pin 18

gBOX GPI 25-48 In/Out Pinouts

Pin 1 is ground.

Advertising