ADLINK PCI-8134A User Manual
Page 129

Additional Function Library
• 119
_8134_set_org_offset – Set ORG signal’s range 
_8134_set_org_logic – Set ORG logic 
_8134_set_bounce_filter – Set a bounce filter for homing 
_8134_set_org_latch – Enable/diable ORG latch function 
@ Description
_8134_set_home_config:
Configure the logic of origin switch and index signal needed for 
home_move() function. If you need to stop the axis after EZ signal is 
active(home_mode=1 or 2), you should keep placing ORG signal in 
the ON status until the axis stop. If the pulse width of ORG signal is 
too short to keep it at ON status till EZ goes ON, you should select 
the org_latch as enable. The latched condition is cancelled by the 
next start or by disabling the org_latch. Three home return modes 
are available. Refer to Chapter4.1.5 for the setting of home_mode 
control. 
_8134_home_move:
This function will cause the axis to perform a home return move 
according to the setting of _8134_set_home_config() function. The 
direction of moving is determined by the sign of velocity 
parameter(svel, mvel). Since the stopping condition of this function 
is determined by home_mode setting, user should take care to 
select the initial moving direction. Or user should take care to handle 
the condition when limit switch is touched or other conditions that is 
possible causing the axis to stop. Executing stop function during 
home_move() can also cause the axis to stop. 
_8134_set_org_offset:
This function is used for setting the ORG length. This parameter is 
active when using home mode 4~7. It will escape ORG during some 
phases. Please refer to Appendix A. 
_8134_set_org_logic:
This function is used for setting the ORG logic. Make sure the ORG 
logic is correct before homing. 
_8134_set_bounce_filter:
This function is used for extend the ORG checking time to prevent 
mechanical input device’s bouncing problem. This parameter is only 
useful on home mode 4~7. The meaning of the parameter is the 
times of I/O checking. 
_8134_set_org_latch:
This function is used for enable and disable ORG latch function.
@ Syntax
C/C++ (DOS, Windows)
I16 _8134_set_home_config(I16 axis, I16 home_mode, I16
org_logic, I16 ez_logic, I16 ez_count, I16 erc_out)
I16 _8134_home_move(I16 axis, F64 svel, F64 mvel, F64 accel) 
I16 _8134_set_org_offset(I16 axis, I16 org_latch) 
I16 _8134_set_org_logic(I16 axis, I16 org_logic) 
I16 _8134_set_bounce_filter(I16 axis, I16 b_value) 
