User Tools

Site Tools


plc:how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm

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:how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm [2019/01/07 13:15] skirillovplc:how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm [2019/01/07 13:19] skirillov
Line 143: Line 143:
  
  
-If you need to disable the procedure and remove completely the Popup message widget, then add exit command at the start of the procedure "HOMING_HANDLER" in Software PLC. Exit call is commented by default, you can just remove comment part "////"+If you need to disable the procedure and remove completely the Popup message widget, then add <code>exit(99);</code> command at the start of the procedure "HOMING_HANDLER" in Software PLC. Exit call is commented by default, you can just remove comment part
 +You need to press "Save Codebutton and restart the software to apply the changes.
  
 +Homing Handler DISABLED (No popup message)
 <code C> <code C>
 main() main()
Line 153: Line 155:
  
 {{mycnc:configuration:mycnc-popup-cfg-003.png}} {{mycnc:configuration:mycnc-popup-cfg-003.png}}
 +
 +
 +Homing Handler ENABLED (Homing popup message at the start of the software or after Emergency button pressed)
 +<code C>
 +main()
 +{
 + //exit(99);
 + ....
 +</code>
  
  
  
plc/how_to_add_mandatory_homing_after_emergency_button_and-or_servo_ready_alarm.txt · Last modified: 2019/09/05 13:24 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki