EasyManua.ls Logo

VELMEX VXM-1 - The Multifunction User Inputs

VELMEX VXM-1
44 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The Multifunction User Inputs
Appendix C
setI set operating mode of User Inputs. The value for is a number between 0 and
255 that can be derived from the table below.
Example:
This example enables binary selection of programs 0 to 3 with user inputs 2 and
3
getI Get operating mode of User Inputs. The value returned will be a number
between 0 and 255 (see table below.)
x x
* VXM clears these bits automatically
** New feature: Only on VXM firmware
versions 1.21 & up
Also on versions 1.21 an up:
When Input 4 (Stop) is held low (0V)
program will not run.
When Setting Bit 7 See Also
x, y
setI67, setI67,
Program # Input 3 Input 2
0 1 1
1 1 0
2 0 1
3 0 0
1=high (no connection)
0= low (connected to 0V)
The program select feature of inputs 2 and 3 can be used to select programs 0 to 3 for
stand-alone applications. A rotary type binary switch would be attached to inputs 2 and 3
for program selection. Following the program selection, the user would press/ activate the
Run input/button. See truth table below for function of each input.
39
38
Bit
7 6 5 4 3 2 1 0
Decimal
Value
128 64 32 16 8 4 2 1 Decimal
Value
Capture
Motor
Position
on Input
4 trigger
0=disable
(bit 1 will
be 0)
Program
# Select
with
Inputs 2
and 3
0=disable
(bit 2 will
be 0)
Jump to
Program
4 after
Stop
input
(Input 4)
0=disable
Stop (Input
4)
Decel/Hard
stop
1=Hard
stop
0=Decel to
stop
Low valid
time for
Run and
Input 1
1=100usec
0=1ms
Input 3
Interrupt User
Waits and
Jump to
Program 3
enable/disable
0=disable
Stop (Input 4)
enable/disable
0=disable
ËS” is sent **
to host when
enabled, and
Stop input
Run
enable
/disable
0=disable
x
Default 0 0 0 0 0 1 1 1 7
Pgm
Select
on
inputs
2,3
0 1 0 0 0 0* 1 1 67
Record
motor
position
on Input
4
1 0 0 0 0 1 0* 1 133
Joystick
for
motors
3/4
0 0 0 0 0 0 1 1 3
Jump to
program
4 after
Stop
input
0 0 1 0 0 1 1 1 39