With the suspension of the SIB2 bench planned for next week, 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 mezzanines to the site network switch
- Finding the MAC address via the vendor DevantechModuleFinder.jar application
- Addition into DNS (relais-sib2-01)
- Once the dS1242 mezzanine were reachable from their web interface http://relais-sib2-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 the new instances of the PySb server named SIB2_MotSwitch
Remote communication setup steps
- Connection to a small extra ethernet switch (like a netgear FS105), find the device via the Moxa NPort_administrator application running on a laptop attached to the small switch and change the network setting to DHCP (essential step, otherwise the device will not work while attached to the site network switch). Also the MAC address can be found from the NPort_administrator.
- Addition into DNS (ethsib2-01)
- Connection to the to the network switch and check that it is pingable
- The Window machine olserverwin has been set, using the Moxa NPort_administrator application as root, so that the virtual COM13 port is now associated with the ethsib2-01 bridge.
- The global new virtual COM association is then:
- COM2 -> ethsdb201
- COM6 -> ethsprb01
- COM7 -> ethsneb01
- COM8 -> ethsweb01
- COM9 -> ethsqb1-01
- COM10 -> ethsqb2-01
- COM11 -> ethfcem-01
- COM12 -> ethfcim-01
- COM13 -> ethsib2-01
The next step will be to use the application TMCL-PC provided by Trinamics to configure the controllers via a download.