Reference Manual
PMAC 2 Software Reference
246 PMAC On-Line Command Specification
LIST GATHER
Function
Report contents of the data gathering buffer.
Scope
Global
Syntax
LIST GATHER [{start}] [,{length}]
LIS GAT [{start}] [,{length}]
where:
• The optional {start} parameter is an integer constant specifying the distance from the
start of the buffer (in words of memory) to begin the listing (0 is the default);
• The optional {length} parameter (after a comma) is an integer constant specifying the
number of words of the buffer to be sent to the host (to the end of the buffer is the
default)
Remarks
This command causes PMAC to report the contents of the data-gathering buffer to the host.
The data is reported as 48-bit long words in hexadecimal format (12 characters per word)
separated by spaces, 16 long words per line.
If neither {start} nor {length} is specified, the entire contents of the buffer will be
reported. If {start} is specified, the reporting will begin {start} words from the
beginning of the buffer. If {length} is specified, the reporting will continue for
{length} words from the starting point.
Example
LIST GATHER. ; reports the whole buffer
LIST GATHER 256 ; skips the first 256 long words
LIST GATHER 0,32 ; reports the first 32 words
LIST GATHER ,32 ; does the same as above
LIST GATHER 64,128 ; skips the first 64 words, reports the next 128
See Also
Data Gathering Function (Analysis Features)
I-variables I19, I20, I21-I44.
On-line commands GATHER, ENDGATHER, DEFINE GATHER
Gathering and Plotting (PMAC Executive Program Manual)
LIST LINK
Function
List Linking Addresses of Internal PMAC Routines
Scope
Global
Syntax
LIST LINK
Remarks
This command causes PMAC to list the addresses of the internal routines that the PLC cross-
compiler needs to properly compile and link its programs.
This command is used automatically by the PLC cross-compiler in the Executive program.
For the standalone DOS cross-compiler, the ASCII characters of PMAC’s response to this
command must be contained in a file named LISTLINK.TXT in the same directory and
subdirectory as the cross-compiler. Each separate version of PMAC’s firmware potentially
has different addresses for these routines, so a new LISTLINK.TXT file must be created any
time the PMAC firmware is updated, even for a minor change such as from V1.15A to
V1.15B.
Example
LIST LINK...... ; Request linking addresses
004532 004A97 005619 005F21 0062FE 0063A4 ; PMAC responds
See Also
Compiled PLCs (Writing a PLC Program)