Installation manual
CNC 8035
8.
PLC PROGRAMMING
Directing instructions
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·302·
Example of how to use the "TRACE" instruction:
PRG
-----------
TRACE Data capture.
-----------
TRACE Data capture.
-----------
TRACE Data capture.
-----------
END
PE 5
-----------
TRACE Data capture.
-----------
END
The data capture in the execution of the trace in this program takes place:
• At the beginning of each PRG cycle.
• Every time the periodic cycle is executed (every 5 milliseconds).
• 3 times while executing the PRG module.
• Once while executing the PE module.
This way, by means of the "TRACE" instruction the data capture can be done any time, especially
at those program points considered more critical.
This instruction must only be used when debugging the PLC program and it should be avoided once
the PLC program is fully debugged.