User Tools

Site Tools


mycnc:servo_on_off

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
mycnc:servo_on_off [2019/10/21 15:14] ivanmycnc:servo_on_off [2021/06/04 15:40] (current) ivan
Line 1: Line 1:
 =====Servo ON/OFF===== =====Servo ON/OFF=====
 +
 +{{youtube>SwAvt7fxFoo?large}}
  
 **Summary**: It is necessary to have the following 4 Software PLC commands: %%__HANDLER_INIT%% to start the servo when the myCNC software is turned on, %%__HANDLER_EXIT%% to turn the servo off when the software is shut down, %%__HANDLER_SERVO_ON%% to manually turn on the servo, and %%__HANDLER_SERVO_OFF%% to manually turn it off. This is done through the use of the 60000 and 60001 global variables.  **Summary**: It is necessary to have the following 4 Software PLC commands: %%__HANDLER_INIT%% to start the servo when the myCNC software is turned on, %%__HANDLER_EXIT%% to turn the servo off when the software is shut down, %%__HANDLER_SERVO_ON%% to manually turn on the servo, and %%__HANDLER_SERVO_OFF%% to manually turn it off. This is done through the use of the 60000 and 60001 global variables. 
Line 52: Line 54:
  
 {{:mycnc:software-plc-003-servo-on-off.png}} {{:mycnc:software-plc-003-servo-on-off.png}}
 +
 +The Servo ON output for enabling/disabling the servo should be set in Settings > Config > Axes/Motors:
 +
 +{{:mycnc:servo-on-off-001-servo-on-out.png}}
mycnc/servo_on_off.1571685293.txt.gz · Last modified: 2019/10/21 15:14 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki