Manual pulser motion, 12 manual pulser motion – ADLINK PCI-8134A User Manual

Page 104

Advertising
background image

94

Function Library

U16 set_home_config(I16 axis, I16 home_mode, I16

org_logic, I16 org_latch, I16 EZ_logic)

U16 home_move(I16 axis, F64 svel, F64 mvel, F64 accel)

Visual Basic (Windows)

set_home_config (ByVal axis As Long, ByVal home_mode

As Long, ByVal org_logic As Long, ByVal org_latch
As Long, ByVal EZ_logic As Long) As Integer

home_move (ByVal axis As Long, ByVal str_vel As Double,

ByVal max_vel As Double, ByVal accel As Double) As
Integer

@ Argument

axis: axis number designated to configure and perform home returning
home_mode: stopping modes for home return.

home_mode=0, ORG active only.

home_mode=1, ORG active and then EZ active to stop.

home_mode=2, ORG active and then EZ active slow down to stop.
home_mode=3~7, please refer to the appendix A

org_logic: Action logic configuration for ORG signal

org_logic=0, active low; org_logic=1, active high

org_latch: Latch state control for ORG signal

org_latch=0, don’t latch input; org_latch=1, latch input.

EZ_logic: Action logic configuration for EZ signal

EZ_logic=0, active low; EZ_logic=1, active high.

@ Return Code

ERR_NoError

6.12

Manual Pulser Motion

@ Name

set_manu_iptmode – Set pulser input mode and operation mode
manu_move – Begin a manual pulser movement

@ Description

set_manu_iptmode:

Four types of pulse input modes can be available for pulser or hand
wheel. User can also move two axes simultaneously with one pulser by
selecting the operation mode to common mode. Or move the axes
independently by selecting the operation mode to independent mode.

manu_move:

Begin to move the axis according to manual pulser input as this command
is written. The maximum moving velocity is limited by mvel parameter.
Not until the v_stop() command is written won’t system end the manual
move mode.

@ Syntax

C/C++ (DOS, Windows)

U16 set_manu_iptmode(I16 axis, I16 ipt_mode, I16

op_mode)

Advertising