This is a RTA Xmind-K ??? controller to control 1 axis of a dichroic unit. See also DichroicControllerAndWebIOModule

List of devices of this kind

Name Serial Number Location
Dichroic Controller #1 1 DichroicControllerAndWebIOModule01
Dichroic Controller #2 2 DichroicControllerAndWebIOModule01
Dichroic Controller #3 3 DichroicControllerAndWebIOModule02
Dichroic Controller #4 4 DichroicControllerAndWebIOModule02
Dichroic Controller #5 5758 DichroicServiceController
Dichroic Controller #6 6 ArgosCabinet0
Dichroic Controller #7 15929 DichroicServiceController

Documentation

Installation and maintenance

The aoeng laptop maintained by MWa has the software tools installed and is the tool to use to program the DichroicServiceController. The virtualbox has it as well and it is the preferred tool to use to re-program the modules ElectronicRackLgsw.

HowToMoveDichroicAndFoldMirrorIndependently

How to upload a new program to the controller

  1. Connect to the RTA controller. See below.
  2. Dump the current memory in a file:
    1. Click on Memory reading
    2. Select the driver to use (00 for dichroic motor, 01 for fold mirror motor)
    3. Click on All memory cells
    4. When query is finished, click on Save and save the file in the folder Dichroic Tools
  3. In the "Serial communication" window click on Open and load the txt file
    1. For Dichroic (address 00) select rta_Dic_00_14_02_06_LBT.txt
    2. For Mirror (address 01) select rta_Mir_00_14_02_06_LBT.txt
  4. The file is loaded in the window. Click on TX button and wait for the operation to finish.
    1. An error in writing may occur if spaces are present at the end of the lines in the .txt files. Remove them.
  5. Check that the memory has been correctly written by dumping the current memory as explained above

How to connect to the RTA controller

  1. Start the VirtualBox. See VirtualBox for instruction
  2. Ensure the device is pingable: run cmd,exe and execute ping (192.168.29.43 for dx unit). Look up IP address on DichroicControllerAndWebIOModule
  3. Open the "Dichroic Tools" folder on the desktop
  4. Open NPort Windows Driver Manager. COM16 should be configured with address 192.168.29.43 (for dx unit). Otherwise see below "Configure Nport Driver Manager"
  5. Start XMIND_K
  6. Click on SERIAL COMMUNICATION
  7. Select Driver address 00 for the dichroic motor or 01 for the folding mirror motor
  8. Click on Serial Port Open and select COM16. In case of Error 8012 see below "Run time Error 8012"

Run time Error 8012 (the device is not open)

The Moxa Nport has to be in "Real COM mode" when using RTA XMIND_K software. It has to be in "TCP Server Mode" when using the ARGOS SW.
  1. Open the browser and go to Nport IP address (192.168.29.43 for dx unit)
  2. Select Operating Settings -> Port 1 in the left column and select the Operation mode from the drop-down menu. Click on Submit and restart the unit
  3. Wait for the unit to boot and check that the new setting has been applied
  4. At the end of the maintenance revert to the "TCP Server Mode" needed for standard operation with ARGOS SW basdards.

Configure Nport Driver Manager

  1. Start Nport Windows Driver Manager
  2. Click on Add
  3. Click on Search
  4. Check only the wanted device and click on Ok
  5. Do not apply setting to COM1
  6. In the main window click on Setting
  7. Change port to COM 16
  8. Click Apply.

Working configuration for dx unit is:
  • Basic: COM16,
  • Advanced: Tx=Hi-Performance, FIFO=Enable, Timeout=5000, Fast Flush=True, Auto Network Re-Connection= True. Everything else=False
  • Serial: 9600 None 8 1 None

Software setup

Programs for RTA controller developed by TomelleriSrl

See also DichroicController1, DichroicController2, DichroicController3 and DichroicController4 for the version installed on the individual systems

At 2016-10-22 the code was modified to increase the number of steps to exit the I0 and I1 limit switches on the dichroic and fold mirror indexed runs according to DayTime20161021 (installed only on SX DichroicController3 and DichroicController4):

At 2016-10-21 the code was modified to increase the torque on the dichroic and fold mirror indexed runs according to DayTime20161021 (installed only on SX DichroicController3 and DichroicController4):

At 2014-12-02 the code was modified in such a way that the error line is raised if after the initial index run the initial limit switch is still engaged. This one for DICHROIC rta_Dic_00_14_12_02_LBT.txt, and this one for FOLD MIRROR rta_Mir_01_14_12_02_LBT.txt

At 2014-03.19 the program to run on DICHROIC controller is: rta_Dic_00_14_03_18_LBT.txt and the one on FOLD MIRROR is: rta_Mir_01_14_03_18_LBT.txt

At 2014-02-12 the program to run on the fold mirror controller is rta_Mir_01_14_02_06_LBT.txt and the one for the dichroic controller is rta_Dic_00_14_02_06_LBT.txt.

Reference

This topic is referred in: DiaryRun1, DichroicController1, DichroicController2, DichroicController3, DichroicController4, DichroicController5, DichroicController6, DichroicController7, DichroicControllerAndWebIOModule, LgswDichroicSystem, MotorControllerAndLedSource, WebStatistics

Topic label

DichroicController

aowiki.arcetri.astro.it/ARGOSPublic/DichroicController
Topic revision: r16 - 06 Mar 2017, LorenzoBusoni
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding AOWiki? Send feedback