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

SQB1 MultiSAS Stepper Motors Control

With the SQB1 MultiSAS electronic installation we had to integrate the control of the corresponding Stepper motors.
This implied the setup of the:

  • remote ON/OFF control
  • communication to the motor controller (realized via a Moxa NPort 5130A Ethernet/Serial RS485 bridge)

Remote ON/OFF control setup steps:

  • The connection of the dS1242 Ethernet 2 x 16A Ethernet relay mezzanine to the network switch and addition into DNS (relais-sqb1-01)
  • Once the dS1242 mezzanine was reachable from its web interface http://relais-sqb1-01.virgo.infn.it/_config.htm (to be noted that those setting 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
    • The password protection has been disabled in the Webpage Security box  by uncheking Enable _pw.htm
  • The addition into VPM of a new mSAS group SQB1 and a new instance of the PySb server named SQB1_MotSwitch

Remote communication setup steps

  • Connection to the to the network switch and setup the Moxa NPort 5130A bridge (MAC address: 00:90:E8:71:A5:3C) networking in DHCP mode and assigning the name  ethsqb1-01(Ethernet bridge 01 for SQB1).
  • The Window machine olserverwin has been set, using the Moxa NPort_administrator application as root, so that the virtual COM9 port is associated with the ethsqb1-01 bridge.
  • The new virtual COM association is then:
  1. COM2 -> ethsdb201
  2. COM5 -> ethsib201
  3. COM6 -> ethsprb01
  4. COM7 -> ethsneb01
  5. COM8 -> ethsweb01
  6. COM9 -> ethsqb1-01

Then, in the olserverwin machine, the application TMCL-PC provided by Trinamics has been used to configure the controller via a download.
After a config setup hiccup we could check that with the Remote Control ON or OFF, the download was correspondingly possible or not possible.

Next step will be to try to actually move the motor from the TMCL-PC interface which may be attempted in the coming days.