28.08.2013 Views

CNC 8035 - Programming manual - Fagor Automation

CNC 8035 - Programming manual - Fagor Automation

CNC 8035 - Programming manual - 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.

<strong>Programming</strong> <strong>manual</strong><br />

11.<br />

HIGH-LEVEL LANGUAGE PROGRAMMING<br />

Variables<br />

<strong>CNC</strong> <strong>8035</strong><br />

·T· MODEL<br />

(SOFT V16.3X)<br />

·218·<br />

OEM (manufacturer's) parameters<br />

OEM parameters and subroutines with OEM parameters can only be used in OEM programs; those<br />

defined with the [O] attribute. Modifying one of these parameters in the tables requires an OEM<br />

password.<br />

Using arithmetic parameters by the cycles<br />

Multiple machining cycles (G60 through G65) and the machining canned cycles (G69, G81 to G89)<br />

use the sixth nesting level of local parameters when they are active.<br />

Machining canned cycles use the global parameter P299 for internal calculations and probing<br />

canned cycles use global parameters P294 to P299.<br />

Updating arithmetic parameter tables<br />

The <strong>CNC</strong> will update the parameter table after processing the operations indicated in the block that<br />

is in preparation. This operation is always done before executing the block and for this reason, the<br />

values shown in the table do not necessarily have to correspond to the block being executed.<br />

If the execution mode is abandoned after interrupting the execution of the program, the <strong>CNC</strong> will<br />

update the parameter tables with values corresponding to the block that was being executed.<br />

When accessing the local parameter and global parameter table, the value assigned to each<br />

parameter may be expressed in decimal notation (4127.423) or in scientific notation (0.23476 E-3).<br />

Arithmetic parameters in the subroutines<br />

This <strong>CNC</strong> has high level instructions that allow the definition and use of subroutines that can be<br />

called from the main program, or from another subroutine, it also being possible to call a second<br />

subroutine, from the second to a third, etc. The <strong>CNC</strong> limits these calls to a maximum of 15 nesting<br />

levels.<br />

Up to 26 (P0-P25) local parameters may be assigned to a subroutine. These parameters, that will<br />

be unknown for blocks outside the subroutine, may be referred to by the blocks that make up the<br />

subroutine.<br />

Local parameters may be assigned to more than one subroutine up to 6 parameter nesting levels<br />

within the 15 subroutine nesting levels.

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

Saved successfully!

Ooh no, something went wrong!