THE HUB

The Hub/GLOBAL CACHE/End Points/GC-100-12

GLOBAL CACHE, End Points

GC-100-12

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

Commands

48 commands
OTHER48
GET DEVICE MODE getdevices
Reply: device,1,1 SERIALdevice,2,1 SERIALdevice,3,3 RELAYdevice,4,3 IRdevice,5,3 IRendlistdevicesVariables: One line per module, each ending CR, then endlistdevices.Ending: cr
OPEN RELAY 1 setstate,3:1,0
Reply: state,3:1,0Variables: Latching. Returns to open after a resetEnding: cr
OPEN RELAY 2 setstate,3:2,0
Reply: state,3:2,0Variables: Latching. Returns to open after a resetEnding: cr
OPEN RELAY 3 setstate,3:3,0
Reply: state,3:3,0Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 1 setstate,3:1,1
Reply: state,3:1,1Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 2 setstate,3:2,1
Reply: state,3:2,1Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 3 setstate,3:3,1
Reply: state,3:3,1Variables: Latching. Returns to open after a resetEnding: cr
GET SERIAL CONFIG get_SERIAL,1:1
Reply: SERIAL,1:1,%b,FLOW_%c,PARITY_%eVariables: %b = 1200, 2400, 4800, 9600, 19200, 38400, 57600 %c = NONE, HARDWARE %e = NO, EVEN, ODDEnding: cr
SET SERIAL CONFIG set_SERIAL,1:1,%g,FLOW_%h,PARITY_%i
Reply: SERIAL,1:1,%g,FLOW_%h,PARITY_%iVariables: %g = 1200, 2400, 4800, 9600, 19200, 38400, 57600 %h = NONE, HARDWARE %i = NO, EVEN, ODDEnding: cr
GET FIRMWARE VERSION getversion
Reply: version,0,%vVariables: %v = firmware version, for example 3.2-12Ending: 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
BLINK ON blink,1
Variables: No reply. Starts a continuous blink of the power LEDEnding: cr
BLINK OFF blink,0
Variables: No reply. Stops the blink (the default)Ending: cr
GET SERIAL_CONFIG 2 get_SERIAL,2:1
Reply: SERIAL,2:1,%b,FLOW_%c,PARITY_%eVariables: %b = 1200, 2400, 4800, 9600, 19200, 38400, 57600 %c = NONE, HARDWARE %e = NO, EVEN, ODDEnding: cr
SET SERIAL_CONFIG 2 set_SERIAL,2:1,%g,FLOW_%h,PARITY_%i
Reply: SERIAL,2:1,%g,FLOW_%h,PARITY_%iVariables: %g = 1200, 2400, 4800, 9600, 19200, 38400, 57600 %h = NONE, HARDWARE %i = NO, EVEN, ODDEnding: cr
GET RELAY_STATE 1 getstate,3:1
Reply: state,3:1,%sVariables: %s = 0 open, 1 closedEnding: cr
GET RELAY_STATE 2 getstate,3:2
Reply: state,3:2,%sVariables: %s = 0 open, 1 closedEnding: cr
GET RELAY_STATE 3 getstate,3:3
Reply: state,3:3,%sVariables: %s = 0 open, 1 closedEnding: cr
SEND IR 1 sendir,4:1,%i,%f,%r,%o,%c
Reply: completeir,4:1,%iVariables: %i = ID 0-65535, echoed in completeir %f = carrier 20000-500000 Hz %r = repeat 1-31 %o = offset, odd, 1-255 %c = on,off pulse counts in carrier cycles, 1-50000 each, in pairs. Reply may be busyir (U), or busyIR,<m>:<p>,<ID> on older firmware, when the port is sending a different codeEnding: cr
SEND IR 2 sendir,4:2,%i,%f,%r,%o,%c
Reply: completeir,4:2,%iVariables: %i = ID 0-65535, echoed in completeir %f = carrier 20000-500000 Hz %r = repeat 1-31 %o = offset, odd, 1-255 %c = on,off pulse counts in carrier cycles, 1-50000 each, in pairs. Reply may be busyir (U), or busyIR,<m>:<p>,<ID> on older firmware, when the port is sending a different codeEnding: cr
SEND IR 3 sendir,4:3,%i,%f,%r,%o,%c
Reply: completeir,4:3,%iVariables: %i = ID 0-65535, echoed in completeir %f = carrier 20000-500000 Hz %r = repeat 1-31 %o = offset, odd, 1-255 %c = on,off pulse counts in carrier cycles, 1-50000 each, in pairs. Reply may be busyir (U), or busyIR,<m>:<p>,<ID> on older firmware, when the port is sending a different codeEnding: cr
SEND IR 4 sendir,5:1,%i,%f,%r,%o,%c
Reply: completeir,5:1,%iVariables: %i = ID 0-65535, echoed in completeir %f = carrier 20000-500000 Hz %r = repeat 1-31 %o = offset, odd, 1-255 %c = on,off pulse counts in carrier cycles, 1-50000 each, in pairs. Reply may be busyir (U), or busyIR,<m>:<p>,<ID> on older firmware, when the port is sending a different codeEnding: cr
SEND IR 5 sendir,5:2,%i,%f,%r,%o,%c
Reply: completeir,5:2,%iVariables: %i = ID 0-65535, echoed in completeir %f = carrier 20000-500000 Hz %r = repeat 1-31 %o = offset, odd, 1-255 %c = on,off pulse counts in carrier cycles, 1-50000 each, in pairs. Reply may be busyir (U), or busyIR,<m>:<p>,<ID> on older firmware, when the port is sending a different codeEnding: cr
SEND IR 6 sendir,5:3,%i,%f,%r,%o,%c
Reply: completeir,5:3,%iVariables: %i = ID 0-65535, echoed in completeir %f = carrier 20000-500000 Hz %r = repeat 1-31 %o = offset, odd, 1-255 %c = on,off pulse counts in carrier cycles, 1-50000 each, in pairs. Reply may be busyir (U), or busyIR,<m>:<p>,<ID> on older firmware, when the port is sending a different codeEnding: cr
STOP IR 1 stopir,4:1
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 2 stopir,4:2
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 3 stopir,4:3
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 4 stopir,5:1
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 5 stopir,5:2
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 6 stopir,5:3
Variables: No reply. Halts at the end of the current timing patternEnding: cr
GET PORT_MODE 1 get_IR,4:1
Reply: IR,4:1,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 1 set_IR,4:1,%a
Reply: IR,4:1,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFY. The GC-100 resets after a successful set_IR, keeping the TCP connection (soft reset, RN-G 3.0)Ending: cr
GET PORT_MODE 2 get_IR,4:2
Reply: IR,4:2,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 2 set_IR,4:2,%a
Reply: IR,4:2,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFY. The GC-100 resets after a successful set_IR, keeping the TCP connection (soft reset, RN-G 3.0)Ending: cr
GET PORT_MODE 3 get_IR,4:3
Reply: IR,4:3,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 3 set_IR,4:3,%a
Reply: IR,4:3,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFY. The GC-100 resets after a successful set_IR, keeping the TCP connection (soft reset, RN-G 3.0)Ending: cr
GET PORT_MODE 4 get_IR,5:1
Reply: IR,5:1,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 4 set_IR,5:1,%a
Reply: IR,5:1,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFY. The GC-100 resets after a successful set_IR, keeping the TCP connection (soft reset, RN-G 3.0)Ending: cr
GET PORT_MODE 5 get_IR,5:2
Reply: IR,5:2,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 5 set_IR,5:2,%a
Reply: IR,5:2,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFY. The GC-100 resets after a successful set_IR, keeping the TCP connection (soft reset, RN-G 3.0)Ending: cr
GET PORT_MODE 6 get_IR,5:3
Reply: IR,5:3,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 6 set_IR,5:3,%a
Reply: IR,5:3,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFY. The GC-100 resets after a successful set_IR, keeping the TCP connection (soft reset, RN-G 3.0)Ending: cr
GET SENSOR_STATE 1 getstate,4:1
Reply: state,4:1,%sVariables: %s = 0, 1. The port must be set to SENSOR or SENSOR_NOTIFY first. Polarity differs by document, so read the value, not a labelEnding: cr
GET SENSOR_STATE 2 getstate,4:2
Reply: state,4:2,%sVariables: %s = 0, 1. The port must be set to SENSOR or SENSOR_NOTIFY first. Polarity differs by document, so read the value, not a labelEnding: cr
GET SENSOR_STATE 3 getstate,4:3
Reply: state,4:3,%sVariables: %s = 0, 1. The port must be set to SENSOR or SENSOR_NOTIFY first. Polarity differs by document, so read the value, not a labelEnding: cr
GET SENSOR_STATE 4 getstate,5:1
Reply: state,5:1,%sVariables: %s = 0, 1. The port must be set to SENSOR or SENSOR_NOTIFY first. Polarity differs by document, so read the value, not a labelEnding: cr
GET SENSOR_STATE 5 getstate,5:2
Reply: state,5:2,%sVariables: %s = 0, 1. The port must be set to SENSOR or SENSOR_NOTIFY first. Polarity differs by document, so read the value, not a labelEnding: cr
GET SENSOR_STATE 6 getstate,5:3
Reply: state,5:3,%sVariables: %s = 0, 1. The port must be set to SENSOR or SENSOR_NOTIFY first. Polarity differs by document, so read the value, not a labelEnding: cr

Cheat sheet

driver.cheatSheet()

What it is

The Global Cache GC-100-12 network adapter has two RS-232 ports, three relays and six IR ports, each usable as an IR emitter output or a sensor input. It accepts one TCP client at a time on the Unified TCP API port 4998.

Specs

Type: Network adapter, 2 serial ports, 3 relays and 6 IR or sensor ports

Inputs: 2x DB9 RS-232, 3x relays, 6x 3.5 mm IR or sensor ports

Mounting: Desktop or rack shelf

Setup

First Use: With no DHCP server the unit takes 192.168.1.70. Serial port 1 crosses TCP 4999 and serial port 2 crosses TCP 5000. IR ports 1 to 6 are modules 4 and 5. A GC-100-18 reports itself as a GC-100-12 and uses this model. The GC-100 accepts one TCP client on port 4998, and one per serial port. What happens to a second client is not documented.

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