EN: man_8065_chn.pdf - Fagor Automation
EN: man_8065_chn.pdf - Fagor Automation
EN: man_8065_chn.pdf - Fagor Automation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
6.<br />
PROGRAMMING IN A SYSTEM WITH CHANNELS.<br />
Spindle swapping.<br />
CNC <strong>8065</strong><br />
(REF: 1103)<br />
·106·<br />
6.4.6 Variables related to the spindle configuration of the channel.<br />
(V.)[ch].G.NSPDL<br />
Variable that can only be read from the program, PLC and interface.<br />
The variable returns the value of block preparation.<br />
Report variable (to be used from the scripts).<br />
Number of spindles of the channel.<br />
Syntax.<br />
·ch· Channel number.<br />
V.[2].G.NSPDL Channel ·2·.<br />
(V.)[ch].G.MASTERSP<br />
Variable that can only be read from the program, PLC and interface.<br />
The variable returns the value of block preparation.<br />
Logic number of the master spindle of the channel.<br />
Syntax.<br />
·ch· Channel number.<br />
V.[2].G.MASTERSP Channel ·2·.<br />
Execution channels<br />
(V.)[ch].A.ACTCH.xn<br />
(V.)[ch].A.ACTCH.sn<br />
(V.)[ch].SP.ACTCH.sn<br />
Variable that can only be read from the program, PLC and interface.<br />
Variable valid for rotary and linear axes as well as for spindles.<br />
The variable returns the value of execution or preparation depending on the axis or spindle.<br />
Current channel of the axis or of the spindle.<br />
Syntax.<br />
·ch· Channel number.<br />
·xn· Name, logic number or index of the axis.<br />
·sn· Name, logic number or index of the spindle.<br />
V.A.ACTCH.Z Z axis.<br />
V.A.ACTCH.S Spindle S.<br />
V.SP.ACTCH.S Spindle S.<br />
V.SP.ACTCH Master spindle.<br />
V.A.ACTCH.4 Axis or spindle with logic number ·4·.<br />
V.[2].A.ACTCH.1 Axis with index ·1· in the channel ·2·.<br />
V.SP.ACTCH.2 Spindle with index ·2· in the system.<br />
V.[2].SP.ACTCH.1 Spindle with index ·1· in the channel ·2·.<br />
Remarks.<br />
The variable returns the value of execution or preparation as follows. If the spindle belongs<br />
to the channel requesting the variable, it returns the preparation value; if the axis or spindle<br />
belongs to a different channel, the variable returns the execution value and interrupts block<br />
preparation.<br />
Special returned values.<br />
This variable returns one of the following values.<br />
Value. Meaning.<br />
0 The axis or spindle is not in any channel.<br />
1 - 4 Channel number.