EasyManua.ls Logo

VELMEX VXM-1 - Examples

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...
27
26
Examples
The "<cr>" is a carriage return character ( <Enter> key on most keyboards). Command
characters are in a rectangle like this:
C I3M400<cr> C I3M400<cr>
E E
I1M400,R I1M400,R
I2M-600,R I2M-600,R
I1M400<cr>
R
I1M400<cr>
R
I2M-600<cr>
R
I2M-600<cr>
R
®
start end
®
start end
¬
end start
A diagram of the resultant motion of a screw driven linear actuator is included showing
start/end points, direction and commands. A letter over a point on the diagram represents
the function occurring at that point. A “P” is a pause command, “U” user I/O command,
and a “Z” is a motor 3 Index. Numbers shown in the diagrams represent Loop count
values.
The following examples can be keyed into the VXM with a terminal program like
HyperTerminal in Microsoft Windows, or the Velmex COSMOS software. Another method
to send commands is with commercially available languages such as VisualBASIC, C,
LabVIEW, etc.
Example #1
Example #2
Example #4
Motors run
Motors run
Motors run
RAM used
RAM used
RAM used
Function
Function
Function
On-Line
Index
Index
-
-
Enable On-Line mode with echo on
Incremental Index Motor #1 400 steps
(1 rev.) CW
Incremental Index Motor #2 600 steps
CCW
1
1
4
4
or
or
Example diagram:
C C
Example #3
Motors run RAM used
Function
Clear
-
-
Clear all commands from current program
I1M800,I-800,R I1M800,I-800,R
I1M800<cr>
I1M-800<cr>
R
I1M800<cr>
I1M-800<cr>
R
Example #5
Motors run RAM used
Function
Auto-Reverse
Index Motor #1 both directions
1
8
or
end
start
®
¬
P10,I1M400,L10,I1M-3600,R P10,I1M400,L10,I1M-3600,R
Example #6
Motors run RAM used
Function
Repeating Index
Repeating Index pausing 1 second
between Indexes, return to start
1
14
end
end
start
®
¬
1 2 3 4 5 6 7 8 9 10
P P P P P P P P P P
S1M600,I1M0,I1M-200,IA1M-0,R S1M600,I1M0,I1M-200,IA1M-0,R
Example #7
Motors run RAM used
Function
Home to Limit
1
15
start
®
¬
Home Motor 1 to Positive Limit Switch
and move 200 steps from Limit Switch
and zero position
STOPPED BY
LIMIT SWITCH
CAUTION: Positioning may be unreliable and limit switches may be damaged if speeds
above 1000 steps/second are used for homing.