IOC-7007 (1) – 10.10.50.26

Automatic Configuration Example

The example below shows a typical setup file for the DMC-3425 distributed control system using the automatic configuration. This example is for a UDP system, with one handle used per slave. The IP addresses of the slaves are unassigned, as this is the simplest way for the slave controllers to be configured. The IP address of the master needs to have been assigned as described in Step 5 “Establishing Communication between the DMC-3425 and the host PC”. The HC command will automatically assign those IP addresses based on the axis jumper settings described in Chapter 2.

Instruction

Interpretation

#SETUP

Begin Program

HC=6,20,1,0

Automatic configuration for a 6 axis UDP system with 20 msec

 

update rate. The final 0 indicates no IOC-7007 Ethernet I/O

 

modules in the system.

#LOOP; JP#LOOP,_HC=1

Wait while automatic configuration operates. This could take

 

up to 10+ seconds.

IF (_HC=0)

Test for HC success. 0 = failed while 2 = success.

MG”CONFIGURATION FAILED”

 

ELSE

 

MG”CONFIG SUCCESS”

 

ENDIF

 

EN

 

Manual Configuration of Distributed Control

For the manual configuration of distributed control, each 3425 must be assigned an IP address. This can be done with the BOOTP procedure in the Galil software or the IA command can be used to assign the IP address through the serial port. Once the IP address has been assigned, a BN command should be issued to save this value in the controller’s non-volatile memory. Since all configuration is done manually in this method, there is no limit for the IP address of each slave in the system.

Upon power-up or reset, the master 3425 must establish each slave connection. The following steps must be taken while connected to the master 3425:

1.Using the IH command, open handles for each slave. For a TCP/IP connection, each slave controller must have 2 open handles, one for commands from the master, the other for data returned from the slave (QW). The second internet handle for each slave controller must contain a specific port value. The value must be an even number greater than 502. For a UDP connection, a slave controller can use a single handle for both commands from the master as well as data returned from the slave. The command for opening the communication handle is:

IHh=ip0,ip1,ip2,ip3<p>n h is the handle. ip is the slave IP address. <p specifies port number. >n specifies connection type, 1 for UDP or 2 for TCP/IP.

2.Set the total number of axes in the system with the NA command. For example, assume there are 2 DMC-3425 slave cards, therefore there will be 6 axes (2 in the master and 4 in the slaves) and the command would be NA6.

3.Connect each slave handle to the master. This is accomplished with the CH command. The format of this command is:

CHa=h1,h2 where a is the first axis designator of the slave controller, h1 is the handle for commands and h2 is the handle for slave status. h1 may equal h2 in a UDP setup.

30 • Chapter 2 Getting Started

DMC-3425

Page 38
Image 38
Galil DMC-3425 Instruction Interpretation, Manual Configuration of Distributed Control, #Setup, #LOOP JP#LOOP,HC=1

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.