42
PCL-832 User's Manual
MCC_jog_c [MEX10.C]
Function
moves at a specified speed
Syntax
int MCC_jog_c(char x, char d,
int s_ratio)
Parameter
x( x = 1, 2, 3 )
:
specifies the axis
d
:
the movement direction
d = +1
CW
d = -1
CCW
s_ratio
:
the movement speed ratio (%)
Return value
0 if successful, other value if not
Note:
The motor will keep on moving at the specified speed until
MCC_motion_hold is executed. To abort the movement, call
MCC_motion_abort.
Motion function return codes
The return codes of the motion functions have the following meaning:
0:
Function successful
-1:
The system queue buffer is full. Call the function again
-2:
An error has occurred. Call MCC_get_errcode to get the error
code, and call MCC_clear_error to clear the error flag
-3:
fspd = 0
Utility functions
MCC_motion_hold [MEX11.C]
Function
holds the current machine curve
Syntax
int MCC_motion_hold()
Return value
0 if successful, other value if not
MCC_motion_abort [MEX10.C]
Function
aborts the motion curve that was held
Syntax
int MCC_motion_abort()
Return value
0 if successful, other value if not
Содержание PCL-832
Страница 1: ...PCL 832 3 axis servo motor control card...
Страница 5: ...Chapter 1 General information 1 C H A P T E R 1 General information...
Страница 9: ...Chapter 1 General information 5 Board layout...
Страница 10: ...6 PCL 832 User s Manual...
Страница 11: ...Chapter 2 Installation 7 2 Installation C H A P T E R...
Страница 18: ...14 PCL 832 User s Manual...
Страница 19: ...Chapter 3 Operation 15 C H A P T E R 3 Operation...
Страница 29: ...Chapter 4 Programming 25 4 P r o g r a m m i n g C H A P T E R...
Страница 52: ...48 PCL 832 User s Manual...
Страница 53: ...Chapter 5 Register structure and format 49 C H A P T E R 5 Register structure and format...
Страница 61: ...Appendix A Calibration 57 A Calibration A P P E N D I X...