move
command is used to move a motor. The motor
may be a scripted device or a real motor.
For scripts running within the scripting engine, the units field may be omitted and the scaled units will be used by default. The scripting engine does not currently know the units of the motor, and moves can only be made in the units described by the scale factor for the motor.
The general format of the command is:
move motorName by|to value units
The units parameter can be
Examples:
Issuing move commands from BLU-ICE:
move gonio_phi to 30 deg
Moves the motor gonio_phi
to a position of 30 degrees.
move gonio_phi by 30 deg
Moves the motor gonio_phi
by 30 degrees from its current positions.
move gonio_phi to 30 unscaled
Moves the motor gonio_phi
by 30 steps.
move energy to 13000.00 eV
move energy to 1.00 A
Issuing move commands from the Scripting Engine:
move gonio_phi by 30 scaled
Moves the motor to 30 degrees, if the scale factor
for gonio_phi
converts steps to degrees.
move energy to 13000.00
The move will be in eV, if the script for energy
reports its value in eV.