ICPDAS
I-8092F Software User Manual
135
i8092_SET_SV
Format:
void
i8092_SET_SV(unsigned cardNo,
WORD
axis,
WORD
data)
Function:
This function can set the start speed. If the stop type is slow-down stop, the motion
curve will be decelerating to the start speed and then stop. Set the start speed is SV,
the multiple is M, and then the driving start is:
Driving start speed(PPS)
=
SV×M
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
data
is the value of SV, data range is 1~8000, other values are invalid.
Example:
//Set the start velocity 500 (PPS) for X axis.
i8092_SET_SV(1, 0x1, 500);
i8092_SET_V
Format:
void
i8092_SET_V(
unsigned char
cardNo,
WORD
axis,
WORD
data)
Function:
The function is setting the speed of constant speed period in trapezoidal driving. In
constant speed driving, the drive speed is the initial speed. The drive speed
calculation is shown in the following formula:
Driving Speed(PPS)
=
V×M
Parameters:
cardNo
is the board number.
axis
is the motion axis code, as shows in Table 2-1.
data
is value of acceleration, the range is 1~8000, other values are invalid.
Example:
//
Set the driving velocity 1000 (PPS) for X axis.
i8092_SET_V(1, 0x1, 1000);
Note:
1. If the setting drive speed is lower than the initial speed, the acceleration /
deceleration will not be performed, and the driving is constant speed. During the encoder
Z-phase searching (at a low-peed driving), the user want to perform the sudden stop once
the Z-phase is detected, the drive speed should be set lower than the initial speed. Drive
speed can be altered during the driving. When the drive speed of next constant
speed period is set, the acceleration / deceleration will be performed to reach the
new setting drive speed, then a constant speed driving starts.