FAQ for step motor control in Cave A

  1. Q: Why does the IEF-GUI always yield an error when talking to the hardware?
    A: There is a communication problem with the IEF-Controller. Possible problems are:
    1. No connection via ProfiBUS
    2. The IEF-Controller is not switched on
    3. The IEF-Controller is in manual mode
  2. Q: What to do, if there is a communication problem with the IEF-Controller? A:
    1. Check, that the OPC Server (TwinCAT) is running. The icon on the lower right of the task bar should be green. If it is red, right mouse click that TwinCAT icon -> System -> Start
    2. Check the physical connection of the Profibus cable
    3. Switch the terminators on both ends of the Profibus cable to ON
  3. Q: How to switch the IEF-Controller from manual to "automatic" mode?
    A: By pressing escape on the front panel of the physical hardware controller and following the menu, switch the controller to the "automatic" state.
  4. Q: I want to do manual stuff at the controller itself, but I can not switch it to "Manual" mode. A:
    1. Quit the LabVIEW program (unload the IEF-Controller class). Then, the IEF-Controller switches from on-line to automatic mode.
    2. If that does not work, switch off the IEF-Controller off and on again.
  5. Q: I think everything is o.k., but I can not control the IEF-stuff from the GUI.
    A: Do a "Reset Controller" at the GUI. That should switch the IEF-Controller to on-line mode.
  6. Q: I have switched the IEF-Controller off and on again. Do I have to restart LabVIEW?
    A: No, just click on "Reset Controller" on the IEF-GUI.

Some background

Next to the normal system classes (SuperProc, Listener, DSCInterface, ...), the step motor control uses three other classes.

  1. IEF-Controller: Represent the control unit PA-Control from IEF-Werner
  2. IEF-Axis represents an axis of that control unit. It does not communicate with the PA-Control but only with an object of the PA-Controller class. Only the tags for position and status of an axis are registered as "dsctrend" events and are transmitted from the PA-Control via the DSCInterface process.
  3. IEF-GUI is a GUI that talks to a set of axes.

The control unit PA-Control is connected via Profibus to the PCI Profibus-master card from Beckhoff. The TwinCAT software is used to configure the Profibus and the OPC-Server from Beckhoff and is needed to publish/subscribe data of/to the Profibus.TwinCAT is connected via the OPC-Server and OPC to the DSC (Datalogging & Supervisory Control) module of LabVIEW. For runtime systems of CS, the runtime system of the DSC module is required and must be purchased. Like this, the Profibus tags used by the PA-Control are available as DSC tags in the LabVIEW environment.

The class IEF-Controller controls the PA-Control by writing to and reading from the DSC tags of the DSC engine. Objects of the class PA-Control must run on the same PC as the DSCIntProc object. In principle, the objects of the IEF-Axis and the IEF-GUI classes may run on different nodes than the IEF-Controller.

-- DietrichBeck - 06 Jul 2005
Topic revision: r1 - 2005-07-06, DietrichBeck - This page was cached on 2022-11-26 - 09:40.

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 GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)