The Neets Control SR-4 can be controlled by either I/O's, RS-232 or LAN.
Using simple digital outputs on a third party controller gives you fast access to control the high power relays in the SR-4.
RS-232
Controlling the SR-4 by RS-232 is done by using the 3. party protocol that is described below. The default settings is 19200 8N1 and it offers loop through function to control a 2. RS-232 device. Also access to the 4 I/O's are available in both push and pull mode.
LAN control
Controlling the SR-4 by LAN is done by using the 3. party protocol that is described below. Connect by a TCP connection to port 5000. Also access to the 4 I/O's are available in both push and pull mode. The 2 RS-232 port can be used by connecting to port 5011 and 5012. This opens a transparent LAN <->RS-232 gateway. The speed setting of the RS-232 ports is done on LAN port 5000 using the attached setup commands.
Only one connection can be made to each port.
Control Commands
Here are the list of control commands. If you need a complete list including setup commands download the attached file at the bottom of the article. This file should be imported into Docklight Scripting. See an article here on how to get started.
IO Control
Function | Command |
IO1 set output | NEUNIT=1,IO=1,ACTION=SET<CR> |
IO2 set output | NEUNIT=1,IO=2,ACTION=SET<CR> |
IO3 set output | NEUNIT=1,IO=3,ACTION=SET<CR> |
IO4 set output | NEUNIT=1,IO=4,ACTION=SET<CR> |
IO1 release output | NEUNIT=1,IO=1,ACTION=RELEASE<CR> |
IO2 release output | NEUNIT=1,IO=2,ACTION=RELEASE<CR> |
IO3 release output | NEUNIT=1,IO=3,ACTION=RELEASE<CR> |
IO4 release output | NEUNIT=1,IO=4,ACTION=RELEASE<CR> |
Relay Control
Function | Command |
RELAY1 set (Close) | NEUNIT=1,RELAY=1,ACTION=SET<CR> |
RELAY2 set (Close) | NEUNIT=1,RELAY=2,ACTION=SET<CR> |
RELAY3 set (Close) | NEUNIT=1,RELAY=3,ACTION=SET<CR> |
RELAY4 set (Close) | NEUNIT=1,RELAY=4,ACTION=SET<CR> |
RELAY1 release (Open) | NEUNIT=1,RELAY=1,ACTION=RELEASE<CR> |
RELAY2 release (Open) | NEUNIT=1,RELAY=2,ACTION=RELEASE<CR> |
RELAY3 release (Open) | NEUNIT=1,RELAY=3,ACTION=RELEASE<CR> |
RELAY4 release (Open) | NEUNIT=1,RELAY=4,ACTION=RELEASE<CR> |
Screen Control
Function | Command |
Screen Up | NEUNIT=1,SCREEN=1,ACTION=UP<CR> |
Screen Down | NEUNIT=1,SCREEN=1,ACTION=DOWN<CR> |