Справочник для Delta Tau GEO BRICK LV
Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Program Command Specification
412
Routine to hold first eight coordinate systems
P10=1
WHILE (P10<9)
WHILE (P10<9)
; Loop thru motors
ADDRESS&P10
; Address C.S. using P10 value
COMMAND “H”
; Feed hold addressed C.S.
P10=P10+1
; Increment to next C.S.
ENDWHILE
ADIS{constant}
Function:
Absolute displacement of X, Y, and Z axes
Type:
Motion program (PROG and ROT)
Syntax:
ADIS{constant}
where:
{constant} is an integer constant representing the number of the first of three consecutive Q-
variables to be used in the displacement vector
variables to be used in the displacement vector
This command loads the currently selected (with TSEL) transformation matrix for the coordinate system
with offset values contained in the three Q-variables starting with the specified one. This has the effect of
renaming the current commanded X, Y, and Z axis positions (from the latest programmed move) to the
values of these variables (X=Q{data}, Y=Q({data}+1), Z=Q({data}+2)).
with offset values contained in the three Q-variables starting with the specified one. This has the effect of
renaming the current commanded X, Y, and Z axis positions (from the latest programmed move) to the
values of these variables (X=Q{data}, Y=Q({data}+1), Z=Q({data}+2)).
This command does not cause any movement of any axes; it simply renames the present positions.
This command is almost equivalent to a PSET X(Q{data}) Y(Q({data}+1))
Z(Q({data}+2)) command, except that ADIS does not force a stop between moves, as PSET does.
Z(Q({data}+2)) command, except that ADIS does not force a stop between moves, as PSET does.
Examples:
Q20=7.5
Q21=12.5
Q22=25
ADIS 20
Q21=12.5
Q22=25
ADIS 20
; This makes the current X position 7.5, Y 12.5, Z25
See Also:
Axis Matrix Transformations (Writing and Executing Motion Programs)
On-line command DEFINE TBUF
Program commands TSEL, AROT, IDIS, IROT, TINIT
Axis Matrix Transformations (Writing and Executing Motion Programs)
On-line command DEFINE TBUF
Program commands TSEL, AROT, IDIS, IROT, TINIT
AND ({condition})
Function:
Conditional AND
Type:
PLC program only
Syntax:
AND ({condition})
where:
{condition} is a simple or compound condition
This statement forms part of an extended compound IF or WHILE condition to be evaluated in a PLC
program. It must immediately follow an IF, WHILE, AND, or OR statement. This AND is a Boolean operator
logically combining the full conditions on its line and the program line immediately above. It takes lower
precedence than AND or OR operators within a compound condition on a single line (the parentheses cause
those to be executed first), but it takes higher precedence than an OR operator that starts a line.
program. It must immediately follow an IF, WHILE, AND, or OR statement. This AND is a Boolean operator
logically combining the full conditions on its line and the program line immediately above. It takes lower
precedence than AND or OR operators within a compound condition on a single line (the parentheses cause
those to be executed first), but it takes higher precedence than an OR operator that starts a line.
In motion programs, there can be compound conditions within one program line, but not across multiple
program lines, so this statement is not permitted in motion programs.
program lines, so this statement is not permitted in motion programs.