Reference Manual

PMAC 2 Software Reference
PMAC On-Line Command Specification 185
See Also
Time-Base Control (Synchronizing PMAC to External Events)
I-Variables I10, Ix93, Ix94, Ix95
On-line commands %{constant}, H
Memory map registers X:$0808, X:$08C8, etc.
%{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)
Remarks
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 to
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 you specify a value greater than this, 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).
Example
%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)
See Also
Time-Base Control (Synchronizing PMAC to External Events)
I-Variables I10, Ix93, Ix94, Ix95
On-line commands %, H
Memory map registers X:$0806, X:$08C6, etc.