Position Format is specified by: PF m.n

where m is the number of digits to the left of the decimal point (0 thru 10) and n is the number of digits to the right of the decimal point (0 thru 4) A negative sign for m specifies hexadecimal format.

Hex values are returned preceded by a $ and in 2's complement. Hex values should be input as signed 2's complement, where negative numbers have a negative sign. The default format is PF 10.0.

If the number of decimal places specified by PF is less than the actual value, a nine appears in all the decimal places.

Example

Instruction

Interpretation

:DP21

Define position

:TPA

Tell position

0000000021

Default format

:PF4

Change format to 4 places

:TPA

Tell position

0021

New format

:PF-4

Change to hexadecimal format

:TPA

Tell Position

$0015

Hexadecimal value

:PF2

Format 2 places

:TPA

Tell Position

99

Returns 99 if position greater than 99

Removing Leading Zeros from Response to Interrogation Commands

The leading zeros on data returned as a response to interrogation commands can be removed by the use of the command, LZ.

LZ0

Disables the LZ function

TP

Tell Position Interrogation Command

-0000000009, 0000000005

Response (With Leading Zeros)

 

LZ1

Enables the LZ function

TP

Tell Position Interrogation Command

-9, 5

Response (Without Leading Zeros)

Local Formatting of Response of Interrogation Commands

The response of interrogation commands may be formatted locally. To format locally, use the command, {Fn.m} or {$n.m} on the same line as the interrogation command. The symbol F specifies that the response should be returned in decimal format and $ specifies hexadecimal. n is the number of digits to the left of the decimal, and m is the number of digits to the right of the decimal.

TP {F2.2}

Tell Position in decimal format 2.2

-05.00, 05.00, 00.00, 07.00

Response from Interrogation Command

TP {$4.2}

Tell Position in hexadecimal format 4.2

FFFB.00,$0005.00,$0000.00,$0007.00

Response from Interrogation Command

138 • Chapter 7 Application Programming

DMC-3425

Page 146
Image 146
Galil DMC-3425 user manual Local Formatting of Response of Interrogation Commands, LZ0, LZ1

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.