Download CNC 8035 - Installation manual

Transcript
‡ ‡ ‡ Installation manual
IRD
Updates the real values of the local inputs after reading the relevant physical inputs.
Care must be taken when using this instruction since the current real values of the
inputs will be lost.
MRD
Updates the values of resources M5000/5957 and R500/559 with the values of the
logic outputs of the CNC.
Care must be taken when using this instruction since the current values of those
resources will be lost. After executing this instruction, the new values will match those
of the logic outputs of the CNC (internal variables).
MWR
Updates the logic inputs of the CNC (internal variables) with the current real values
of resources M5000/5957 and R500/559.
TRACE
This instruction is used when working with the Logic Analyzer in order to capture data
during the execution of the PLC cycle.
8.
Directing instructions
They update the local physical outputs with the current real values of the
corresponding O resources.
PLC PROGRAMMING
OWR
It must be born in mind that the logic analyzer performs a data capture at the beginning
of each cycle (PRG and PE) after reading the physical inputs and updating the marks
corresponding to the CNC logic outputs and just before starting the program
execution.
Use this instruction to carry out another data capture while executing the PLC cycle.
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.
CNC 8035
This instruction must only be used when debugging the PLC program and it should
be avoided once the PLC program is fully debugged.
(SOFT M: V11.1X)
(SOFT T: V12.1X)
229