Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Variable and Command Summary 23
TURBO PMAC VARIABLE AND COMMAND SUMMARY
Notes
PMAC syntax is not case sensitive.
Spaces are not important in PMAC syntax, except where noted
{} -- item in {} can be replaced by anything fitting definition
[] -- item in [] is optional to syntax
[{item}...] -- indicates previous item may be repeated in syntax
[..{item}] -- the periods are to be included in the syntax to specify a range
() -- parentheses are to be included in syntax as they appear
Definitions
constant -- numerically specified non-changing value
variable -- entity that holds a changeable value
I-variable -- variable of fixed meaning for card setup and personality (1 of 8192)
P-variable -- global variable for programming use (1 of 8192)
Q-variable -- local variable (in coordinate system) for programming use (1 of 8192)
M-variable -- variable assigned to memory location for user use (1 of 8192)
pre-defined variable -- mnemonic that has fixed meaning in card
function -- SIN, COS,TAN,ASIN,ACOS,ATAN,ATAN2,LN,EXP,SQRT,ABS,INT
operator -- for arithmetic or bit-by-bit logical combination of two values: +, -, *, /, % (mod), &
(and), | (or), ^ (xor)
expression -- grouping of constants, variables, functions, and operators
data -- constant without parentheses, or expression with parentheses
comparator -- evaluates relationship between two values: =, !=, >, !>, <, !<, ~, !~
condition -- evaluates as true or false based on comparators
simple condition -- {expression} {comparator} {expression}
compound condition -- logical combination of simple conditions
motor -- element of control for hardware setup; specified by number
coordinate system -- collections of motors working synchronously
axis -- element of a coordinate system; specified by letter chosen from X, Y, Z, A, B, C, U, V, W
buffer -- space in user memory for program or list; contains up to 256 motion programs and 32 PLC
blocks