User Tools

Site Tools


plc:motion_commands_from_plc

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:motion_commands_from_plc [2017/09/26 23:48] skirillovplc:motion_commands_from_plc [2017/09/26 23:49] skirillov
Line 5: Line 5:
  
 Procedure **g0moveA** is used to send motion command from PLC to motion controller. Procedure **g0moveA** is used to send motion command from PLC to motion controller.
-Procedure has 3 parameters - <code c>g0moveA(flags, axes_mask, distance)</code>+Procedure has 3 parameters - <code c>g0moveA(flags, axes_mask, distance);</code>
   * **flags**   * **flags**
     * bit 0 - absolute programming (0 - incremental, 1- absolute)     * bit 0 - absolute programming (0 - incremental, 1- absolute)
Line 99: Line 99:
 </code> </code>
  
-First block of this procedure check if spindle currently is O, and **lift_up** variable is positive value and the lift tool up for given value set in plc-variables.xml configuration file. For those who don't need this lifting can remove the lines and rebuild PLC (see rebuild buttons in [[plc:plc_builder|PLC Builder interface]]+First block of this procedure check if spindle currently is O, and **lift_up** variable is positive value and the lift tool up for given value set in plc-variables.xml configuration file. For those who don't need this lifting can remove the lines and rebuild PLC (see rebuild buttons in [[plc:plc_builder|PLC Builder interface]] )
  
plc/motion_commands_from_plc.txt · Last modified: 2024/02/21 13:58 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki