This is a template for a generic Tango motor server. It implements the minimal interface for every 'movable'. Every motor that complies to this interface can be operated from Online using such an entry in /online_dir/online.xml:
<device> <name>mnchrmtr</name> <type>type_tango</type> <module>motor_tango</module> <device>pXX/blenergy/exp.01</device> <control>tango</control> <hostname>haso107XX:10000</hostname> </device>
As in this example, a Tango motor is well suited to provide a handle to monochromators. Features that do not fit into the minimal interface can be handled by a beamline-specific-code widget (BLSC) which refers to other attributes or commands directly. An example can be found in the TkI manual in the BLSC chapter: Lom.
The attributes positionSim and resultSim make it applicable for compound devices also. More details can be found below.
pogo_html_docu/TangoMotor/index.html See pogo generated info for more details.