THE HUB

The Hub/GLOBAL CACHE/End Points/Flex Serial RS232

GLOBAL CACHE, End Points

Flex Serial RS232

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

Commands

7 commands
OTHER7
GET DEVICE MODE getdevices
Reply: device,0,0 %adevice,1,1 SERIALendlistdevicesVariables: One line per module, each ending CR, then endlistdevices. %a = ETHERNET, WIFI. A Flex always reports one port on module 1, whatever the cable carriesEnding: cr
SET MODE SERIAL set_IR,1:1,SERIAL
Reply: IR,1:1,SERIALVariables: Class commands for any other mode then return ERR 005Ending: cr
GET SERIAL CONFIG get_SERIAL,1:1
Reply: SERIAL,1:1,%b,FLOW_%c,PARITY_%e,STOPBITS_%f,CABLE_3Variables: %b = any rate 300 to 115200 %c = NONE, HARDWARE %e = NO, EVEN, ODD %f = 1, 2. CABLE_3 is present on firmware 26 and later onlyEnding: cr
SET SERIAL CONFIG set_SERIAL,1:1,%g,FLOW_%h,PARITY_%i,STOPBITS_%j,CABLE_3
Reply: SERIAL,1:1,%g,FLOW_%h,PARITY_%i,STOPBITS_%j,CABLE_3Variables: %g = any rate 300 to 115200 %h = NONE, HARDWARE %i = NO, EVEN, ODD %j = 1, 2. Omit CABLE_3 on firmware before 26Ending: 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 CABLE MODE get_IR,1:1
Reply: IR,1:1,%aVariables: %a = IR, IR_BLASTER, IRTRIPORT, IRTRIPORT_BLASTER, SERIAL, SENSOR, SENSOR_NOTIFY. The port is always 1Ending: cr

Cheat sheet

driver.cheatSheet()

What it is

A Global Cache Flex on an RS-232 serial cable puts one serial port on the network. Serial data crosses TCP port 4999 unchanged, and the port's settings are read and set on port 4998.

Specs

Type: RS-232 on a Flex Link cable (FLC-SL-232, FLC-SL-MJ)

Inputs: 1x RS-232 (DB9 on FLC-SL-232, 3.5 mm on FLC-SL-MJ)

Mounting: Desktop or surface

Setup

First Use: Set the cable mode with SET MODE SERIAL. Serial data crosses TCP 4999. Unplugging the cable closes every open socket. The FLC-SL-MJ has no handshake lines, so leave flow control off. 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.

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