July 2013 8.1 Display and operation 1295
Writing to the log The log can be written to by the PLC or from an NC program.
Write data from an NC program into the log:
Use the FN38: SEND function in the NC program. It is available after you have
entered the code number 555343.
Example for programming a block with FN38: SEND:
...
FN38: SEND /"Q-Parameter Q1: %f Q2: %f" /+Q1 /+Q2
...
Entry in the log from the Program Run, Single Block or Program Run, Full
Sequence operating mode:
INFO: MAIN NCEVENT <Date and time>
Q parameter Q1: <Value Q1> Q2: <Value Q2>
Entry in the log from the Test Run operating mode:
INFO: MAIN NCTEVENT <Date and time>
Q parameter Q1: <Value Q1> Q2: <Value Q2>
Write data for diagnostic purposes from the PLC into the log:
With Module 9275 you can write ASCII data into the log.
With Module 9276 you can write the contents of the operands into the log.
Do not use Modules 9275 and 9276 in the PLC program as shipped.
Instead, use them only for debugging. Otherwise the processing times
could be increased and the hard disk could be written to unnecessarily, so
that the log can no longer fulfill its function of recording keystrokes and
error messages.