User Tools

Site Tools


plc:plc_gas_cutting_implementation

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plc:plc_gas_cutting_implementation [2017/06/07 00:37] skirillovplc:plc_gas_cutting_implementation [2021/11/02 17:20] (current) ivan
Line 148: Line 148:
  
 in Start Cutting PLC procedure should be handler to monitor "break heating" variable and cancel Pre Heating if variable value is "0" in Start Cutting PLC procedure should be handler to monitor "break heating" variable and cancel Pre Heating if variable value is "0"
-<code>+<code c M71.plc>
 #include pins.h #include pins.h
 #include vars.h #include vars.h
Line 288: Line 288:
 === Gas Cutting Control with Initial Height positioning === === Gas Cutting Control with Initial Height positioning ===
  
-{{gas-control-004.png?600}}+{{mycnc-plc-gas-control-004.png?600}}
  
   * H1 - Safe Height, defined as distance from cutting height at the end of previous cut. Ignition process started on Safe Height. A system waits 1-2 seconds for stable flame process, then switch to Preheat Process and moves torch down to -    * H1 - Safe Height, defined as distance from cutting height at the end of previous cut. Ignition process started on Safe Height. A system waits 1-2 seconds for stable flame process, then switch to Preheat Process and moves torch down to - 
Line 336: Line 336:
  gvarset(7080,2000);  gvarset(7080,2000);
  g0moveA(0x0,0x4,ihc_pierce_height);  //Z axis, move up  g0moveA(0x0,0x4,ihc_pierce_height);  //Z axis, move up
- timer=100; do{ timer--; }while (timer>0);  + timer=200; do{ timer--; }while (timer>0);  
- //after 0.1sec delay motion is definetely started+ //after 0.2sec delay motion is definetely started
  do { timer++;code=gvarget(6060); }while(code!=0x4d);  do { timer++;code=gvarget(6060); }while(code!=0x4d);
  //then ait till motion finished  //then ait till motion finished
plc/plc_gas_cutting_implementation.1496810254.txt.gz · Last modified: 2017/06/07 00:37 by skirillov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki