Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Variable and Command Summary 26
Global Variable Commands
{constant} Equivalent to P0={constant} if no unfilled table; otherwise value entered into table
I{data}={expression} Assign expression value to specified I-variable
I{constant}..{constant}={constant} Assign constant value to specified range of I-
variables
I{constant}[..{constant}]=* Set specified I-variable[s] to default[s]
I{constant}=@I{constant}] Set specified I-variable to address of another I-variable
I{constant}[..{constant}] Report I-variable values to host
P{data}={expression} Assign expression value to specified P-variable
P{constant}..{constant}={constant} Assign constant value to specified range of P-
variables
P{constant}[..{constant}] Report P-variable values to host
M{data}={expression} Assign expression value to specified M-variable
M{constant}..{constant}={constant} Assign constant value to specified range of M-
variables
M{constant}->{definition} Define M-variable as specified
M{constant}->* Erase M-variable definition; usable as non-pointer variable
M{constant}[..{constant}] Report M-variable values to host
M{constant}[..{constant}]-> Report M-variable definitions to host
Buffer Control Commands
OPEN PROG{constant} Open specified motion program buffer for entering/editing
OPEN ROT Open all defined rotary program buffers for ASCII entry
OPEN BIN ROT Open all defined rotary program buffers for binary entry
OPEN PLC{constant} Open specified PLC program buffer for entry
CLOSE Close buffer currently opened on this port
CLOSE ALL Close buffer currently opened on any port
CLEAR Erase contents of opened buffer
CLEAR ALL Erase all motion and uncompiled PLC program buffers
CLEAR ALL PLCS Erase all uncompiled PLC program buffers
DEFINE GATHER [{constant}] Set up a data-gathering buffer using all open memory [or of
specified size]
DELETE GATHER Erase the data gathering buffer
GATHER [TRIGGER] Start data gathering [on external trigger]
ENDGATHER Stop data gathering
DELETE PLCC{constant} Erase specified compiled PLC program
DEFINE TBUF{constant} Set up specified number of axis transformation matrices
DELETE TBUF Erase all axis transformation matrices
DEFINE UBUFFER{constant} Set up a user buffer of specified number of words
DELETE ALL Erase all DEFINEd buffers
DELETE ALL TEMP Erase all DEFINEd buffers with temporary contents