THE HUB

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

GLOBAL CACHE, End Points

Flex Serial RS485

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

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,DUPLEX_%c,PARITY_%e,STOPBITS_%f,CABLE_4Variables: %b = any rate 300 to 115200 %c = HALF, FULL %e = NO, EVEN, ODD %f = 1, 2. CABLE_4 is present on firmware 26 and later onlyEnding: cr
SET SERIAL CONFIG set_SERIAL,1:1,%g,DUPLEX_%h,PARITY_%i,STOPBITS_%j,CABLE_4
Reply: SERIAL,1:1,%g,DUPLEX_%h,PARITY_%i,STOPBITS_%j,CABLE_4Variables: %g = any rate 300 to 115200 %h = HALF, FULL %i = NO, EVEN, ODD %j = 1, 2. Omit CABLE_4 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 the RS-485 serial cable puts one two-wire or four-wire RS-485 port on the network. Serial data crosses TCP port 4999 unchanged.

Specs

Type: RS-485 on a Flex Link cable (FLC-SL-485)

Inputs: 1x RS-485 terminal block

Mounting: Desktop or surface

Setup

First Use: Set the cable mode with SET MODE SERIAL, then SET SERIAL CONFIG with DUPLEX HALF or FULL. Serial data crosses TCP 4999. 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