THE HUB

The Hub/GLOBAL CACHE/End Points/Global Connect Relay

GLOBAL CACHE, End Points

Global Connect Relay

Control
IP
Encoding
ASCII
IP
TCP port 4998
Line ending
CR
Roles
End point
Discovery
GLOBALCACHE

Commands

21 commands
OTHER21
GET DEVICE MODE getdevices
Reply: device,0,0 MODULEdevice,1,6 RELAY_SPST_3AendlistdevicesVariables: One line per module, each ending CR, then endlistdevices.Ending: cr
OPEN RELAY 1 setstate,1:1,0
Reply: state,1:1,0Variables: Latching. Returns to open after a resetEnding: cr
OPEN RELAY 2 setstate,1:2,0
Reply: state,1:2,0Variables: Latching. Returns to open after a resetEnding: cr
OPEN RELAY 3 setstate,1:3,0
Reply: state,1:3,0Variables: Latching. Returns to open after a resetEnding: cr
OPEN RELAY 4 setstate,1:4,0
Reply: state,1:4,0Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 1 setstate,1:1,1
Reply: state,1:1,1Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 2 setstate,1:2,1
Reply: state,1:2,1Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 3 setstate,1:3,1
Reply: state,1:3,1Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 4 setstate,1:4,1
Reply: state,1:4,1Variables: Latching. Returns to open after a resetEnding: cr
GET FIRMWARE VERSION getversion
Reply: %vVariables: %v = firmware part number and version, for example 710-3000-21Ending: cr
GET NETWORK get_NET,0:1
Reply: NET,0:1,%a,%b,%c,%d,%eVariables: %a = UNLOCKED, LOCKED %b = DHCP, STATIC %c = IP address %d = subnet mask %e = gatewayEnding: cr
GET RELAY_STATE 1 getstate,1:1
Reply: state,1:1,%sVariables: %s = 0 open, 1 closedEnding: cr
GET RELAY_STATE 2 getstate,1:2
Reply: state,1:2,%sVariables: %s = 0 open, 1 closedEnding: cr
GET RELAY_STATE 3 getstate,1:3
Reply: state,1:3,%sVariables: %s = 0 open, 1 closedEnding: cr
GET RELAY_STATE 4 getstate,1:4
Reply: state,1:4,%sVariables: %s = 0 open, 1 closedEnding: cr
OPEN RELAY 5 setstate,1:5,0
Reply: state,1:5,0Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 5 setstate,1:5,1
Reply: state,1:5,1Variables: Latching. Returns to open after a resetEnding: cr
GET RELAY_STATE 5 getstate,1:5
Reply: state,1:5,%sVariables: %s = 0 open, 1 closedEnding: cr
OPEN RELAY 6 setstate,1:6,0
Reply: state,1:6,0Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 6 setstate,1:6,1
Reply: state,1:6,1Variables: Latching. Returns to open after a resetEnding: cr
GET RELAY_STATE 6 getstate,1:6
Reply: state,1:6,%sVariables: %s = 0 open, 1 closedEnding: cr

Cheat sheet

driver.cheatSheet()

What it is

The Global Cache Global Connect relay module has six normally open dry-contact relays rated 3 A. Commands use the Unified TCP API on port 4998.

Specs

Type: Global Connect relay module, 6 relays

Inputs: 6x relays, SPST normally open, dry contact, 3 A

Mounting: Global Connect chassis

Setup

First Use: With no DHCP server after two minutes the module takes 192.168.1.70 plus its chassis position. Each module is its own device with its own IP address. Up to 8 clients on port 4998; opening one more closes the oldest.

Support

Tech Support Phone: 541-899-4800

Power Cycle: Remove power for ten seconds. Relay states return to open after a reset or power cycle.

About this driver

driver.source()

Confirm each command on your device before you rely on it. Provided as is, with no warranty. To correct something or ask for it to come down, write to info@ctrlbot.io. Licensed CC BY 4.0: credit CTRLbot and link back when you share it. Product page. Manufacturer site.

Revision
1
Updated
2026-11-05
Catalog date
2026-11-12
License
CC-BY-4.0