EasyManua.ls Logo

Fagor CNC 8055i FL EN - Page 585

Fagor CNC 8055i FL EN
732 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Installation manual
CNC 8055
CNC 8055i
AXES CONTROLLED FROM THE PLC
14.
SOFT: V02.2X
·585·
PLC execution channel
Blocks programmed in high-level language
The high-level instructions that can be used in the PLC execution channel are:
(IF condition <action1> ELSE <action2>)
(CALL (expression))
Programming high-level blocks has the following restrictions:
The programmed blocks can only work with global parameters.
Up to 5 nesting levels of standard subroutines are allowed (neither parametric nor global).
Interrupt block preparation
Same as in the CNC channel, blocks are also prepared in advance in the PLC channel.
The value of P100 may be different before, during and after the movement of the W axis. If it is to
be analyzed after moving the axis, function G4 must be programmed.
Likewise, every time a PLC resource is accessed (I, O, M, R), block preparation is interrupted.
CNCEX ((CALL 100), M1000)
Sends the (CALL 100) command to the CNC so it executes (calls) subroutine 100
CNCEX ((P100=P100+2), M1000)
Sends the (P100=P100+2) command to the CNC to increment the value of parameter P100 in 2 units.
Example in mm:
Move the W axis to the coordinate indicated by register R101.
When the PLC works with integers (32 bits), the value of register R2 is given in tenths of microns (0.0001
mm).
CNCWR (R101, GUP 155, M101)
Assigns the value indicated in R101 to global parameter P155.
CNCEX ((P155=P155/10000), M101)
Converts the value of P155 into mm.
CNCEX (G1 WP155 F2000, M101)
Movement of the W axis
CNCEX (G1 W100, M101)
Movement of the W axis.
CNCEX (IF P100=0 <action1>)
P100 is analyzed during block preparation.
CNCEX (G1 W100, M101)
Movement of the W axis
CNCEX (G4, M102)
Interrupts block preparation.
CNCEX (IF P100=0 <action1>)
P100 is analyzed after moving the axis.
CNCEX (G1 W100, M101)
Movement of the W axis.
CNCEX (IF PLCI8=1 <action2>)
I8 is checked after moving the axis.

Table of Contents

Related product manuals