Operand Summary - Automatic Data Capture

_RC

_RD

Returns a 0 or 1 where, 0 denotes not recording, 1 specifies recording in progress

Returns address of next array element.

Example - Recording into An Array

During a position move, store the X and Y positions and position error every 2 msec.

#RECORD

Begin program

DM XPOS[300],YPOS[300]

Define X,Y position arrays

DM XERR[300],YERR[300]

Define X,Y error arrays

RA XPOS[],XERR[],YPOS[],YERR[]

Select arrays for capture

RD _TPX,_TEX,_TPY,_TEY

Select data types

PR 10000,20000

Specify move distance

RC1

Start recording now, at rate of 2 msec

BG XY

Begin motion

#A;JP #A,_RC=1

Loop until done

MG “DONE”

Print message

EN

End program

#PLAY

Play back

N=0

Initial Counter

JP# DONE,N>300

Exit if done

N=

Print Counter

X POS[N]=

Print X position

Y POS[N]=

Print Y position

XERR[N]=

Print X error

YERR[N]=

Print Y error

N=N+1

Increment Counter

#DONE

Done

EN

End Program

Deallocating Array Space

Array space may be deallocated using the DA command followed by the array name. DA*[0] deallocates all the arrays.

Input of Data (Numeric and String)

Input of Data

The command, IN, is used to prompt the user to input numeric or string data. Using the IN command, the user may specify a message prompt by placing a message in quotations. When the controller executes an IN command, the controller will wait for the input of data. The input data is assigned to the specified variable or array element.

An Example for Inputting Numeric Data

#A

IN “Enter Length”, LENX

160 • Chapter 7 Application Programming

DMC-1700/1800

Page 168
Image 168
Galil DMC-1800, DMC-1700 user manual Input of Data Numeric and String, Deallocating Array Space

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.