NexMotion  1.4.0
Open Robots & Machines [WIP]
Group_Jog_Motion_ACS

Group Axis Jog Motion Function. More...

Collaboration diagram for Group_Jog_Motion_ACS:

Functions

RTN_ERR FNTYPE NMC_GroupJogAcs (I32_T DevID, I32_T GroupIndex, I32_T GroupAxisIndex, I32_T Dir, _opt_null_ const F64_T *PAcsMaxVel)
 Enable the JOG motion for a group axis in the axis coordinate system (ACS). More...
 

Detailed Description

Group Axis Jog Motion Function.

(Axis Coordinate System)

Function Documentation

RTN_ERR FNTYPE NMC_GroupJogAcs ( I32_T  DevID,
I32_T  GroupIndex,
I32_T  GroupAxisIndex,
I32_T  Dir,
_opt_null_ const F64_T PAcsMaxVel 
)

Enable the JOG motion for a group axis in the axis coordinate system (ACS).

The default maximum velocity will refer to the value in the input parameters. If required, the maximum velocity can be set in the API, and the specified value will be stored in the corresponding parameters automatically.

Parameters
DevIDDevice ID (DevID)
GroupIndexGroup index
GroupAxisIndexGroup axis index
DirRotation direction
PAcsMaxVelA pointer variable which can specify the maximum velocity. Input NULL (0) to igore the parameter.
Returns
Return an error code.
If the function is called successfully, the return value is ERR_NEXMOTION_SUCCESS (0). Otherwise, the return value is an error code. All error codes are defined in the header file, NexMotionError.h.

Usage:

Examples:

I32_T devID = 0;
I32_T groupIndex = 0;
I32_T groupAxisIndex = 2;
I32_T dir =1;
RTN_ERR ret = 0;
ret = NMC_GroupJogAcs( devID, groupIndex, groupAxisIndex, dir, NULL );
if( ret != 0 ) return ret;

Reference:
None.