An essential part of a machine is to jog the machine in various directions using constant or varying speed (based on how much the Joystick lever is pressed).
Instead of relying on RSI’s software tool, a user might want to incorporate a physical joystick to their machine for ease of use. Below you can find a sample application that allows a user to feed in signal into an Analog Input and based on the value, control the direction and speed of an axis.
Our sample app (below) incorporates a Beckhoff Analog Input module. However a user can use another Analog Input hardware to bring data into EtherCAT network. Some servo drives have Analog Inputs that can used for this functionality.
By using our RapidCode API and the Microsoft.Xna.Framework you can command axes motion with an xbox controller (we use a xbox 360 controller).
What do you need:
Once you have the controller connected to your PC all you have to do is open RapidSetup > Tools > Xbox 360 Controller Jogging. Then attach the controller thumb-sticks to a desired axis number.
Make sure your user units are set, your axes are enabled, and your axes` limits and actions such as Position Error is set.