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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Execution channels<br />

4.4 Transferring auxiliary functions -M-, -H-, -S-.<br />

The M and H functions are transferred per channel. Transferring S functions does not depend<br />

on the channel. When executing a block that contains M, H, S functions, the following<br />

information is transferred to the PLC.<br />

Transferring –M– functions.<br />

The CNC assigns the numbers of the M functions programmed in the block to registers<br />

MFUN1 through MFUN7. Some M functions have an associated function (DMxx) that is<br />

activated when sending the M to the PLC.<br />

M00 M01 M02 M03 M04<br />

M05 M06 M08 M09 M19<br />

M30 M41 M42 M43 M44<br />

The CNC activates the general logic output MSTROBE to "tell" the PLC that it must execute<br />

them. This mark is kept active for a time period indicated by parameter MINA<strong>EN</strong>DW.<br />

Depending on the type of synchronization, the CNC will either wait or not for the general input<br />

AUX<strong>EN</strong>D to be activated indicating the end of the PLC execution. The type of synchronization<br />

is defined in the machine parameters<br />

The CNC cancels the general logic output MSTROBE to conclude the execution.<br />

Transferring -H- functions.<br />

The CNC assigns the numbers of the H functions programmed in the block to registers<br />

HFUN1 through HFUN7.<br />

The CNC activates the general logic output HSTROBE to "tell" the PLC that it must execute<br />

them. This mark is kept active for a time period indicated by parameter MINA<strong>EN</strong>DW.<br />

After this time period, the CNC considers its execution completed because there is no<br />

synchronization.<br />

When sending several blocks in a row just having H functions, the CNC waits twice the time<br />

indicated in parameter MINA<strong>EN</strong>DW.<br />

N10 H60<br />

N20 H30 H18<br />

N30 H40<br />

Transferring -S- functions.<br />

The CNC assigns the values of the S programmed in each spindle to registers SFUN1<br />

through SFUN4.<br />

The CNC activates the general logic output SSTROBE to "tell" the PLC that it must execute<br />

it. The CNC waits for the general input AUX<strong>EN</strong>D to be activated indicating the end of the PLC<br />

execution.<br />

The CNC cancels the general logic output SSTROBE to conclude the execution.<br />

4.<br />

CNC-PLC COMMUNICATION.<br />

Transferring auxiliary functions -M-, -H-, -S-.<br />

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

(REF: 1103)<br />

·75·

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

Saved successfully!

Ooh no, something went wrong!