Reply: device,0,0 %adevice,1,1 RELAYSENSORendlistdevicesVariables: One line per module, each ending CR, then endlistdevices. %a = ETHERNET, WIFI. A Flex always reports one port on module 1, whatever the cable carries. Sensors on module 2 are not listed (a known bug)Ending: cr
OPEN RELAY 1setstate,1:1,0
Reply: state,1:1,0Variables: A relay must be configured with SET RELAY_TYPE before it switchesEnding: cr
OPEN RELAY 2setstate,1:2,0
Reply: state,1:2,0Variables: A relay must be configured with SET RELAY_TYPE before it switchesEnding: cr
OPEN RELAY 3setstate,1:3,0
Reply: state,1:3,0Variables: A relay must be configured with SET RELAY_TYPE before it switchesEnding: cr
OPEN RELAY 4setstate,1:4,0
Reply: state,1:4,0Variables: A relay must be configured with SET RELAY_TYPE before it switchesEnding: cr
CLOSE RELAY 1setstate,1:1,1
Reply: state,1:1,1Variables: A relay must be configured with SET RELAY_TYPE before it switchesEnding: cr
CLOSE RELAY 2setstate,1:2,1
Reply: state,1:2,1Variables: A relay must be configured with SET RELAY_TYPE before it switchesEnding: cr
CLOSE RELAY 3setstate,1:3,1
Reply: state,1:3,1Variables: A relay must be configured with SET RELAY_TYPE before it switchesEnding: cr
CLOSE RELAY 4setstate,1:4,1
Reply: state,1:4,1Variables: A relay must be configured with SET RELAY_TYPE before it switchesEnding: cr
GET FIRMWARE VERSIONgetversion
Reply: %vVariables: %v = firmware part number and version, for example 710-3000-21Ending: cr
Reply: RELAY,1:1,%tVariables: %t = SPST, SPDT, DPDT, Disabled. SPDT takes two ports and DPDT four, starting at an odd port. Set every affected port to Disabled first, or no change is applied and an error is returnedEnding: cr
Reply: RELAY,1:2,%tVariables: %t = SPST, SPDT, DPDT, Disabled. SPDT takes two ports and DPDT four, starting at an odd port. Set every affected port to Disabled first, or no change is applied and an error is returnedEnding: cr
Reply: RELAY,1:3,%tVariables: %t = SPST, SPDT, DPDT, Disabled. SPDT takes two ports and DPDT four, starting at an odd port. Set every affected port to Disabled first, or no change is applied and an error is returnedEnding: cr
Reply: RELAY,1:4,%tVariables: %t = SPST, SPDT, DPDT, Disabled. SPDT takes two ports and DPDT four, starting at an odd port. Set every affected port to Disabled first, or no change is applied and an error is returnedEnding: cr
GET SENSOR_STATE 1getstate,2:1
Reply: state,2:1,%sVariables: %s = 0, 1. Polarity differs by document, so read the value, not a labelEnding: cr
GET SENSOR_STATE 2getstate,2:2
Reply: state,2:2,%sVariables: %s = 0, 1. Polarity differs by document, so read the value, not a labelEnding: cr
GET SENSOR_STATE 3getstate,2:3
Reply: state,2:3,%sVariables: %s = 0, 1. Polarity differs by document, so read the value, not a labelEnding: cr
GET SENSOR_STATE 4getstate,2:4
Reply: state,2:4,%sVariables: %s = 0, 1. Polarity differs by document, so read the value, not a labelEnding: cr
Cheat sheet
driver.cheatSheet()
What it is
A Global Cache Flex on the FLC-RS cable has four relays and four sensor inputs. The relays combine into SPST, SPDT or DPDT switches.
Specs
Type: 4 relays and 4 sensors on a Flex Link cable (FLC-RS)
First Use: Set the cable mode with SET MODE RELAY_SENSOR. Every relay is Disabled at power-on: set each relay with SET RELAY_TYPE before switching it. Sensors are on module 2. Works on a Flex IP, Flex IP PoE or Flex WiFi base unit. The cable mode, not the base unit, decides which commands answer. With no DHCP server a Flex IP takes 192.168.1.70. Up to 8 clients on port 4998.
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.