The GC-32 controls 32 individual GPOs (relay contact closure outputs) and monitors 32
individual GPIs (opto isolated inputs).
Upon receipt of a GPO control command the GC-32 will turn on or off the specified GPO,
or turn all GPOs on or off as specified within the command. The GPO command also
details the time that the GPO will stay on. A time of zero (0) will latch the GPO on. Any
other time 1 – 255 (x 10ms) will cause the GPO to turn off when the specified time in the
command elapses.
A GPI change of state notification will be sent automatically when a GPI change of state
is detected. The notification may include one or more GPIs and will contain the affected
GPI and its current state. The GPI state is communicated by an incrementing count. An
even count indicates that the GPI is off. An odd count indicates that t GPI is on. The
count will wrap from its maximum value to zero. If a client is not connected, GPI
notifications for that connection will be discarded.
The GC-32 is configured as a server and the 3
will establish a TCP/IP connection to port 50001 or 50002 to control and monitor the GC-
rd
party application is the client. The client
Page 1 of 14
32 GPOs and GPIs. The client is responsible for establishing and maintaining the
connection. In the event of a loss of connection, the client is responsible for reestablishing the connection and re-configuring the GC-32, if required.
The GC-32 has two programmable operating modes. In Mode 1, all GPIs and GPOs are
allocated to the port 50001 connection and identified as GPI 1 to GPI 32, and GPO 1 to
GPO 32. In Mode 2, GPIs 1 – 16 and GPOs 1 – 16 are allocated to the port 50001
connection and GPIs 17 – 32 and GPOs 17 – 32 are allocated to the port 50002
connection. The operating mode of the GC-32 may be changed at any time. Changing
the operating mode will clear any pending GPI change of state notifications.
The GC-32 can be configured to accept a connection from any IP address on port 50001
or 50002. Or, it can be configured to accept a connection from only the specific IP
address for each port indicated on the GC-32’s Remote Device Assignment web page.
FRONT VIEW
REAR VIEW
DEFAULT SETTINGS
DEFAULT ETHERNET CONFIGURATION
IP Address: 192.168.10.217
Subnet Mask: 255.255.255.0
Gateway: 192.168.10.1
Use the GC-32’s System Configuration web page to change the IP address, subnet, and
gateway. See section at the end of this document.
DEFAULT OPERATING MODE
The default operating mode is Mode 1. Use the Set Operating Mode command
described below to change the operating mode.
Page 2 of 14
PROTOCOL DESCRIPTION
The GC-32 command consists of the following components:
Header + command + data
NOTE- The “+” is used for readability only and should not be used in the
command
The Header is hexadecimal value 0x44 0x4E 0x46
Dot notation is used in this document to describe concatenated hexadecimal values.
The header is referenced below as 44.4E.46
The command is an 8 bit value and is described below.
Data is one or more 8 bit values, and is specific to each command as described below.
All multi-byte values are formatted as big endian (MSB…LSB).
The GC-32 responds to all commands with an ACK, NAK, or the requested data. If a
complete command is not received within 2 seconds, the GC-32 will respond with a
timeout error message.
GC-32 RESPONSES
ACK= 0x04
GC-32 response: 44.4E.46.04
NAK= 0x05
GC-32 response: 44.4E.46.05.ee where ee is one of the following error codes.
0x10= Invalid command format
0x11= Invalid command
0x12= Invalid data
0x13= Command timeout error
Page 3 of 14
GC-32 COMMAND SET
Set Operating Mode (Supported on port 50001 and 50002)
Command= 0x30
Data:
0= Select Mode 1
GPOs 1 – 32 and GPIs 1- 32 are allocated to port 50001. All commands on port 50002
that attempt to control or monitor will result in a NAK response
1= Select Mode 2
GPOs 1 - 16 and GPIs 1- 16 are allocated to port 50001.
GPOs 17 - 32 and GPIs 17- 32 are allocated to port 50002.
NOTE- On port 50002, the GPIs and GPOs are numbered 1 – 16 in Mode 2. Use
numbers 1 – 16 in all commands. Use of numbers 17 – 32 in commands will
result in an Invalid Data error message.
GC-32 will respond with ACK
Read Operating Mode (Supported on port 50001 and 50002)
Command= 0x31
Data:
No data is required
The GC-32 will respond with 44.4E.46.31.ss, where ss is the current operating mode. See
Set Operating Mode command for mode values.
GPO Control, Single GPO
Command= 0x60
Data:
GPO# 0x01 through 0x20
GPO State 0x00= OFF
0x01= ON
GPO On Time 0x01 through 0xFF (Internally, the On Time is multiplied by 10ms)
Send 44.4E.46.60.01.03.00 to latch on GPO #3
Send 44.4E.46.60.01.03.64 to turn on GPO #3 and then automatically turn them off
after 1 second.
GC-32 will respond with ACK
Page 4 of 14
GPO Control, All GPOs
Command= 0x61
Data:
0x01
GPO State 0x00= OFF
0x01= ON
GPO On Time 0x01 through 0xFF (Internally, the On Time is multiplied by 10ms)
Send 44.4E.46.61.01.01.00 to latch on all GPOs
Send 44.4E.46.61.01.01.64 to turn on all GPOs and then automatically turn them off
after 1 second.
GC-32 will respond with ACK
GPO Status, Single GPO
Command= 0x70
Data:
GPO# 0x01 through 0x20
The GC-32 will respond with 44.4E.46.70.gg.ss, where gg= the specified GPO
number and ss= the GPO’s current state.
GPO Status, All GPOs
Command= 0x71
Data:
0x01
The GC-32 will respond with 44.4E.46.71.cc.gg1.ss1.gg2.ss2…..ggN, ssN
where cc is the number of GPOs included in the response
gg1 is the GPO number and ss1 is its current status
gg2 is the next GPO number and ss2 is its status
ggN is the last GPO number and ssN is its status
For Mode 1, the GC returns GPO numbers 1 – 32
For Mode 2, on port 50001 and port 50002, the GC return GPO number 1 – 16
On port 50002, GPOs 1 – 16 are physical GPOs 17 – 32
Page 5 of 14
GPI Control, Single GPI
Command= 0x40
Data:
GPI# 0x01 through 0x20
GPI Debounce 0x00 – 0xFF (Internally, debounce time is multiplied by 10ms)
Send 44.4E.46.40.03.0A to set GPI#3’s debounce time to 100ms
GC-32 will respond with ACK
GPI Control, All GPIs
Command= 0x41
Data:
0x01
GPI Debounce 0x00 – 0xFF (Internally, debounce time is multiplied by 10ms)
Send 44.4E.46.40.03.0A to set all GPI debounce times to 100ms
GC-32 will respond with ACK
GPI Status, Single GPI Request status for a single GPI
Command= 0x50
Data:
GPI# 0x01 through 0x20
The GC-32 will respond with 44.4E.46.70.gg.xx.yy where gg= the specified GPI number and
xx.yy is the GPI’s 16 bit count value in MSB..LSB format. An even number indicates that the
GPI is currently off. An odd number indicates that the GPI is on. The count will increment
each time the GPI changes state.
Page 6 of 14
GPI Status, All GPIs Request status for all GPIs
Command= 0x51
Data:
0x01
The GC-32 will respond with 44.4E.46.51.cc.gg1.ss1.gg2.ss2…..ggN, ssN
where cc is the number of GPIs included in the response
gg1 is the GPI number and ss1 is its current status
gg2 is the next GPI number and ss2 is its status
ggN is the last GPI number and ssN is its status
For Mode 1, the GC returns GPI numbers 1 – 32
For Mode 2, on port 50001 and port 50002, the GC return GPI number 1 – 16
On port 50002, GPIs 1 – 16 are physical GPIs 17 – 32
GPI Change of State Notification Automatically sent when one or more GPIs change
state and a client is connected.
Command= 0x52
The GC-32 will send 44.4E.46.52.cc.gg1.ss1.gg2.ss2…..ggN, ssN
where cc is the number of GPIs included in the response
gg1 is the GPI number and ss1 is its current status
gg2 is the next GPI number and ss2 is its status
ggN is the last GPI number and ssN is its status
For Mode 1, the GC returns GPI numbers 1 – 32
For Mode 2, on port 50001 and port 50002, the GC return GPI number 1 – 16
On port 50002, GPIs 1 – 16 are physical GPIs 17 – 32
Page 7 of 14
CONFIGURATION WEB PAGES
Use a standard web-browser to access the GC-32’s web pages.
Click on the GPI Events link to view the current state of all GPIs. The page does not autorefresh.
Click on the GPO Actions link to view the current state of all GPOs. The page does not autorefresh.
Page 8 of 14
Click on the Remote Device Assignment link to view the IP address that is permitted to connect
on ports 50001 and 50002. If the IP address is set to 0.0.0.0, then any IP address may connect.
The Connection Status column will turn green when a client is connected.
Click on the Login link to make changes to the Remote Device Assignment page. Use the
following log-on when prompted: User name: dnfuser
Password: controls
Remote Device Assignment web page
To allow only a specific IP address to connect to the GC-32, enter client’s IP address in the
column labeled IP Address. Use the Device 1 line for port 50001 and Device 2 line for port
50002.
System Configuration web page
NOTE- You must be logged in to access this web page
Enter a new IP address, Gateway, and Subnet Mask in the boxes provided and then
click on Save Config. The GC-32 will automatically reboot.
1 Common Bus 20 Ground
2 GPO #1 COMMON 21 GPO #1 N.O.
3 GPO #2 COMMON 22 GPO #2 N.O.
4 GPO #3 COMMON 23 GPO #3 N.O.
5 GPO #4 COMMON 24 GPO #4 N.O.
6 GPO #5 COMMON 25 GPO #5 N.O.
7 GPO #6 COMMON 26 GPO #6 N.O.
8 GPO #7 COMMON 27 GPO #7 N.O.
9 GPO #8 COMMON . 28 GPO #8 N.O.
10 Common Bus 29 Ground
11 GPO #9 COMMON 30 GPO #9 N.O.
12 GPO #10 COMMON 31 GPO #10 N.O.
13 GPO #11 COMMON 32 GPO #11 N.O.
14 GPO #12 COMMON 33 GPO #12 N.O.
15 GPO #13 COMMON 34 GPO #13 N.O.
16 GPO #14 COMMON 35 GPO #14 N.O.
17 GPO #15 COMMON 36 GPO #15 N.O.
18 GPO #16 COMMON 37 GPO #16 N.O.
19 Common Bus
Dry Mode:
Pin# 2– 9
11–18
Pin #21–28
30–37
GPO
Common
GPO N.O.
Wet Mode:
Pin# 2– 9
11–18
Pin #21–28
30–37
GPO N.O.
Ground
Page 11 of 14
CONFIGURE GPIS FOR DRY/WET OPERATION
GPIs are set to Dry operation by default. The GPIs may be set for Wet mode
using either a Breakout Panel or using jumpers within the GC-32. To configure
the jumpers inside the GC-32:
1. Power down the GC-32 and then remove the top cover.
2. The jumpers for the GPIs are directly behind the GPI connectors, labeled
J7 through J38. Each set of jumpers for a GPI consists of 4 pins. See the
table below for which GPI corresponds to which jumpers.
3. For Dry operation, set one jumper across pins 2 and 3. Hang the second
jumper off of pin 1.
4. For Wet operation, set one jumper across pin 1 and 2. Set the second
jumper across pins 3 and 4.
5. Once all necessary changes to the jumpers have been made, replace the
top cover and power up the GC-32.
Page 12 of 14
CONFIGURE GPOS FOR DRY/WET OPERATION
Note: Signal connected to Common Bus is isolated from the GC-32 electronics
& power supply.
Page 13 of 14
LIMITED WARRANTY
DNF Controls warrants its product to be free from defects in material and
workmanship for a period of one (1) year from the date of sale to the original
purchaser from DNF Controls.
In order to enforce the rights under this warranty, the customer must first
contact DNFs Customer Support Department to afford the opportunity of
identifying and fixing the problem without sending the unit in for repair. If
DNF’s Customer Support Department cannot fix the problem, the customer
will be issued a Returned Merchandise Authorization number (RMA). The
customer will then ship the defective product prepaid to DNF Controls with the
RMA number clearly indicated on the customer’s shipping document. The
merchandise is to be shipped to:
DNF Controls
12843 Foothill Blvd., Suite C
Sylmar, CA 91342
USA
Failure to obtain a proper RMA number prior to returning the product may
result in the return not being accepted, or in a charge for the required repair.
DNF Controls, at its option, will repair or replace the defective unit. DNF
Controls will return the unit prepaid to the customer. The method of
shipment is at the discretion of DNF Controls, principally UPS Ground for
shipments within the United States of America. Shipments to international
customers will be sent via air. Should a customer require the product to be
returned in a more expeditious manner, the return shipment will be billed to
their freight account.
This warranty will be considered null and void if accident, misuse, abuse,
improper line voltage, fire, water, lightning or other acts of God damaged the
product. All repair parts are to be supplied by DNF Controls, either directly or
through its authorized dealer network. Similarly, any repair work not
performed by either DNF Controls or its authorized dealer may void the
warranty.
After the warranty period has expired, DNF Controls offers repair services.
Equipment is evaluated and repair price quoted prior to any work performed.
DNF Controls reserves the right to refuse repair of any unit outside the
warranty period that is deemed non-repairable.
DNF Controls shall not be liable for direct, indirect, incidental, consequential
or other types of damage resulting from the use of the product.
Page 14 of 14
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.