User Tools

Site Tools


plc: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:plc [2018/09/25 17:36] skirillovplc:plc [2018/12/27 14:30] skirillov
Line 71: Line 71:
 | <code>>=</code> | more or equal than | <code>if (a>=0xf) ......</code> | | <code>>=</code> | more or equal than | <code>if (a>=0xf) ......</code> |
 | <code><</code> | less than | <code>if (c<10) ......</code> | | <code><</code> | less than | <code>if (c<10) ......</code> |
-| <code><=</code> | less or equal than | if (a<=b) ...... | +| <code><=</code> | less or equal than | <code>if (a<=b) ......</code> 
-| <code>++</code> | variable post increment | x++; | +| <code>++</code> | variable post increment | <code>x++;</code> 
-| <code>--</code> | variable post decrement | a--; |+| <code>--</code> | variable post decrement | <code>a--;</code> |
  
   * PLC functions   * PLC functions
Line 423: Line 423:
 | GVAR_CURRENT_PROGRAM_POSITION | 5041, 5042, 5043, 5044, 5045, 5046 | | | GVAR_CURRENT_PROGRAM_POSITION | 5041, 5042, 5043, 5044, 5045, 5046 | |
 | GVAR_ENCODER_Z_EVENT | | | | GVAR_ENCODER_Z_EVENT | | |
-| --- | 17000 | Return Current PROGRAM X Position in PLC units (0.01mm) | +| --- | 17001 | Return Current PROGRAM X Position in PLC units (0.01mm) | 
-| --- | 17001 | Return Current PROGRAM Y Position in PLC units (0.01mm) | +| --- | 17002 | Return Current PROGRAM Y Position in PLC units (0.01mm) | 
-| --- | 17002 | Return Current PROGRAM Z Position in PLC units (0.01mm) | +| --- | 17003 | Return Current PROGRAM Z Position in PLC units (0.01mm) | 
-| --- | 17003 | Return Current PROGRAM A Position in PLC units (0.01degree) | +| --- | 17004 | Return Current PROGRAM A Position in PLC units (0.01degree) | 
-| --- | 17004 | Return Current PROGRAM B Position in PLC units (0.01degree) | +| --- | 17005 | Return Current PROGRAM B Position in PLC units (0.01degree) | 
-| --- | 17005 | Return Current PROGRAM C Position in PLC units (0.01degree) | +| --- | 17006 | Return Current PROGRAM C Position in PLC units (0.01degree) | 
-| --- | 17006 | Return Current PROGRAM U Position in PLC units (0.01mm) | +| --- | 17007 | Return Current PROGRAM U Position in PLC units (0.01mm) | 
-| --- | 17007 | Return Current PROGRAM V Position in PLC units (0.01mm) | +| --- | 17008 | Return Current PROGRAM V Position in PLC units (0.01mm) | 
-| --- | 17008 | Return Current PROGRAM W Position in PLC units (0.01mm) | +| --- | 17009 | Return Current PROGRAM W Position in PLC units (0.01mm) | 
-| --- | 17020 | Return Current MACHINE X Position in PLC units (0.01mm) | +| --- | 17021 | Return Current MACHINE X Position in PLC units (0.01mm) | 
-| --- | 17021 | Return Current MACHINE Y Position in PLC units (0.01mm) | +| --- | 17022 | Return Current MACHINE Y Position in PLC units (0.01mm) | 
-| --- | 17022 | Return Current MACHINE Z Position in PLC units (0.01mm) | +| --- | 17023 | Return Current MACHINE Z Position in PLC units (0.01mm) | 
-| --- | 17023 | Return Current MACHINE A Position in PLC units (0.01degree) | +| --- | 17024 | Return Current MACHINE A Position in PLC units (0.01degree) | 
-| --- | 17024 | Return Current MACHINE B Position in PLC units (0.01degree) | +| --- | 17025 | Return Current MACHINE B Position in PLC units (0.01degree) | 
-| --- | 17025 | Return Current MACHINE C Position in PLC units (0.01degree) | +| --- | 17026 | Return Current MACHINE C Position in PLC units (0.01degree) | 
-| --- | 17026 | Return Current MACHINE U Position in PLC units (0.01mm) | +| --- | 17027 | Return Current MACHINE U Position in PLC units (0.01mm) | 
-| --- | 17027 | Return Current MACHINE V Position in PLC units (0.01mm) | +| --- | 17028 | Return Current MACHINE V Position in PLC units (0.01mm) | 
-| --- | 17028 | Return Current MACHINE W Position in PLC units (0.01mm) |+| --- | 17029 | Return Current MACHINE W Position in PLC units (0.01mm) |
  
plc/plc.txt · Last modified: 2022/11/07 16:03 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki