Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-SBE›MultiSAS controls #44686

Setup of remote ON/OFF control for mSAS stepper motors

> In order to allow the intervention I switched ON/OFF the SDB2 Step Motors via VPM acting on SDB2_MotSwitch.

We welcome then the first use of this new functionality.

During this week we have proceeded (in the order: SPRB, SDB2, SNEB, SWEB) with the installation of the boards allowing the remote ON/OFF control of the mSAS stepper motors following the technical details and planning reported on the "Remote Control of Electrical Power for Unneeded Devices in Science Mode: CRQ 2019/001 Change Request"

This has implied:

  • Installation on the mSAS crates of the new patch connections board for inserting the dS1242 Ethernet 2 x 16A Ethernet relay mezzanine
  • The connection to the network switch and addition into DNS
  • Once the dS1242 mezzanine was reachable from its web interface (to be noted that those seetting are only allowed if an USB cable is connected to the dS1242 mezzanine):
    • The communication protocol has been set from the ASCII default to Modbus over the standard 502 port in the TCP/IP box (Fig 1-2)
    • The password protection has been disabled in the Webpage Security box  by uncheking Enable _pw.htm (Fig. 3)
  • The addition into VPM (on the corresponding mSAS group) of 4 new instances of the PySb server named:
    • SPRB_MotSwitch
    • SDB2_MotSwitch
    • SNEB_MotSwitch
    • SNEB_MotSwitch
  • The ON/OFF commanding has also been added as dedicated button in VPM

The PySb software has been modified in order to handle boards with different number of relays (so far was customized on the 24 relays one). This correspond to the version v4r1 now in testing mode.

The integration of the relay status channel into DAQ and the control from Automation will be done soon.

2 comments

carbognani · 6 Feb 2019 · 10:32 #44752

All MotSwitch servers instances have been restarted using latest PySb version (v4r1p1) were the number of used relays is a configurable parameter. This allow for creating only the relevant DAQ channels.

The FbsDet configuration has been updated to collect data from the MotSwitch servers and those new channes can now be used to monitor the ON/OFF state (1 is ON, 0 is OFF) of the mSAS Stepper Motors (See Fig. 1):

  1. SPRB_MS_REL1
  2. SDB2_MS_REL1
  3. SNEB_MS_REL1
  4. SWEB_MS_REL1

Those can now be added to the DMS for monitoring

 

dattilo · 7 Feb 2019 · 12:38 #44785

The info on the status of  the mSAS stepper motors has been added to the DMS:  now in case of a motor driver ON, the corrisponding flag (SPRB or SDB2 or  SWEB or SNEB), becomes red.