User Tools

Site Tools


plc:plc_examples

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
Next revisionBoth sides next revision
plc:plc_examples [2020/02/03 15:05] ivanplc:plc_examples [2020/02/04 09:25] ivan
Line 129: Line 129:
   exit(99);  //normal exit    exit(99);  //normal exit 
 };</code> };</code>
 +
 +++++
  
 ++++Click to expand the M02 code | ++++Click to expand the M02 code |
Line 203: Line 205:
   exit(99);   exit(99);
 };</code> };</code>
 +
 ++++ ++++
  
 The trigger itself can be set up in Settings > Config > Inputs/Outputs/Sensors > Triggers/Timers to look the following way: The trigger itself can be set up in Settings > Config > Inputs/Outputs/Sensors > Triggers/Timers to look the following way:
  
-{{:plc:hardware-plc-002-spindle-control-trigger.png}}+{{:plc:hardware-plc-004-spindle-rising.png}}
  
-  * **Input Number** can be set to the port which the spindle feedback signal is using (#in this case) +  * **Input Number** can be set to the port which the spindle feedback signal is using (#in this case) 
-  * **Trigger** will be set to Falling Edge+  * **Trigger** will be set to Rising Edge
   * **Output** set to Not Connected   * **Output** set to Not Connected
   * **Slot** set to Stop Program   * **Slot** set to Stop Program
plc/plc_examples.txt · Last modified: 2024/02/21 13:59 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki