User`s guide

Function Library 97
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 95/NT)
U16 set_manu_iptmode(I16 axis, I16 ipt_mode, I16
op_mode)
U16 manu_move(I16 axis, F64 mvel)
Visual Basic (Windows 95/NT)
set_manu_iptmode (ByVal axis As Long, ByVal
manu_iptmode As Long, ByVal op_mode As Long) As
Integer
manu_move (ByVal axis As Long, ByVal max_vel As
Double) As Integer
@ Argument
axis: axis number designated to start manual move
ipt_mode: setting of manual pulser input mode from PA and PB pins
ipt_mode=0, 1X AB phase type pulse input.
ipt_mode=1, 2X AB phase type pulse input.
ipt_mode=2, 4X AB phase type pulse input.
ipt_mode=3, CW/CCW type pulse input.
op_mode: common or independent mode selection
op_mode=0, Independent for each axis
op_mode=1,PAX, PBX common for PAY, PBY
or PAZ, PBZ common for PAU, PBU.
mvel: limitation for maximum velocity
@ Return Code
ERR_NoError