28.11.2012 Views

Table of Contents - TG Drives

Table of Contents - TG Drives

Table of Contents - TG Drives

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PL2 NATIVE POSITION LANGUAGE<br />

Compiler directives<br />

Function: Normally the compiler generates a full image<br />

for the targets program memory with empty<br />

lines where lines are not used, up to the<br />

highest line number. This directive informs<br />

the compiler to generate only the used lines.<br />

This can be used for partial download <strong>of</strong> PL2<br />

programs to a DMC, for instance CAMtables.(See<br />

COMM.MODE for information on<br />

that)<br />

.MaxLines Format: .MaxLines const<br />

Function: Allows the compiler to generate up to the<br />

given amount <strong>of</strong> lines (DMC2 supports 8191<br />

lines)<br />

.MaxRegisters Format: .MaxRegisters const<br />

Function: Allows the compiler to utilize more than 256<br />

registers(older versions <strong>of</strong> DMC) max<br />

number is 4096 for DMC2<br />

.ConvertDispToNop Format: .ConvertDispToNop<br />

Function: With this directive the compiler will replace<br />

all occurrences <strong>of</strong> the DISP statement with a<br />

NOP instruction. Since DISP statements are<br />

very dangerous to have in time critical parts<br />

<strong>of</strong> a PL2 program it is highly recommended<br />

to take them away in a final version.<br />

User's Manual 5.1 Inmotion Technologies AB<br />

Doc. No.9032 0027 01 (B), Rev. 11.07.2001<br />

35

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!