ADLINK PCI-8134A User Manual

Page 172

Advertising
background image

Appendix B

164

B.16 Soft-limit Checking

PCI8134.h (8134.lib)

PCI8134a.h (8134a.lib)

U16 set_sw_limit(I16 axisno,F64

p_limit, F64 n_limit);

I16 _8134_set_sw_limit(I16 axisno,F64

p_limit, F64 n_limit);

U16 unset_sw_limit(I16 axisno);

I16 _8134_unset_sw_limit(I16 axisno);

Note:
(1) The input arguments have been changed.
(2) The arguments in motion commands are different from last library. Users

have to pay more attention to the mapping relations. The acceleration
and deceleration arguments in s-curve motion command are changed a
lot. The old ones use Tlacc, Tldec, Tsacc, and Tsdec as input arguments.
However, the motion commands in new library adopt Tacc, SVacc, Tdec,
and SVdec as input arguments.

V

M

SVacc





Vs

T

acc

SVacc

(3) The library name has been changed entirely, but its function is the same

with the old one.

(4) The motion commands in left side are simplified to the ones in the right

side

.

New Functions in PCI8134a.h (8134a.lib)

I16 _8134_set_org_latch(I16 AxisNo, I16 org_latch);

I16 _8134_start_move_all(I16 FirstAxisNo);

I16 _8134_stop_move_all(I16 FirstAxisNo);

I16 _8134_set_sync_option(I16 AxisNo, I16 sync_stop_on, I16

Advertising