Reference

Components
Phidgets Stepper Controller
Description
This primitive allows you to interface to the two Phidgets Stepper Controller boards (both 1 motor bipolar and 4 motor unipolar).
Once you have the board connected to your PC you need to start the component by sending a trigger to the first input. The 'On' output will
return True if a connection has been established (False otherwise).
If you have multiple boards connected to your PC then you should provide the unique serial number of the board you want to connect to at
the 'Conn' (connection string) input. If you want to connect to a device on a remote server provide the device serial, IP and port or server
name and also a password if necessary separated by commas. Use -1 as the serial if you want to connect to the first device found.
Example connection strings:
“196491” or “635824,myserver” or “-1,myserver,password” or “142567,192.168.1.1,800,password”
Specify the index of the motor you want to control using the Motor input. This should be a value from 0 to 3 depending on the board. You can
set the target position for the motor as well as velocity and acceleration using the Pos, Vel and Accel inputs.
The Curr input sets the current and so allows you to control torque. If the board has digital inputs then the status of these is reflected by the
four boolean outputs labeled 0-3.
The Zero input will zero the position counter thus making the current motor position the initial reference point.
326 of 494