omron — I{constant}

PMAC Product Guide P1=0 ; So command is not repeatedly issued ENDIF I{constant} Function : Report the current I-Variable values Scope : Global Syntax : I{constant}[..{constant}] where {constant} is an integer from 0 to 1023 representing the number of the I-variable. The optional second {constant} must be at least as great as the first {constant} -- it represents the number of the end of the range. This command causes PMAC to report the current value of the specified I-Variable or range of I- Variables. When I9 is 0 or 2, only the value of the I-variable itself is returned (e.g. 10000 ). When I9 is 1 or 3, the entire variable value assignment statement (e.g. I130=10000 ) is returned by PMAC.

When I9 is 0 or 1, the values of address I-Variables are reported in decimal form. When I9 is 2 or 3, the values of these variables are reported in hexadecimal form. 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 a Motion Program section of this manual). Examples:

I5 ; Request the value of I5 2 ; PMAC responds I130..135 ; Request the value of I130 through I135 60000 ; PMAC responds with 6 lines 5000 5000 50000 1 20000 To see the effect of I9 on the form of the response, observe the following: I9=0 I125 49152 ; Short form, decimal I9=1 I125 I125=49152 ; Long form, decimal I9=2 I125 $C000 ; Short form, hexadecimal I9=3 I125 I125=$C000 ; Long form, hexadecimal 164 Online Commands