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.

5.5.9 M19. Spindle orientation<br />

With this <strong>CNC</strong> it is possible to work with the spindle in open loop (M3, M4) and with the spindle in<br />

closed loop (M19).<br />

In order to work in closed loop, it is necessary to have a rotary encoder installed on the spindle of<br />

the machine.<br />

To switch from open loop to closed loop, execute function M19 or M19 S±5.5. The <strong>CNC</strong> will act as<br />

follows:<br />

If the spindle has a home switch, the <strong>CNC</strong> modifies the spindle speed until it reaches the one<br />

set by spindle machine parameter "REFEED1".<br />

It then searches for actual marker pulse (Io) of the spindle encoder at the turning speed set by<br />

spindle machine parameter REFEED2.<br />

And, finally, it positions the spindle at the programmed S±5.5 point.<br />

If the spindle does not have a home switch, it searches the encoder marker pulse at the turning<br />

speed set by spindle machine parameter REFEED2.<br />

And, then, it positions the spindle at the programmed S±5.5 point.<br />

If only M19 is executed, the spindle is oriented to position "S0" after having "found" the home switch.<br />

To, now, orient the spindle to another position, program M19 S±5.5, the <strong>CNC</strong> will not perform the<br />

home search since it is already in closed loop and it will orient the spindle to the indicated position.<br />

(S±5.5).<br />

The S±5.5 code indicates the spindle position, in degrees, from the spindle reference point (marker<br />

pulse).<br />

The sign indicates the counting direction and the 5.5 value is always considered to be absolute<br />

coordinates regardless of the type of units currently selected.<br />

Example:<br />

S1000 M3<br />

Spindle in open loop.<br />

M19 S100<br />

The spindle switches to closed loop. Home search and positioning (orientation) at 100º.<br />

M19 S -30<br />

The spindle orients to -30º, passing through 0º.<br />

M19 S400<br />

The spindle turns a whole revolution and positions at 40º.<br />

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

ISO CODE PROGRAMMING<br />

Auxiliary function (M) 5.<br />

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

·T· MODEL<br />

(SOFT V16.3X)<br />

·87·

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

Saved successfully!

Ooh no, something went wrong!