BOTTOM LINE CR 1500,270,-180

HALF CIRCLE MOTION VP 0,3000

TOP LINE

CR 1500,90,-180

HALF CIRCLE MOTION VE

END VECTOR SEQUENCE BGS

BEGIN SEQUENCE MOTION EN

END OF PROGRAM

Note: The NO command is an actual controller command. Therefore, inclusion of the NO commands will require process time by the controller.

Executing Programs - Multitasking

The DMC-1700/1800 can run up to 8 independent programs simultaneously. These programs are called threads and are numbered 0 through 7, where 0 is the main thread. Multitasking is useful for executing independent operations such as PLC functions that occur independently of motion.

The main thread differs from the others in the following ways:

1.Only the main thread, thread 0, may use the input command, IN.

2.When input interrupts are implemented for limit switches, position errors or command errors, the subroutines are executed as thread 0.

To begin execution of the various programs, use the following instruction:

XQ #A, n

Where n indicates the thread number. To halt the execution of any thread, use the instruction

HX n

where n is the thread number.

Note that both the XQ and HX commands can be performed by an executing program. The example below produces a waveform on Output 1 independent of a move.

#TASK1

Task1 label

AT0

Initialize reference time

CB1

Clear Output 1

#LOOP1

Loop1 label

AT 10

Wait 10 msec from reference time

SB1

Set Output 1

AT -40

Wait 40 msec from reference time, then initialize reference

CB1

Clear Output 1

JP #LOOP1

Repeat Loop1

#TASK2

Task2 label

XQ #TASK1,1

Execute Task1

#LOOP2

Loop2 label

138 • Chapter 7 Application Programming

DMC-1700/1800

Page 146
Image 146
Galil DMC-1800, DMC-1700 user manual Executing Programs Multitasking, XQ #A, n, HX n

DMC-1800, DMC-1700 specifications

The Galil DMC-1700 and DMC-1800 are advanced motion controllers widely recognized for their high performance and versatility in the automation and robotics industries. These controllers are designed to meet the demands of complex motion control applications, providing users with enhanced features and innovative technologies that optimize motion precision and efficiency.

One of the main features of the Galil DMC-1700 is its ability to handle up to 8 axes of motion control. This capability makes it suitable for a range of applications, from simple point-to-point movements to intricate trajectories in multi-axis systems. In contrast, the DMC-1800 extends this functionality, supporting up to 64 axes, making it ideal for large-scale automation environments.

Both models leverage Galil's powerful programming interface, which simplifies the development of motion control applications. The DMC-1700 and DMC-1800 controllers utilize a high-level programming language that supports advanced motion commands, including linear interpolation, circular interpolation, and complex motion profiles. This feature allows users to implement sophisticated motion sequences seamlessly.

In terms of connectivity, the Galil DMC series offers multiple communication options, including Ethernet, RS-232, and CAN bus, ensuring compatibility with various hardware and enabling easy integration into existing systems. The controllers also come equipped with digital and analog I/O ports, providing flexibility for sensor feedback and actuator control.

The advanced technology incorporated into both the DMC-1700 and DMC-1800 includes on-board PID control, which ensures precise motion control through closed-loop feedback. This results in improved stability and accuracy, particularly in high-speed applications. Additionally, the controllers offer extensive diagnostics and monitoring capabilities, allowing for real-time performance analysis and troubleshooting.

Another notable characteristic of these motion controllers is their compact design, which offers space-saving advantages while maintaining high processing power. Their robust construction and ability to operate in challenging environments make them suitable for a wide range of industrial applications, from CNC machining to assembly lines.

In conclusion, the Galil DMC-1700 and DMC-1800 motion controllers stand out due to their high-performance capabilities, advanced programming features, and flexibility in connectivity. With their ability to handle complex motion control tasks efficiently, these controllers are invaluable tools for engineers and manufacturers looking to enhance their automation processes. By integrating Galil's innovative motion control technology, industries can achieve greater precision, speed, and reliability in their operational workflows.