3 org, 4 svon and rdy, Svon and rdy – ADLINK PCI-8134A User Manual

Page 67

Advertising
background image

Operations

57

You can use either 'a' contact switch or 'b' contact switch by setting the dip
switch S1. The PCI-8134/PCI-8134A is delivered from the factory with all
bits of S1 set to OFF.

The signal status can be monitored by software function: get_io_status().

4.3.3

ORG

When the motion controller is operated at the home return mode, the ORG
signal is used to stop the control output signals (OUT and DIR).

There are three home return modes, you can select one of them by setting
home_mode” argument in software function: set_home_config(). Note that
if home_mode=1 or 2, the ORG signal must be ON or latched during the EZ
signal is inserted (EZ=0). The logic polarity of the ORG signal, level input or
latched input mode are selectable by software function: set_home_config().

After setting the configuration of home return mode by set_home_config(),
a home_move() command can perform the home return function.

The ORG signal can also generate IRQ signal by setting the bit 5 of
interrupt reason register (or INT. factor) in software function:
set_int_factor().

4.3.4

SVON and RDY

The SVON signals are controlled by software function: _8134_Set_SVON().
The function set the logic of SVON signal. The signal status of SVON pins
can be monitored by software function: get_io_status().

RDY pins are dedicated for digital input use The status of this signal can be
monitored by software function get_io_status(). The RDY signal can also
generate IRQ signal by setting the bit 23 of INT. factor in software function:
set_int_factor(). Note that interrupt is generated when RDY signal from
high to low.

The PCI-8134A supports neither RDY signal connection nor interrupt
function.

Advertising