Chapter 7 Application Programming

Overview

The DMC-3425 provides a powerful programming language that allows users to customize the controller for their particular application. Programs can be downloaded into the DMC-3425 memory freeing the host computer for other tasks. However, the host computer can send commands to the controller at any time, even while a program is being executed. Only ASCII commands can be used for application programming.

In addition to standard motion commands, the DMC-3425 provides commands that allow the DMC- 3425 to make its own decisions. These commands include conditional jumps, event triggers and subroutines. For example, the command JP#LOOP, n<10 causes a jump to the label #LOOP if the variable n is less than 10.

For greater programming flexibility, the DMC-3425 provides user-defined variables, arrays and arithmetic functions. For example, with a cut-to-length operation, the length can be specified as a variable in a program that the operator can change as necessary.

Global vs. Local Programming

As mentioned previously, multiple DMC-3425 controllers can be connected through an Ethernet hub. The DMC-3425 controllers can be setup to operate in 2 modes; LOCAL OPERATION and

GLOBAL OPERATION.

In Local Operation, the host computer can download a program to any DMC-3425 and all program commands refer to the two axes on the controller as A and B. Each controller operates independently. This type of program is referred to as a LOCAL PROGRAM.

In Global Operation, up to eight axes of DMC-3425 and DMC-3415 controllers act as a “virtual multi- axis controller”. One DMC-3425 is designated as the master controller and the other controllers are designated as slave controllers. The host computer can download a program to the master DMC-3425. The master controller program contains commands that address all axes in the system. This GLOBAL PROGAM will operate as if it was a program on a traditional multi-axis controller. In addition, each slave controller can also be programmed with a LOCAL PROGRAM that applies only to the 2 axes of the controller.

The type of program, global program or local program, will affect the command syntax. In a global program, all axes have a unique axis designator (A-H). In a local program, each program addresses only the 2 axes of the controller. These two axes are always referred to as A and B.

The following sections in this chapter discuss each aspect of creating an applications program. Where applicable, subjects are identified as applicable only to LOCAL PROGRAMS with the word LOCAL next to each header.

DMC-3425

Chapter 7 Application Programming107

Page 115
Image 115
Galil DMC-3425 user manual Application Programming, Global vs. Local Programming

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.