28.08.2013 Views

EN: man_8065_chn.pdf - Fagor Automation

EN: man_8065_chn.pdf - Fagor Automation

EN: man_8065_chn.pdf - Fagor Automation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Execution channels<br />

6.3.6 Variables related to the axis configuration of the channel.<br />

(V.)[ch].G.AXIS<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 axes of the channel.<br />

Syntax.<br />

·ch· Channel number.<br />

V.[2].G.AXIS Channel ·2·.<br />

(V.)[ch].G.NAXIS<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 axes of the channel including the empty positions of the yielded axes.<br />

Syntax.<br />

·ch· Channel number.<br />

V.[2].G.NAXIS Channel ·2·.<br />

(V.)[ch].A.ACTCH.xn<br />

(V.)[ch].A.ACTCH.sn<br />

(V.)[ch].SP.ACTCH.sn<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.<br />

6.<br />

PROGRAMMING IN A SYSTEM WITH CHANNELS.<br />

Axis swapping.<br />

CNC <strong>8065</strong><br />

(REF: 1103)<br />

·99·

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!