Digital Outputs

For outputs, the SB and CB commands are used to command individual output ports, while the OP command is used for setting bytes of data. The SB and CB commands may be set globally through the master, while the OP command must be sent to the slave using the SA command.

Outputs may be set globally according to the following numbering scheme: Bitnum = (Slave Handle *

100) + Output Bit. For example:

Set Bit 2 on a UDP distributed slave using the E handle for communication. The E handle would have a numerical value of 500, plus the bit number of 2. The command would therefore become SB502.

Specific outputs in a distributed system may be read by using the @OUT[n] function, where n is the corresponding bit number as defined above.

Output bits on an IOC-7007 may also be set through the master controller in a distributed network. Please refer to the IOC-7007 Manual for information on setting and reading these I/O points.

Digital Inputs

Digital inputs may be addressed individually using the @IN[n] function, or in blocks using the TI command. Both of these commands may be sent globally to the controller. The ‘n’ in the @IN[n] function operates identically to the SB/CB syntax. This means that a specific input bit is referenced as the slave handle number * 100 plus the input bit. For example:

Read input bit 4 on a TCP/IP distributed slave using the C handle for communication. The C handle in this case would give a value of 300. Therefore, to read bit 4, the command would be MG@IN[304]. The MG in this case simply displays this data to the terminal.

The TI command may be used to read all inputs on a slave in blocks of 8. This is helpful if the slave controller in question has a DB-14064 expanded I/O daughter card. The TI command uses the slave handle number * 100 plus the block number to be read. The block number is only used if the controller has the DB-14064 expansion option.

Inputs on an IOC-7007 may also be read through the master controller in a distributed network. Please refer to the IOC-7007 Manual for information on setting and reading these points.

Analog Inputs

Each DMC-3425 controller has two 12-bit analog inputs. These inputs are read with the command @AN[n], where n is the input to be read. The master controller has n = 1 and 2, the first slave controller uses n = 3 and 4, etc.

Handling Communication Errors

A new automatic subroutine which is identified by the label #TCPERR, has been added. If a controller has an application program running and the TCP or UDP communication is lost, the #TCPERR routine will automatically execute. The #TCPERR routine should be ended with a RE command. In the UDP configuration, the QW commands must be active in order for the #TCPERR routine on the master to operate properly.

Multicasting

A multicast may only be used in UDP and is similar to a broadcast, (where everyone on the network gets the information) but specific to a group. In other words, all devices within a specified group will receive the information that is sent in a multicast. There can be many multicast groups on a network and are differentiated by their multicast IP address. To communicate with all the devices in a specific multicast group, the information can be sent to the multicast IP address rather than to each individual device IP address. All Galil controllers belong to a default multicast address of 239.255.19.56. The controller's multicast IP address can be changed by using the IA> u command.

48 • Chapter 4 Communication

DMC-3425

Page 56
Image 56
Galil DMC-3425 user manual Handling Communication Errors, Multicasting, Digital Outputs, Digital Inputs, Analog Inputs

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.