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 revision Previous revision
plc:plc [2019/10/18 11:27]
ivan
plc:plc [2019/10/18 11:50] (current)
ivan
Line 32: Line 32:
 === PLC Language === === PLC Language ===
  
-  * PLC operates with 32 bits integer values only. Floating point operations don't work in PLC.+  * PLC operates with 32 bits integer values only. Floating point operations don't work in PLC (typically need to use coefficient conversions to allow for more granular control).
   * There is no need to declare variables. There is very limited space of 32 elements for variables. ​   * There is no need to declare variables. There is very limited space of 32 elements for variables. ​
   * There a number of pre-defined variables in the PLC   * There a number of pre-defined variables in the PLC
-    * eparam - External Parameter variable. A short manual ​on eparam ​is available here: [[plc:​plc:​eparam|PLC - eparam]] +    * eparam - External Parameter variable. A short manual is available here: [[plc:​plc:​eparam|Eparam]] 
     * **proc** - variable is used to identify a process running in the PLC. \\ The value is sent to the CNC control software and can be used to display Current PLC state (like Idle, Ignition (for plasma cutting), preheat (gas cutting), Tool change, Probing etc)     * **proc** - variable is used to identify a process running in the PLC. \\ The value is sent to the CNC control software and can be used to display Current PLC state (like Idle, Ignition (for plasma cutting), preheat (gas cutting), Tool change, Probing etc)
     * **timer** - value can be used as time counter inside PLC procedure     * **timer** - value can be used as time counter inside PLC procedure
plc/plc.txt ยท Last modified: 2019/10/18 11:50 by ivan