15.07.2013 Views

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

Automatic control function programming manual ladder language

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.

- Select spindle b <strong>control</strong>: COMBRb = 1<br />

- Read the miscellaneous <strong>function</strong> for the<br />

group (M3 or M4) defining spindle<br />

rotation direction:<br />

. M04_g = 1: counterclockwise<br />

. M03_g = 1: clockwise<br />

- Add the sign bit depending on the<br />

spindle rotation direction to the spindle<br />

speed:<br />

Sign<br />

In the programme<br />

VITBRb<br />

- Load the value obtained in the spindle<br />

speed setting: C_VITBRb<br />

Programming of<br />

a spindle assigned to<br />

axis group g<br />

In the programme<br />

- read the spindle number (b) assigned<br />

to group g:<br />

. M61_g = 1: no spindle assigned<br />

. M64_g = 1: spindle 1<br />

. M65_g = 1: spindle 2<br />

. M62_g = 1: spindle 3<br />

. M63_g = 1: spindle 4<br />

Requirements:<br />

- Spindle parameterised (see<br />

Parameter Manual)<br />

- Spindle address wired (see<br />

Installation Manual)<br />

. @24: spindle 1 @25: spindle 2<br />

. @26: spindle 3 @27: spindle 4<br />

NO<br />

Spindle<br />

<strong>control</strong>led by an axis<br />

card<br />

?<br />

END<br />

YES<br />

YES<br />

Axis card DAC<br />

<strong>control</strong>led by the CNC<br />

<strong>function</strong><br />

?<br />

In the programme<br />

- Select spindle b <strong>control</strong> by the CNC:<br />

COMBRb = 0<br />

NO<br />

Figure 3.3 - Programming of a spindle<br />

In the programme<br />

Variables<br />

Unmeasured spindle <strong>control</strong>led<br />

by DAC of the machine processor, of<br />

an 8I/8O analogue card or of the UCSII<br />

- Read the group miscellaneous <strong>function</strong><br />

(M3 or M4) defining the spindle rotation<br />

direction:<br />

. M04_g = 1: counterclockwise<br />

. M03_g = 1: clockwise<br />

- Read VITBRb and encode the speed<br />

according to the DAC<br />

- Send the DAC the sign corresponding<br />

to the rotation direction and the<br />

encoded speed<br />

en-938846/8 3 - 47<br />

3

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

Saved successfully!

Ooh no, something went wrong!