© Prior Scientific Instruments Ltd Version 1.12 June 2017 Page 59
4.10 OEM Commands
The ProScan supports up to 6 filter wheels. These can be re-configured (by way of a plug
and play resistor) to behave as OEM stepper drives with either normally closed (type 24
resistor, 3K3ohm) or normally open (type 25 resistor, 3K9ohm) limit switches.
The command set is shown below. Step resolution will be dependent on motor type and
whether encoders are fitted. For a non encoded OEM axis typically this will be either
50000 or 100000 steps per revolution of the motor. For an encoded axis this will be
dependent on the nature of the encoder and driven axis.
Returns the fitted status f of axis n (1 to 6):
0 = not fitted
1 = fitted
Returns position X of axis n in steps
Sets position of axis n to x steps
Drives the axis n to the absolute position x.
Sets axis n moving at v steps per second.
Stops motion immediately on axis n.
Reports the motion status m of axis n:
0 = idle
1 = active
Reports the current limit switch state s:
0 = no active limit
1 = +ve limit active
2 = -ve limit active
3 = both limits active.
Returns speed s used in G movements in steps/s.
Sets the speed s used in G movements in steps/s.
Returns acc s used in G movements in steps/s.
Sets acc used in G movements in steps/s/s.