JLCooper Electronics gBOX User manual

gBOX
Ethernet to GPI Interface
Users Manual

2
gBOX, eBOX and eBOX I/O are trademarks of JLCooper Electronics. All other
brand names are the property of their respective owners.
gBOX User’s Manual, Second Edition
Part Number 932126
©2017 JLCooper Electronics, 142 Arena Street, El Segundo, CA 90245 USA
((310) 322-9990 !(310) 335-0110 :www.jlcooper.com

3
Table of Contents
Introduction ...................................................................................4!
Setup ...............................................................................................5!
Unpacking....................................................................................5!
Connections .................................................................................5!
Configuration.................................................................................7!
Operating Modes .........................................................................7!
Ethernet....................................................................................7!
Serial........................................................................................7!
Expander..................................................................................7!
Ethernet Interface........................................................................8!
Mode Selection........................................................................8!
Server Mode ............................................................................9!
Client Mode ...........................................................................10!
Serial Interface ..........................................................................11!
Expander....................................................................................11!
gBOX Security ...........................................................................12!
Technical Reference ....................................................................13!
Electrical Connections ..............................................................13!
Ethernet..................................................................................13!
Serial......................................................................................14!
GPI Port Pinouts ....................................................................16!
GPI Port Circuitry Details .....................................................17!
Using with eBOX I/O.................................................................19!
Power ............................................................................................20!
Troubleshooting...........................................................................21!
Care and Service .......................................................................22!
JLCooper Electronics Limited Warranty .................................23!

4
Introduction
The gBOX is a general purpose interface box that converts up to
48 GPI (General Purpose Interface) inputs and outputs to
100/10baseT Ethernet or a serial interface. Up to 8 gBOXes may
be slaved off a master gBOX to convert up to a total of 432 GPI
inputs and outputs.
The gBOX communicates over standard TCP/IP which allows it be
used with any host computer running any operating system that
uses TCP/IP protocol. The gBOX can also be connected to other
gBOXes to allow longer runs than traditional GPI cables. Since
the gBOX uses TCP/IP, traffic can be routed over internal LANs,
wireless LANs, MANs, WANs and even over the public Internet.
Unit configuration is accomplished using the rear panel DIP
switches.
When the gBOX is outfitted with an Ethernet Interface (JLCooper
p/n 920394) the unit functions as either a server or client. When
configured as a server, it passively waits for client devices to
connect to it. The device can be a computer or another gBOX
configured as a client. When the gBOX is configured as a client, it
will actively attempt to connect to the server gBOX. Once this is
accomplished, the either gBOX will pass data received in the serial
or GPI ports to the remote gBOX. If there is no data received in
the gBOX, the gBOX will not send any TCP packets.

5
Setup
Unpacking
The gBOX package will contain the following items:
•gBOX
•Power Supply
•This Users Manual
•Four rubber feet
Connections
The gBOX connections are straightforward:
1. Plug the power supply into the gBOX.
2. Install an Ethernet or serial interface into the interface slot.
3. Connect Ethernet cable or serial cable to unit.
4. Connect GPI cables into GPI ports.

6
Pin
Function
Pin
Function
1
Ground
1
Ground
2
GPI 1
2
GPI 25
3
GPI 2
3
GPI 26
4
GPI 3
4
GPI 27
5
GPI 4
5
GPI 28
6
GPI 5
6
GPI 29
7
GPI 6
7
GPI 30
8
GPI 7
8
GPI 31
9
GPI 8
9
GPI 32
10
GPI 9
10
GPI 33
11
GPI 10
11
GPI 34
12
GPI 11
12
GPI 35
13
GPI 12
13
GPI 36
14
GPI 13
14
GPI 37
15
GPI 14
15
GPI 38
16
GPI 15
16
GPI 39
17
GPI 16
17
GPI 40
18
GPI 17
18
GPI 41
19
GPI 18
19
GPI 42
20
GPI 19
20
GPI 43
21
GPI 20
21
GPI 44
22
GPI 21
22
GPI 45
23
GPI 22
23
GPI 46
24
GPI 23
24
GPI 47
25
GPI 24
25
GPI 48
gBOX Master GPI In/Out Pinout

7
Configuration
Operating Modes
Ethernet
When the gBOX has an Ethernet Interface installed, it has two
distinct modes of operation that are set by the rear panel DIP
switches. The modes are:
•Server
•Client
The DIP switches are read only at power on so the gBOX must be
power cycled for the changes to take effect.
Serial
When the gBOX has a serial Interface installed, it has just one
distinct mode of operation. This is GPI to serial conversion.
Expander
When the gBOX has an Ethernet or serial interface installed, it is a
master unit, which communicates directly with another master unit
or a host computer.
When the gBOX does not have an interface installed, it becomes
an Expander gBOX. An Expander gBOX adds 48 additional GPI
Inputs and Outputs to a Master gBOX. An Expander gBOX
connects to a Master gBOX using an Expander cable plugged into
one of the Expander ports on the rear panel. Up to 8 Expander
gBOXes can be added to a master gBOX.

8
Ethernet Interface
When MCS-Ethernet Interface is installed, the rear panel DIP
switches on the left side set the IP Address and behavior of the
gBOX.
The rear panel DIP switches on the right side are currently not used
and are ignored.
Mode Selection
When DIP switch 5 on the left side is in the Off position, the
gBOX behaves as a server. That is, the gBOX waits for a device
such as a host computer or client gBOX to establish a connection
to it. Conversely, when DIP switch 5 is in the On position, the
gBOX behaves as a client. That is, the gBOX attempts to connect
to a server device such as a server gBOX to establish a connection
to it.
SW5
Mode
Off
Server
On
Client
Mode Selection of gBOX
Figure 1
CONFIGURATION
1
2
3
4
5
6
O
N
1
2
3
4
5
6
O
N

9
Server Mode
In the Server Mode of operation, DIP Switches 1, 2, 3 and 4 on the
left side set the IP address of the gBOX. The units IP address is set
according to the table below.
SW1
SW2
SW3
SW4
Off
Off
Off
Off
192.168.254.102
On
Off
Off
Off
192.168.254.104
Off
On
Off
Off
192.168.254.106
On
On
Off
Off
192.168.254.108
Off
Off
On
Off
192.168.254.110
On
Off
On
Off
192.168.254.112
Off
On
On
Off
192.168.254.114
On
On
On
Off
192.168.254.116
Off
Off
Off
On
10.0.0.128
On
Off
Off
On
10.0.0.130
Off
On
Off
On
10.0.0.132
On
On
Off
On
172.16.0.128
Off
Off
On
On
172.16.0.130
On
Off
On
On
Not used
Off
On
On
On
Not used
On
On
On
On
User Setting
Left DIP Switch Settings
Note: The gBOX listens on TCP port 23.

10
Client Mode
In the Client Mode of operation, DIP Switches 1, 2, 3 and 4 on the
left side set the IP address of the gBOX. The units IP address is set
according to the table below.
SW1
SW2
SW3
SW4
Off
Off
Off
Off
192.168.254.103
On
Off
Off
Off
192.168.254.105
Off
On
Off
Off
192.168.254.107
On
On
Off
Off
192.168.254.109
Off
Off
On
Off
192.168.254.111
On
Off
On
Off
192.168.254.113
Off
On
On
Off
192.168.254.115
On
On
On
Off
192.168.254.117
Off
Off
Off
On
10.0.0.129
On
Off
Off
On
10.0.0.131
Off
On
Off
On
10.0.0.133
On
On
Off
On
172.16.0.129
Off
Off
On
On
172.16.0.131
On
Off
On
On
Not used
Off
On
On
On
Not used
On
On
On
On
User Setting
Left DIP Switch Settings
Note: The gBOX attempts to connect to TCP port 23 on the server.

11
Serial Interface
When the 920465 Standard RS-422 Interface Card or 920466
Standard RS-232 Interface Card is installed, the rear panel DIP
switches on the left side set the serial port parity. The bitrate of the
gBOX is fixed at 38400 bits/sec.
SW1
SW2
On
x
No Parity
Off
Off
Odd Parity
Off
On
Even Parity
x = Don’t Care
Serial Port Parity Settings
Expander
The gBOX can be daisy chained to allow one Ethernet or Serial
connection to accommodate up to 432 GPI Inputs and Outputs.
When the rear panel slot is vacant, the gBOX assumes it is an
expander unit and uses the rear panel DIP switches 1, 2 and 3 on
the left side to set the expander ID. The expander ID as defined in
the table below.
SW1
SW2
SW3
Off
Off
Off
Expander #1 (GPI 49-96)
On
Off
Off
Expander #2 (GPI 97-144)
Off
On
Off
Expander #3 (GPI 145-192)
On
On
Off
Expander #4 (GPI 193-240)
Off
Off
On
Expander #5 (GPI 241-288)
On
Off
On
Expander #6 (GPI 289-336)
Off
On
On
Expander #7 (GPI 337-384)
On
On
On
Expander #8 (GPI 385-432)
gBOX Expander Unit Definition

12
gBOX Security
The gBOX contains a basic security mechanism that prevents
unintended hosts or gBOXes from passing data through a secured
gBOX. A gBOX can be protected with password that is set with
the configuration utility. The password is stored in nonvolatile
memory and, is read upon power up.
When password protection is enabled, the sending gBOX embeds
the password in the transmitted IP packet. At the remote end, the
receiving gBOX must have password protection enabled AND
have a matching password.
The DIP switches are read only at power on so the gBOX must be
power cycled for any changes to take effect.
This security mechanism is only used in gBOX Server and gBOX
Client modes. SW6 should be set to the off position when used in
the GPI to Serial and GPI to Ethernet modes.
SW6
On
Disable password protection
Off
Enable password protection
Security Configuration
The effect of SW6 takes place immediately.
Note: If a gBOX has password protection is disabled; it will ignore the
password and act on any packets sent to it.

13
Technical Reference
Electrical Connections
Ethernet
This gBOX port is just like Ethernet ports on a computer, to
connect it to a hub, switch or router, use a straight through cable.
To connect it to another gBOX or computer, use a crossover cable.
The gBOX supports IEEE 802.3u clause 28 Auto-Negotiation that
automatically senses the Ethernet port speed & duplex operation
and chooses the highest performance settings.
In addition, four LEDs on the front panel that indicate various
operating conditions of the Ethernet port. These LEDs are:
•Link
•100BaseT activity
•10BaseT activity
•Collision

14
Serial
When the 920466 Standard RS-232 Interface Card or the 920465
Standard RS-422 Interface Card is installed the unit is a simple
GPI to serial converter. The pinout of the serial interface is
detailed in the table below.
Interface
RS-232C
RS-422A
RS-422A
“Mach”
“Host”
Pin 1
not used
not used
not used
Pin 2
Transmit
Receive A
Transmit A
Pin 3
Receive
Transmit B
Receive B
Pin 4
not used
Ground
Ground
Pin 5
Ground
not used
not used
Pin 6
not used
Ground
Ground
Pin 7
not used
Receive B
Transmit B
Pin 8
not used
Transmit A
Receive A
Pin 9
not used
not used
not used
Serial Port Pinout

15
Serial port communications occurs with the following parameters:
•Bit rate: 38400 bits/sec
•Start bits: 1
•Data bits: 8
•Stop bits: 1
The parity of the serial port can be set on the leftmost set of DIP
switches on the rear panel. The parity is set using the following
table.
Switch 1
Switch 2
Parity
Down
Down
Odd
Down
Up
Even
Up
x
None
Serial Port Parity Selection
X= Don’t Care

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.
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.

17
GPI Port Circuitry Details
The gBOX GPI input and output circuits are detailed in the
following section.
The inputs of the gBOX GPI ports are CMOS inputs. The input
circuitry has a 4700 ohm pullup resistor to +5 volts as referenced
to pin 1 of the GPI Input Port.
Note: Because the inputs are CMOS, the input voltage MUST be
limited to voltage levels between 0 and 5 volts. If this is not possible,
consider using the gBOX I/O.
The internal pullup resistor insures that the input pin is set to a
known state. The default state of the GPI Inputs is +5 volts or a
logic state of ‘1’ in the GPI message bitmap. The internal pullup
resistor also allows a simple switch or ‘dry contact’ to be
connected between a GPI Input pin and ground as shown in the
example below.
74HC244
5 Volts
Detail of GPI Input
4700Ω
4700Ω
74HC244
5 Volts
GPI Input Example with Pushbutton Switch
1
2

18
The outputs of the gBOX GPI ports are also CMOS. The output
signal is referenced to pin 1 of the GPI Output Port. The GPI
Outputs are rated to +/- 6mA. If this is not sufficient for your
application, consider using the eBOX I/O.
Note: Because the inputs are CMOS, the output voltage MUST be
limited to voltage levels between 0 and 5 volts. This can occur if
driving a circuit that is powered by a voltage higher than 5 volts. If
this is not possible, consider using the gBOX I/O.
The example circuits below shows a GPI Output driving an LED.
74HC374
Detail of GPI Output
1
74HC374
GPI Output Example #1 with LED
2
5 Volts
1
74HC374
GPI Output Example #2 with LED
2

19
Using with eBOX I/O
The gBOX GPI inputs and outputs are CMOS compatible circuits.
The CMOS GPI inputs require that the input signals be 0 to 5 volts
and referenced to ground. The CMOS GPI outputs can deliver 0 to
5 volts at up to +/- 6mA and referenced to ground.
In many cases, this will be compatible with your equipment.
However, in some cases, there will be the end user equipment may
not be compatible with 0 to 5 volt requirements of the gBOX GPI
inputs and outputs. In this case, the eBOX I/O must be used. Each
eBOX I/O buffers 8 inputs and 8 outputs. The inputs are buffered
with an optoisolators while the outputs are buffered with a dry
relay contact.
The eBOX I/O comes with a pair of cables that allow you to
connect it to a single eBOX I/O to a gBOX. Up to six eBOX I/Os
can be used with a single gBOX. To connect two or three eBOX
I/Os to a single gBOX, you will need to order the optional eBOX
I/O Expansion Cable Kit, JLCooper part number EBOX-I/O-
EXPCAB. To connect four, five or six eBOX I/Os to a gBOX, you
will need to order two optional eBOX I/O Expansion Cable Kits,
JLCooper part number EBOX-I/O-EXPCAB.
eBOX I/O Expansion Cable Kits
GPI#
17-24
GPI#
9-16
GPI#
1-8
GPI#
25-32
GPI#
33-40
GPI#
41-48
eBOX I/O
Expansion
Cable Kit
eBOX I/O
Expansion
Cable Kit

20
Power
The gBOX requires a 9 volt DC, center positive power supply
capable of delivering at least 500 milliamps. The unit comes with
a power supply appropriate for the country in which the unit was
sold. If you need a power supply specific to your location, please
contact your local distributor or JLCooper Electronics.
Location
JLCooper Part Number
North America
561026-4
Europe
561026-4
Approved Power Supplies
Warning: Using a power supply other than the units specified in the
above table can result in damage to the gBOX and/or other equipment,
which is not covered by the JLCooper Factory Warranty.
Table of contents
Other JLCooper Electronics Recording Equipment manuals

JLCooper Electronics
JLCooper Electronics PPS-100 User manual

JLCooper Electronics
JLCooper Electronics Nuage Surround Panner User manual

JLCooper Electronics
JLCooper Electronics eclipse mxl User manual

JLCooper Electronics
JLCooper Electronics ECLIPSE 24 Midnight Finish User manual

JLCooper Electronics
JLCooper Electronics MCS 3000 User manual

JLCooper Electronics
JLCooper Electronics MCS6 USB User manual

JLCooper Electronics
JLCooper Electronics CS-102 User manual

JLCooper Electronics
JLCooper Electronics DAFV2 User manual

JLCooper Electronics
JLCooper Electronics eBOX User manual

JLCooper Electronics
JLCooper Electronics Media Control Station3 User manual