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 1setstate,3:1,0
Reply: state,3:1,0Variables: Latching. Returns to open after a resetEnding: cr
OPEN RELAY 2setstate,3:2,0
Reply: state,3:2,0Variables: Latching. Returns to open after a resetEnding: cr
OPEN RELAY 3setstate,3:3,0
Reply: state,3:3,0Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 1setstate,3:1,1
Reply: state,3:1,1Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 2setstate,3:2,1
Reply: state,3:2,1Variables: Latching. Returns to open after a resetEnding: cr
CLOSE RELAY 3setstate,3:3,1
Reply: state,3:3,1Variables: Latching. Returns to open after a resetEnding: cr
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 2sendir,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 3sendir,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 4sendir,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 5sendir,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 6sendir,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 1stopir,4:1
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 2stopir,4:2
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 3stopir,4:3
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 4stopir,5:1
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 5stopir,5:2
Variables: No reply. Halts at the end of the current timing patternEnding: cr
STOP IR 6stopir,5:3
Variables: No reply. Halts at the end of the current timing patternEnding: cr
GET PORT_MODE 1get_IR,4:1
Reply: IR,4:1,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 1set_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 2get_IR,4:2
Reply: IR,4:2,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 2set_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 3get_IR,4:3
Reply: IR,4:3,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 3set_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 4get_IR,5:1
Reply: IR,5:1,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 4set_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 5get_IR,5:2
Reply: IR,5:2,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 5set_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 6get_IR,5:3
Reply: IR,5:3,%aVariables: %a = IR, BL2_BLASTER, IR_NOCARRIER, SENSOR, SENSOR_NOTIFYEnding: cr
SET PORT_MODE 6set_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 1getstate,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 2getstate,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 3getstate,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 4getstate,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 5getstate,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 6getstate,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.