The attempts to develop a server for interfacing the dS2824 - 24 x 16A ethernet relay board based Relay Boxes extending the software so far used for the 8 relays one were not successful. We could not make the ASCII protocol working for those boards.
The solution we found was the use of the supported MODBUS protocol and of the available Python pymodbus library (which, BTW, made code simpler and cleaner).
This week all Relay Boxes firmware has been updated to the latest V2.19 available version in which the MODBUS protocol was made as default.
The PySb servers have been updated on VPM to use the v3r0 version (using MODBUS communication). The Suspension Coils SwitchBoxes group (see Fig. 1) now contains:
- CoilsSbWI
- CoilsSbtNI
- CoilsSbNE
- CoilsSbWE
Among the commands available at VPM level "Set outputs" is similar to the one implemented for the 8 relay boards on which the given decimal value is converted to binary (REL1 is LSB and REL24 is MSB).
The commands "High Power" and "Open", for the Input Towers, and "Low Noise 1" for the end towers are also available with default decimal values passed as argument . The "Low Noise 2" commands for the different Coils pairs will be made available as soon as the transition strategy will be fully defined.
Relay commanding tests have been made in order to bring back the High Power configuration without problem. Further test will be made at the next shift dedicated to Low Noise transition.
SMS data collection has also been set by adding those servers on FbsSusp. The channels SA_<Tower>_