User Tools

Site Tools


plc:plc_thc_api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
plc:plc_thc_api [2017/11/10 00:54] skirillovplc:plc_thc_api [2017/11/10 00:59] skirillov
Line 38: Line 38:
 | GVAR_THC3_OFFSETZ | 7588 | See THC #0 above | | GVAR_THC3_OFFSETZ | 7588 | See THC #0 above |
 | GVAR_THC3_ENABLED | 7589 | See THC #0 above | | GVAR_THC3_ENABLED | 7589 | See THC #0 above |
 +
 +
 +Examples.
 +Switch On THC#0 and THC#1 in **M03** Oxyfuel Gas Cutting ON procedure (2x gas cutting heads configuration). Pre-defined Reference Value is used, THC will be started after delay, defined in Cfg->Technology->THC configuration dialog, **THC delay, s** item.
 +<code>
 +if (thc_enabled!=0)
 + {
 +   gvarset(7570,1); //THC #0 ON
 +   gvarset(7575,1); //THC #1 ON
 + };
 +</code>
 +
 +
 +Switch Off THC#0 and THC#1 in **M05** Oxyfuel Gas Cutting OFF procedure (2x gas cutting heads configuration)
 +<code>
 +   gvarset(7570,0); //THC #0 ON
 +   gvarset(7575,0); //THC #1 ON
 +</code>
 +
 +
  
plc/plc_thc_api.txt · Last modified: 2017/11/10 11:40 by skirillov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki