Download Start-up Guide

Transcript
D-2 Example Programs
VisualMotion 6.0
Program Instructions
Before the main sequencer program is created, all corresponding
subroutines must first be created. A sequencer is a series of subroutines
that are called up in a particular order to produce a process.
Using VisualMotion toolkit's icon programming environment, create the
following four subroutines:
MOVE_ABS subroutine
Subroutine Name
Usage
MOVE_ABS
Moves the programmed axis to a programmed
absolute distance.
SET_IO
Sets an I/O bit on and off to emulate the function of
a gripper.
COUNT
Cycle counts in increments of one for every
complete cycle of the sequencer.
WAIT
Creates a delay in milliseconds after each absolute
move.
1. Select Edit ⇒ Add Subroutine to create the MOVE_ABS subroutine.
2. Name the subroutine MOVE_ABS and click on OK. This will open a
new programming window with a Start and a Finish icon.
3. Create the subroutine illustrated below according to the selections and
values given in their corresponding dialog boxes. Refer to Program
Layout - Function / Subroutine - MOVE_ABS, Figure D-2.
4. When done, return to Task A by selecting View ⇒ Task A.
DOK-VISMOT-VM*-06VRS**-PR02-AE-P • 09/99