omron — %{constant}

PMAC Product Guide I130 ; Request value of I130 60000 ; PMAC reports current value, which is SAVEd value % Function : Report the addressed coordinate system's feedrate override value Scope : Coordinate-system specific Syntax : % This command causes PMAC to report the present feedrate-override (time-base) value for the currently addressed coordinate system. A value of 100 indicates real time; i.e. move speeds and times occur as specified. PMAC will report the value in response to this command, regardless of the source of the value (even if the source is not the %{constant} command). Example: % ; Request feedrate-override value 100 ; PMAC responds:

100 means real time H ; Command a feed hold % ; Request feedrate-override value 0 ; PMAC responds: 0 means all movement frozen %{constant} Function : Set the addressed coordinate system's feedrate override value Scope : Coordinate-system specific Syntax : {constant} where {constant} is a non-negative floating point value specifying the desired feedrate override (time-base) value (100 represents real-time). This command specifies the feedrate override value for the currently addressed coordinate system. The rate of change to this newly specified value is determined by coordinate system I-Variable Ix94.

I-Variable Ix93 for this coordinate system must be set to its default value (which tells the coordinate system to take its time-base value from the % -command register) in order for this command to have any effect. The maximum % value that PMAC can implement is equal to (2 23 /I10)*100 or the (servo update rate in kHz)*100. If a value greater than this is specified, PMAC will saturate at this value instead. To control the time base based on a variable value, assign an M-Variable (suggested M197) to the commanded time base register (X:$0806, X:$08C6, etc.), then assign a variable value to the M-Variable. The value assigned here should be equal to the desired % value times (I10/100). Examples:

%0 ; Command value of 0, stopping motion %33.333 ; Command 1/3 of real-time speed %100 ; Command real-time speed %500 ; Command too high a value % ; Request current value 225.88230574 ; PMAC responds; this is max allowed value M197->X:$0806,24 ; Assign variable to C.S. 1 % command reg. M197=P1*I10/100 ; Equivalent to &1%(P1) Online Commands 141