*SetMotionIC() - single motion
Sets the initial conditions of a motion.
Syntax
*SetMotionIC(motion_name, ic_disp, ic_vel)
*Set(motion_name.use_local_dll, TRUE|FALSE)
*Set(motion.local_dll, "string")
Arguments
- motion_name
- The variable name of an existing motion.
- ic_disp
- The initial displacement of the motion.
- ic_vel
- The initial velocity of the motion.
- motion_name.use_local_dll
- Specifies if a user subroutine DLL is specific to the instance of one coupler entity.
- motion_name.local_dll
- The path and filename for the user subroutine DLL to be used with an instance of the user defined coupler.
Example
*SetMotionIC(rack_mnt, 5, 1)
Context
Comments
The initial conditions for motions are required only if the applied motion is of type velocity or acceleration.
ic_disp is required if applied motion is of type velocity.
ic_disp and ic_vel are required if motion is of type acceleration.