Programming Qparameters | Additional functions
9
Special
characters
Function
9.3 Format for Q parameters, QL, and QR:
Total of 9 characters, including decimal
separator
Of these, 3 are decimal places
%S Format for text variable QS
%RS Format for text variable QS
Accepts the subsequent text without any changes
or formatting
%D or %I Format for integer
, Separation character between output format and
parameter
; End of block character
* Beginning of a comment line
Comments are not shown in the log
%" Output quotation marks
%% Output percent sign
\\ Output backslash
\n Output line break
+ Q parameter value, right-aligned
- Q parameter value, left-aligned
Example
Input Meaning
"X1 = %+9.3F", Q31; Format for Q parameter:
"X1 =: The text X1 = is
output
%: Specify the format
+: Number right-aligned
9.3: Total of 9 characters;
3of them are decimal
places
F: Floating (decimal
number)
, Q31: Output the value
from Q31
;: End of block
The following functions allow you to include the following additional
information in the log file:
Keyword Function
CALL_PATH Specifies the path for the NCprogram
where you will find the FN 16 function.
Example: "Measuring program: %S",CAL-
L_PATH;
298
HEIDENHAIN | TNC620 | Klartext Programming User's Manual | 01/2022