|
19 Device Commands
|
|
Name
|
Inherited
|
Concrete
|
Input type
|
Output type
|
Level
|
Description
|
| State |
true |
true |
Tango::DEV_VOID |
Tango::DEV_STATE |
OPERATOR |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
| Status |
true |
true |
Tango::DEV_VOID |
Tango::CONST_DEV_STRING |
OPERATOR |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
| CompleteMove |
false |
true |
Tango::DEV_VOID |
Tango::DEV_LONG |
OPERATOR |
It no action |
| SetupUnitMove |
false |
true |
Tango::DEV_DOUBLE |
Tango::DEV_LONG |
OPERATOR |
prepares a move, calulates the new step position from the argument, the calibration value
and the conversion factor, takes backlash into account, sets FlagMotorReady |
| StartMove |
false |
true |
Tango::DEV_VOID |
Tango::DEV_LONG |
OPERATOR |
a motor with FlagMotorReady == 1 is started, the function returns immediately,
Better: move a motor by writing to Position attribute |
| StopMove |
false |
true |
Tango::DEV_VOID |
Tango::DEV_LONG |
OPERATOR |
stop a movement, return immediately, don't wait for de-acceleation, don't do backlash |
| Move |
false |
true |
Tango::DEV_DOUBLE |
Tango::DEV_LONG |
OPERATOR |
Setup motor, start move, complete move.
Better: move a motor by writing to the 'Position' attribute |
| ResetMotor |
false |
true |
Tango::DEV_VOID |
Tango::DEV_LONG |
OPERATOR |
Sets and clears the 'Reinitialisierung'-Bit |
| Calibrate |
false |
true |
Tango::DEV_DOUBLE |
Tango::DEV_LONG |
OPERATOR |
Calibrate the motor: current position is calibrated to be the value given as an argument,
changes the home position |
| UserCalibrate |
false |
true |
Tango::DEV_DOUBLE |
Tango::DEV_LONG |
OPERATOR |
Uses an user calibration for calibrating the motor keeping the general one. |
| CheckMove |
false |
true |
Tango::DEV_VOID |
Tango::DEV_LONG |
OPERATOR |
returns MOVING or ON |
| GetStepPosition |
false |
true |
Tango::DEV_VOID |
Tango::DEV_LONG |
OPERATOR |
|
| MoveHome |
false |
true |
Tango::DEV_VOID |
Tango::DEV_VOID |
OPERATOR |
Start the homing procedure |
| ClearError |
false |
true |
Tango::DEV_VOID |
Tango::DEV_VOID |
OPERATOR |
resets the errors |
| SaveEncoderOffset |
false |
true |
Tango::DEV_VOID |
Tango::DEV_VOID |
OPERATOR |
saves the encoder offset |
| LoadEncoderOffset |
false |
true |
Tango::DEV_VOID |
Tango::DEV_VOID |
OPERATOR |
loads the encoder offset |
| CalibrateEncoder |
false |
true |
Tango::DEV_DOUBLE |
Tango::DEV_LONG |
OPERATOR |
changes the encoder offset |
| ResetLimitPositions |
false |
true |
Tango::DEV_VOID |
Tango::DEV_VOID |
OPERATOR |
resets the PLC limit positions |
| ClearLimitPositions |
false |
true |
Tango::DEV_VOID |
Tango::DEV_VOID |
OPERATOR |
If limts are hit, the SPS memorized the positions and uses the value as a hardware limit.
This command restores the default hardware limits. |