Our C++ Sample Apps:
- AbsoluteMotion.cpp - Move a single axis in trapezoidal profile to an absolute distance.
- AxisSettling.cpp - Set the settling time of an axis.
- AxisStatus.cpp - Check your axis or multiaxis status.
- Camming.cpp - Master-slave coordinated motion.
- ConfigAmpFault.cpp - Configure the amp fault input for a motor.
- ControllerInterrupts.cpp - Report all interrupts (from all sources) received by the MotionController.
- CustomEtherCATHome.cpp - Homing code which uses an EtherCAT input as its home switch, instead of the default drive home switch input.
- CustomHome.cpp - Homing routine that captures the hardware position, sets the originand then moves back to home.
- DedicatedIO.cpp - This application demonstrates how to access Dedicated IO.
- ErrorLog.cpp - How to turn off RSI exceptions and use error logs instead.
- Gantry.cpp - Configure a gantry which has two motors, two encoders.
- FeedRate.cpp - Change the speed of your motion without changing the state of your axis or affecting the move.
- FinalVelocity.cpp - Continue moving at a specified final velocity.
- Gearing.cpp - Configure an axis' commanded position to be geared off of another axis.
- HomeToNegativeLimit.cpp - Learn how to home your system.
- HomingWithAKDdrive.cpp - Learn how to drive-based home your AKD drive.
- HardwareLimits.cpp - Configure positive and negative hardware limit inputs.
- HelperFunctions.h - Take a look at our helper classes that are used in every sample app.
- Home.cpp - Performs a simple homing routine that triggers home off an input pulse, captures the hardware position, sets the origin, and then moves back to the home/origin position.
- IOwithAKD.cpp - Learn how to use the digital inputs and outputs with and AKD drive.
- Memory.cpp - An example of how to get/set controller memory.
- MotionHoldReleasedByDigitalInput.cpp - Set a motion HOLD and released the HOLD based on a Digital Input signal.
- MotionHoldReleasedByPosition.cpp - Set a motion HOLD and released the HOLD based on an axis Position value.
- MotionHoldReleasedBySoftwareAddress.cpp - Set a motion HOLD and released the HOLD based on a Software Address value.
- MultiaxisMotion.cpp - Map two axis together using the MultiAxis class and move them in a synchronized motion.
- PathMotion.cpp - Command a two axis path motion.
- PhantomAxis.cpp - Create an virtual axis.
- PointToPointMultiaxisMotion.cpp - Start controlling multiple axes together.
- PTmotion.cpp - Command motion specifying only position and time.
- PTmotionWhileStopping.cpp - Resume or Discard PT Streamed Motion after a stopping action (stop, estop, or abort).
- PVTmotion.cpp - Command motion specifying only position, velocity, and time.
- PVTmotionMultiAxis.cpp - Demonstrate two axis drawing QuadCircle using PVT.
- Recorder.cpp - A data recorder example. Record multiple parameters at cpu's sample rate.
- RelativeMotion.cpp - Performs a relative point to point trapezoidal profile motion.
- SCurveMotion.cpp - Motion with smoother acceleration transitions.
- SettleCriteria.cpp - Configure axis settling criteria.
- SetUserUnits.cpp - Set counts per unit. (aka: user units)
- SingleAxisSyncOutputs.cpp - Change the state of a digital output(s) at a precise moment in an axis' streaming motion.
- StopRate.cpp - Set the deceleration time for RSIActionSTOP and RSIActionE_STOP.
- StreamingMotionBufferManagement.cpp - Show how you might manage Streaming Motion.
- SyncInterrupt.cpp - Use a periodic interrupt from the controller. (Requires RTOS)
- SyncOutputWithMotion.cpp - Synchronize setting outputs with motion element ID's.
- Template.cpp - Demonstrates object initilization and acts as a new application templet.
- UpdateBufferPoints.cpp - Stream motion with the ability to keep track of what has been executed in the buffer.
- UserLimitDigitalInputAction.cpp - Configure an axis' User Limit to perform an error action, when an input bit is triggered.
- UserLimitDigitalInputOneCondition.cpp - Configure an axis' User Limit to set a digital output when an input bit is triggered.
- UserLimitDigitalInputTwoCondition.cpp - Configure an axis' User Limit to set a digital output when two input bits are triggered.
- UserLimitGainChangeBasedOnPosition.cpp - Configure an axis' User Limit to track Actual Position and change the Proportional Gain(Kp) when position is reached.
- UserLimitPositionOneCondition.cpp - Configure an axis' User Limit to set a digital output when tregger position is reached.
- UserLimitStateAction.cpp - Configure an axis' User Limit to perform an error action, when another axis' status changes.
- VelocitySetByAnalogInputValue.cpp - Change your motion's velocity by changing your anolog input value.