SP 5000

Set speed

BGA

Start motion

AD 4000

Wait until A moved 4000

TPA

Tell position

EN

End program

To start the program, command:

XQ #B

Execute Program #B

Example 12 - Control Variables

Objective: To show how control variables may be utilized.

Instruction

Interpretation

#A;DP0

Label; Define current position as zero

PR 4000

Initial position

SP 2000

Set speed

BGA

Move

AMA

Wait until move is complete

WT 500

Wait 500 ms

#B

 

V1 = _TP

Determine distance to zero

PR –V1/2

Command move 1/2 the distance

BGA

Start motion

AMA

After motion

WT 500

Wait 500 ms

V1=

Report the value of V1

JP #C, V1=0

Exit if position=0

JP #B

Repeat otherwise

#C;EN

End

To start the program, command

XQ #A

Execute Program #A

This program moves the motor to an initial position of 4000 and returns it to zero on increments of half the distance. Note, _TP is an internal variable that returns the value of the position. Internal variables may be created by preceding a DMC-3425 instruction with an underscore, _.

Example 13 - Control Variables and Offset

Objective: Illustrate the use of variables in iterative loops and use of multiple instructions on one line.

Instruction

Interpretation

#A

Set initial values

KI0

 

DP0

 

V1=8; V2=0

Initializing variables to be used by program

#B

Program label #B

OF V1

Set offset value

WT 200

Wait 200 msec

DMC-3425

Chapter 2 Getting Started35

Page 43
Image 43
Galil DMC-3425 user manual Example 12 Control Variables, Example 13 Control Variables and Offset

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.