Example 9 - Motion Programs

Motion programs may be edited and stored in the memory. They may be executed at a later time. The instruction

ED

Edit mode

moves the operation to the editor mode where the program may be written and edited. For example, in response to the first ED command, the Galil Windows software will open a simple editor window. From this window, the user can type in the following program:

#A

Define label

PR 700

Distance

SP 2000

Speed

BGA

Start motion

EN

End program

This program can be downloaded to the controller by selecting the File menu option download. Once this is done, close the editor.

Now the program may be executed with the command

XQ #A

Start the program running

Example 10 - Motion Programs with Loops

Motion programs may include conditional jumps as shown below.

Instruction

Interpretation

#A

Label

DP 0

Define current position as zero

V1=1000

Set initial value of V1

#Loop

Label for loop

PA V1

Move motor V1 counts

BGA

Start motion

AMA

After motion is complete

WT 500

Wait 500 ms

TPA

Tell position

V1=V1+1000

Increase the value of V1

JP #Loop,V1<10001

Repeat if V1<10001

EN

End

After the above program is entered, download the program from the File menu and exit the Editor. To start the motion, command:

XQ #A

Execute Program #A

Example 11- Motion Programs with Trippoints

The motion programs may include trippoints as shown below.

Instruction

Interpretation

#B

Label

DP0

Define initial position

PR 30000

Set target

34 • Chapter 2 Getting Started

DMC-3425

Page 42
Image 42
Galil DMC-3425 user manual Example 9 Motion Programs, Example 10 Motion Programs with Loops

DMC-3425 specifications

The Galil DMC-3425 is a sophisticated motion controller known for its versatility and high performance in various industrial applications. Designed primarily for multi-axis control, it is well-suited for robotics, CNC machinery, and automated manufacturing systems.

One of the standout features of the DMC-3425 is its ability to control up to 32 axes simultaneously, providing unparalleled flexibility for complex motion tasks. This capability is enhanced by its advanced motion algorithms that ensure smooth and precise movements, essential for high-quality manufacturing and assembly processes. The controller supports a variety of motor types, including servo, stepper, and brushless motors, making it compatible with a wide range of existing equipment.

In terms of connectivity, the DMC-3425 offers an extensive selection of communication options. It supports Ethernet, RS-232, and RS-485 interfaces, allowing for seamless integration with various industrial networks, including EtherCAT and CANopen. This connectivity is vital for real-time data exchange and remote monitoring, enhancing overall system efficiency.

The controller is powered by Galil's innovative software architecture, which includes the DMC programming language. This user-friendly language enables engineers to create complex motion profiles easily, with support for trajectory generation, coordinate transformations, and PID control. The DMC-3425 also features built-in commands for motion profiling, including linear and circular interpolation, allowing for sophisticated path planning.

Moreover, the DMC-3425 comes equipped with an integrated programming environment that facilitates rapid application development. Users can simulate motion profiles before implementation, reducing downtime and minimizing errors. This environment is designed for quick learning, making it accessible even for those new to motion control.

Additionally, the Galil DMC-3425 features a robust safety architecture. It includes over-temperature detection, emergency stop inputs, and configurable limits for position and speed, ensuring safe operation in various environments.

Overall, the Galil DMC-3425 is a powerful and flexible motion controller that combines advanced technologies with user-friendly design. Its ability to handle multiple axes, extensive connectivity options, and comprehensive programming environment make it a top choice for manufacturers seeking to enhance automation and improve productivity in their operations.