Functions

FUNCTION

DESCRIPTION

 

 

 

@SIN[n]

Sine of n (n in degrees, with range of -32768 to 32767 and 16-bit fractional resolution)

 

 

@COS[n]

Cosine of n (n in degrees, with range of -32768 to 32767 and 16-bit fractional resolution)

 

 

@TAN[n]

Tangent of n (n in degrees, with range of -32768 to 32767 and 16-bit fractional resolution)

 

 

 

@ASIN*[n]

Arc Sine of n, between -90° and +90°.

Angle resolution in 1/64000 degrees.

 

 

 

@ACOS* [n}

Arc Cosine of n, between 0 and 180°.

Angle resolution in 1/64000 degrees.

 

 

@ATAN* [n]

Arc Tangent of n, between -90° and +90°. Angle resolution in 1/64000 degrees

 

 

 

@COM[n]

1’s Complement of n

 

 

 

 

@ABS[n]

Absolute value of n

 

 

 

 

@FRAC[n]

Fraction portion of n

 

 

 

 

@INT[n]

Integer portion of n

 

@RND[n]

Round of n (Rounds up if the fractional part of n is .5 or greater)

 

 

 

@SQR[n]

Square root of n (Accuracy is +/-.0001)

 

 

 

@IN[n]

Return digital input at general input n (where n starts at 1)

 

 

@OUT[n]

Return digital output at general output n (where n starts at 1)

 

 

@AN[n]

Return analog input at general analog in n (where n starts at 1)

 

 

 

 

 

 

*Note that these functions are multi-valued. An application program may be used to find the correct band.

Functions may be combined with mathematical expressions. The order of execution of mathematical expressions is from left to right and can be over-ridden by using parentheses.

Instruction

Interpretation

V1=@ABS[V7]

The variable, V1, is equal to the absolute value of variable V7.

V2=5*@SIN[POS]

The variable, V2, is equal to five times the sine of the variable,

 

POS.

V3=@IN[1]

The variable, V3, is equal to the digital value of input 1.

V4=2*(5+@AN[5])

The variable, V4, is equal to the value of analog input 5 plus 5,

 

then multiplied by 2.

Variables

For applications that require a parameter that is variable, the DMC-3425 provides 126 variables. These variables can be numbers or strings. A program can be written in which certain parameters, such as position or speed, are defined as variables. The variables can later be assigned by the operator or determined by program calculations. For example, a cut-to-length application may require that a cut length be variable.

Instruction

Interpretation

PR POSA

Assigns variable POSA to PR command

JG RPMB70

Assigns variable RPMB multiplied by 70 to JG command.

DMC-3425

Chapter 7 Application Programming129

Page 137
Image 137
Galil DMC-3425 user manual Variables, Functions, PR Posa, JG RPMB70

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.