2 el – ADLINK PCI-8164 User Manual

Page 126

Advertising
background image

114

Operation Theory

4.3.2 EL

The end-limit signal is used to stop the control output signals (OUT
and DIR) when the end-limit is active. There are two possible stop
modes: stop immediately and decelerate to StrVel then stop.
To select either mode, use _8164_set_el().
The PEL signal indicates the end-limit in the positive (plus) direc-
tion. MEL signal indicates the end-limit in negative (minus) direc-
tion. When the output pulse signals (OUT and DIR) is towards the
positive direction, the pulse train will immediately stop when the
PEL signal is asserted, where the MEL signal is meaningless, and
vice versa. When the PEL is asserted, only a negative (minus)
direction output pulse can be generated when moving the motor in
a negative (minus) direction.

The EL signal can generate an IRQ if the interrupt service is
enabled. Refer to section 4.7.

You can either use ‘A’ or ‘B’ type contact switches by setting the
S1 dipswitch. The 8164 is delivered from the factory with all bits of
S1 set to ON. The signal status can be monitored using the soft-
ware function _8164_get_io_status().
Relative Functions:

X

_8164_set_el(): Refer to section 6.12

X

_8164_get_io_status(): Refer to section 6.13

Advertising