02.06.2013 Views

SINUMERIK 840D/810D ShopMill

SINUMERIK 840D/810D ShopMill

SINUMERIK 840D/810D ShopMill

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.

4PLCProgram<br />

4.4 Description of blocks<br />

4.4.3 Diagnostics function for start-up purposes<br />

Description of<br />

function<br />

Example<br />

Initialize diagnostics<br />

function<br />

Activate diagnostics<br />

function<br />

Acknowledgment<br />

from diagnostics<br />

function<br />

Call<br />

4-44<br />

12.01<br />

The diagnostics block FC34 is used to monitor the default signals affected by<br />

the <strong>ShopMill</strong> PLC program (see Section 4.5 ”Standard interface signals for/from<br />

<strong>ShopMill</strong>”). These signals must not be altered by the PLC user program. If<br />

changes in the signals take place, the diagnostics block indicates this error in its<br />

circular buffer for error messages (20 entries possible). If a signal is cyclically<br />

changed, a new entry is conducted in the error message buffer in each PLC<br />

cycle. This function is activated via the data block DB82 DBX60.0.<br />

DBX60.0 = 1 (monitor_on)<br />

DBX60.1 = 1 (monitor_initialize)<br />

DBX60.0 = 1 (monitor_on)<br />

DBX60.1 = 0 (monitor_initialize)<br />

Error message1 (e.g. for DB11DBX0.1)<br />

DBW62 current_number # 0 (error event counter) ......... 1<br />

DBB64 db_number (decimal output) .................... 11<br />

DBB65 byte_number (decimal output) ................... 0<br />

DBB66 bit_number (decimal output) .................... 1<br />

Error message 2 (e.g. for DB21DBX7.1)<br />

DBW68 current_number # 0 (error event counter) ......... 2<br />

DBB70 db_number (decimal output) .................... 21<br />

DBB71 byte_number (decimal output) ................... 7<br />

DBB72<br />

etc.<br />

bit_number (decimal output) .................... 1<br />

The function block in OB 1 must be called in the following sequence:<br />

Note<br />

FC2 Basic program block<br />

FC34 Diagnostics block<br />

User program Part 1<br />

(interlocking logic, FC19/24 machine control panel block)<br />

FC30 <strong>ShopMill</strong> PLC program<br />

FB110 Data transfer block for <strong>ShopMill</strong> tool management<br />

in standard mode<br />

User program Part 2<br />

The tool box (PLC library) contains the example VAT82 for the variable table.<br />

E Siemens AG, 2001. All rights reserved<br />

<strong>SINUMERIK</strong> <strong>840D</strong>/<strong>810D</strong> Description of Functions <strong>ShopMill</strong> (FBSP) - 12.01 Edition

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

Saved successfully!

Ooh no, something went wrong!