Command Format - JP and JS

FORMAT:

DESCRIPTION

 

 

JS destination, logical condition

Jump to subroutine if logical condition is satisfied

 

 

JP destination, logical condition

Jump to location if logical condition is satisfied

 

 

 

 

The destination is a program line number or label where the program sequencer will jump if the specified condition is satisfied. Note that the line number of the first line of program memory is 0. The comma designates “IF”. The logical condition tests two operands with logical operators.

Logical operators:

OPERATOR

DESCRIPTION

 

 

<

less than

>

greater than

 

 

=

equal to

 

 

<=

less than or equal to

 

 

>=

greater than or equal to

 

 

<>

not equal

 

 

 

 

Conditional Statements

The conditional statement is satisfied if it evaluates to any value other than zero. The conditional statement can be any valid DMC-1700/1800 numeric operand, including variables, array elements, numeric values, functions, keywords, and arithmetic expressions. If no conditional statement is given, the jump will always occur.

Examples:

Number

V1=6

Numeric Expression

V1=V7*6

 

@ABS[V1]>10

Array Element

V1<Count[2]

Variable

V1<V2

Internal Variable

_TPX=0

 

_TVX>500

I/O

V1>@AN[2]

 

@IN[1]=0

Multiple Conditional Statements

The DMC-1700/1800 will accept multiple conditions in a single jump statement. The conditional statements are combined in pairs using the operands “&” and “”. The “&” operand between any two conditions, requires that both statements must be true for the combined statement to be true. The “” operand between any two conditions, requires that only one statement be true for the combined statement to be true. Note: Each condition must be placed in paranthesis for proper evaluation by the controller. In addition, the DMC-1700/1800 executes operations from left to right. For further information on Mathematical Expressions and the bit-wise operators ‘&’ and ‘’, see pg 7-

153.

For example, using variables named V1, V2, V3 and V4:

146 • Chapter 7 Application Programming

DMC-1700/1800

Page 154
Image 154
Galil DMC-1800 Command Format JP and JS, Logical operators, Multiple Conditional Statements, Operator Description

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.