Galil DMC-3425 Manual De Usuario
DMC-3425
Chapter 7 Application Programming
• 111
VP 0,3000
Vector Position
‘ TOP LINE
Comment - No Operation
CR 1500,90,-180
Circle
‘ HALF CIRCLE MOTION
Comment - No Operation
VE Vector
End
‘ END VECTOR SEQUENCE
Comment - No Operation
BGS Begin
Sequence
‘ BEGIN SEQUENCE MOTION
Comment - No Operation
EN
End of Program
‘ END OF PROGRAM
Comment - No Operation
NOTE: NO and the apostrophe are controller commands. Therefore, inclusion of these commands
will require a small process time by the controller.
will require a small process time by the controller.
REM Command
If you are using Galil software to communicate with the DMC-3425 controller, you may also include
REM statements. ‘REM’ statements begin with the word ‘REM’ and may be followed by any
comments that are on the same line. The Galil terminal software will remove these statements when
the program is downloaded to the controller. For example:
REM statements. ‘REM’ statements begin with the word ‘REM’ and may be followed by any
comments that are on the same line. The Galil terminal software will remove these statements when
the program is downloaded to the controller. For example:
#PATH
REM 2-D CIRCULAR PATH
VMAB
REM VECTOR MOTION ON A AND B
VS 10000
REM VECTOR SPEED IS 10000
VP -4000,0
REM BOTTOM LINE
CR 1500,270,-180
REM HALF CIRCLE MOTION
VP 0,3000
REM TOP LINE
CR 1500,90,-180
REM HALF CIRCLE MOTION
VE
REM END VECTOR SEQUENCE
BGS
REM BEGIN SEQUENCE MOTION
EN
REM END OF PROGRAM
REM 2-D CIRCULAR PATH
VMAB
REM VECTOR MOTION ON A AND B
VS 10000
REM VECTOR SPEED IS 10000
VP -4000,0
REM BOTTOM LINE
CR 1500,270,-180
REM HALF CIRCLE MOTION
VP 0,3000
REM TOP LINE
CR 1500,90,-180
REM HALF CIRCLE MOTION
VE
REM END VECTOR SEQUENCE
BGS
REM BEGIN SEQUENCE MOTION
EN
REM END OF PROGRAM
These REM statements will be removed when this program is downloaded to the controller.
Executing Programs - Multitasking
The DMC-3425 can run 2 independent programs simultaneously. These programs are called threads
and are numbered 0 and 1, where 0 is the main thread. Multitasking is useful for executing independent
operations such as PLC functions that occur independently of motion.
and are numbered 0 and 1, where 0 is the main thread. Multitasking is useful for executing independent
operations such as PLC functions that occur independently of motion.