
ICPDAS
I-8092F Software User Manual
138
i8092_SET_L
Format:
void
i8092_SET_L(int cardNo,
WORD
axis,
WORD
data)
Function:
The function is setting the deceleration rate (jerk), in a time unit, of S-curve Acc/Dec
motion. The jerk calculation is shown in the following formula:
Jerk (PPS/Sec
2
)
=
(62.5×10
6
/ K)×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 the acceleration rate, it’s range is 1~65535.
Example:
//Set the jerk 625 (PPS/Sec
2
) for the X axis.
i8092_SET_L(1, 0x1, 625);
i8092_SET_PULSE
Format:
void
i8092_SET_PULSE(
unsigned char
cardNo,
WORD
axis,
DWORD
data)
Function:
The function is setting total output pulse numbers in fixed pulse driving. The value is
absolute, unsigned number. The output pulse numbers can be changed during the
driving.
Parameters:
cardNo
is the board number.
axis
is the motion axis code/name, as shows in Table 2-1.
data
is the value of the pulse, it’s range is 0~268435455, other values are invalid.
Example:
//Set the driving pulse number (final point) 10000 for the X axis.
i8092_SET_PULSE(1, 0x1, 10000);
Note:
For K=65535 to 1
When Multiple = 1, 954 PPS/SEC2 ~ 62.5 x 106 PPS/SEC2
When Multiple = 500, 477 x 103 PPS/SEC2 ~ 31.25 109 PPS/SEC2