Reference Manual

PMAC/PMAC2 Software Reference Manual
PMAC Command and Variable Summary 3
PLC Control Commands
ENABLE PLC{constant}[,{constant}...] – Enable operation of specified
interpreted PLC program[s]
DISABLE PLC{constant}[,{constant}...] – Disable operation of specified
interpreted PLC program[s]
PAUSE PLC{constant}[,{constant}...] – Suspend operation of specified
interpreted PLC program[s] at present point
RESUME PLC{constant}[,{constant}...] – Continue operation of specified
interpreted PLC program[s] at paused point
ENABLE PLCC{constant}[,{constant}...] – Disable operation of specified
compiled PLC program[s]
DISABLE PLCC{constant}[,{constant}...] – Disable operation of specified
compiled PLC program[s]
Global Variable Commands
{constant} – Equivalent to P0={constant}
if no unfilled table; otherwise value entered into table
I{constant}={expression} – Expression value assigned to I-variable
I{constant}[..{constant}]=* – Set I-variable[s] to default[s]
P{constant}[..{constant}]={expression} – Expression value assigned to
P-variable(s)
M{constant}[..{constant}]={expression} – Expression value assigned to
M-variable(s)
M{constant}->{definition} – M-variable defined as specified
M{constant}->* – M-variable defined as non-pointer variable
I{constant}[..{constant}] – Report I-variable value(s) to host
P{constant}[..{constant}] – Report P-variable value(s) to host
M{constant}[..{constant}] – Report M-variable value(s) to host
M{constant}[..{constant}]-> – Report M-variable definition(s) to host
Buffer Control Commands
OPEN PROG {constant} – Open specified motion program buffer for entering/editing
OPEN ROTARY – Open all defined rotary program buffer for entry
OPEN BINARY ROTARY – Open all defined rotary program buffers for binary entry thru
DPRAM
OPEN PLC{constant} – Open specified PLC program buffer for entry
CLOSE – Close currently opened buffer
CLEAR – Erase contents of opened buffer
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
DELETE TRACE – Erase the program trace buffer (no action taken; kept for backward
compatibility)
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