06.08.2013 Views

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

Technical Manual TNC 360 - heidenhain - DR. JOHANNES ...

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.

1.3 Test functions for the PLC program<br />

1.3.1 TRACE function<br />

The TRACE function makes it possible to check the logical states of the markers, inputs, outputs,<br />

timers and counters.<br />

If this function is selected, the following menu appears:<br />

SELECT I/O/C/T/M<br />

DISPLAY TRACE BUFFER<br />

START TRACE<br />

END TRACE<br />

SELECT I/O/C/T/M<br />

Those inputs (I), outputs (O), counters (C), timers (T) or markers (M) whose logical states are to be<br />

checked can be entered into a table in the SELECT I/O/C/T/M function. A maximum of 16 markers,<br />

timers etc. can be simultaneously verified. Each position is interrogated via dialogue. Erroneous<br />

entries can be deleted by pressing DEL.<br />

The memory for the trace mode (TRACE BUFFER) has space for 1024 individual states per operand,<br />

i.e. 1024 PLC processes are recorded. In order to record the required time duration of the user, a<br />

TRIGGER condition can be entered for each operand:<br />

"1" = Recording when operand is logically "1"<br />

"0" = Recording when operand is logically "0"<br />

If the trigger position is verified with the NOENT key, it means that a trigger condition is not<br />

required. 512 states are recorded before and after a trigger event. The trigger event is regarded as<br />

fulfilled only when the conditions for all operands are simultaneously fulfilled with TRIGGER.<br />

Example: M2064 1<br />

M2065 0<br />

M2066 1<br />

I5<br />

Trigger event: M2064 logical "1"<br />

M2065 logical "0"<br />

M2066 logical "1"<br />

The state of I5 has no significance for the trigger event: it is, however, recorded.<br />

If no trigger condition is entered for the operands, the states of the operands are continually<br />

recorded and, after ending the trace mode, the last 1024 states are displayed.<br />

To exit the SELECT I/O/C/T/M function, press END.<br />

8/95 <strong>TNC</strong> <strong>360</strong> 1 PLC Functions 7-9

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

Saved successfully!

Ooh no, something went wrong!