Reference Manual
PMAC 2 Software Reference
PMAC I-Variable Specification 27
In multiple-card PMAC applications where it is very important that motion programs on
the two cards start as closely together as possible, I8 should be set to 0. In this case, no
PLC 0 should be running when the cards are awaiting a Run command. At other times I8
may be set greater than 0 and PLC 0 re-enabled.
See Also
How PMAC Executes a Motion Program (Writing a Motion Program)
PLC 0 (Writing a PLC Program)
I9 Full/Abbreviated Program Listing Form
Range
0 .. 3
Units
none
Default
2
Remarks
I9 controls aspects of how PMAC reports program listings and variable values. The
following table shows the values of I9 and what they represent:
Setting Meaning
0 Short form, decimal address I-variable return
1 Long form, decimal address I-variable return
2 Short form, hex address I-variable return
3 Long form, hex address I-variable return
When this parameter is 0 or 2, programs are sent back in abbreviated form for maximum
compactness, and when I-variable values or M-variable definitions are requested, only the
values or definitions are returned, not the full statements. When this parameter is 1 or 3,
programs are sent back in full form for maximum readability. Also, I-variable values and
M-variable definitions are returned as full command statements, which is useful for
archiving and later downloading.
When this parameter is 0 or 1, I-variable values that specify PMAC addresses are returned
in decimal form. When it is 2 or 3, these values are returned in hexadecimal form (with
the ‘$’ prefix). You are always free to send any I-variable values to
PMAC either in hex
or decimal, regardless of the I9 setting. This does not affect how I-variable assignment
statements inside PMAC motion and PLC programs are reported when the program is
listed.
Example
With I9=0:
I125 .................. ; Request address I-variable value
49152................ ; PMAC reports just value, in decimal
M101->.............. ; Request M-variable definition
X:$C001,24,S ; PMAC reports just definition
LIST PROG 1.. ; Request listing of program
LIN..................... ; PMAC reports program short form
X10
DWE1000
RET
With I9=1:
I125 .................. ; Request address I-variable value
I125=49152 .... ; PMAC reports whole statement, in decimal
M101->.............. ; Request M-variable definition
M101->X:$C001,24,S ; PMAC reports whole statement
LIST PROG 1.. ; Request listing of program
LINEAR.............. ; PMAC reports program long form
X10