Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 328
Note:
If a motion program buffer (including a rotary buffer) is open, I{constant}
will be entered into that buffer for later execution, to be interpreted as a full-circle
move command with a vector to the center along the X-axis (see Circular Moves in
the Writing and Executing Motion Programs section).
Example:
I5 ; Request the value of I5
2 ; Turbo PMAC responds
I130..135 ; Request the value of I130 through I135
60000 ; Turbo PMAC responds with 6 lines
5000
5000
50000
1
20000
I130,4,100 ; Request the value of I130, I230, I330, I430
60000 ; Turbo PMAC responds with 4 lines
55000
60000
65000
To see the effect of I9 on the form of the response, observe the following:
I9=0 I125
491520 ; Short form, decimal
I9=1 I125
I125=491520 ; Long form, decimal
I9=2 I125
$78000 ; Short form, hexadecimal
I9=3 I125
I125=$78000 ; Long form, hexadecimal
See Also:
Initialization (I) Variables (Computational Features)
I-Variable Specifications
I-variable I9
On-line commands I{constant}={expression}, M{constant}, P{constant},
Q{constant}
Program commands {axis}{data}{vector}{data}, I{data}
I{data}={expression}
Function: Assign a value to an I-variable.
Scope: Global
Syntax: I{data}={expression}
where:
{data} is a constant, or an expression in parentheses, for an integer value from 0 to 8191
representing the I-variable number;
{expression} contains the value to be given to the specified I-variable
I{constant}..{constant}={constant}
where:
the first {constant} is an integer from 0 to 8190 representing the number of the first I-variable;
the second {constant} is an integer from 1 to 8191 representing the number of the last I-variable;
it must be at least as great as the first {constant}