Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 276
See Also:
Time-Base Control (Synchronizing Turbo PMAC to External Events)
I-Variables I10, Isx93, Isx94, Isx95
On-line commands %{constant}, H
%{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 Isx94.
I-variable Isx93 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 Turbo 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, Turbo PMAC will saturate at this value instead.
To control the time base based on a variable value, assign an M-variable (suggested Msx97) to the
commanded time base register (X:$002000, X:$002100, 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 ; Turbo PMAC responds; this is max allowed value
M5197->X:$002000,24,S ; Assign variable to C.S. 1 % command reg.
M5197=P1*I10/100 ; Equivalent to &1%(P1)
See Also:
Time-Base Control (Synchronizing Turbo PMAC to External Events)
I-Variables I10, Isx93, Isx94, Isx95
On-line commands %, H
Memory map registers X:$002000, X:$002100, etc.
&
Function: Report port’s currently addressed coordinate system.
Scope: Port specific
Syntax: &
This command causes Turbo PMAC to return the number of the coordinate system currently addressed
for the communications port over which this command is sent. This is the coordinate system that will act
on subsequent coordinate-system-specific commands sent over this port until a different coordinate
system is addressed with an &{constant} command.
Other communications ports may be addressing different coordinate systems at the same time, as set by
&{constant} commands sent over those ports. In addition, each background PLC program can