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.

3.<br />

LOGIC CNC INPUTS AND OUTPUTS.<br />

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

(REF: 1103)<br />

·54·<br />

Consultation and modifiable signals associated with the –H–<br />

function.<br />

Execution channels<br />

3.3 Consultation and modifiable signals associated with the –H–<br />

function.<br />

3.3.1 Consultation signals.<br />

HFUN1···HFUN7<br />

There is a register for each channel. The mnemonics for each channel are the following. Here<br />

is an example of the mnemonics for MFUN1; it is the same for the rest of the registers.<br />

HFUN1C1 (can also be programmed as HFUN1)<br />

HFUN1C2 HFUN1C3 HFUN1C4<br />

The channel uses these registers to indicate to the PLC the H auxiliary functions selected<br />

for execution. Each one of them indicates the number of one of the H functions programmed<br />

in the block.<br />

Each channel can have up to 7 H functions in a block. If all the registers are not used, the<br />

hexadecimal value $FFFFFFFF is assigned to the unused ones (those with the highest<br />

numbers).<br />

This way, if functions H10 and H13 are programmed in the first channel and functions H8<br />

and H10 in the second channel, the CNC will transfer the following data.<br />

HFUN1C1 HFUN2C1 HFUN3C1 - HFUN7C1<br />

10 13 $FFFFFFFF<br />

HFUN1C2 HFUN2C2 HFUN3C2 - HFUN7C2<br />

8 10 $FFFFFFFF<br />

Com<strong>man</strong>ds HFUNC1* - HFUNC4*. Checking if a function has been programmed in the<br />

channel.<br />

In order to know whether a particular function is programmed in the block currently being<br />

executed, all the registers may be checked one by one or the following com<strong>man</strong>ds may be<br />

used to check them all at the same time.<br />

HFUNC1* For channel 1.<br />

HFUNC2* For channel 2.<br />

HFUNC3* For channel 3.<br />

HFUNC4* For channel 4.<br />

Example for detecting H77 in channel 1. If it has been programmed, it will return a "1", and<br />

a "0" if otherwise.<br />

CPS HFUNC1* EQ 77 = ...<br />

HSTROBE<br />

There is a mark for each channel. The mnemonics for each channel are the following.<br />

HSTROBEC1 (can also be programmed as HSTROBE)<br />

HSTROBEC2 HSTROBEC3 HSTROBEC4<br />

The CNC channel sets this mark high (=1) to indicate to the PLC that it must execute the<br />

auxiliary H functions indicated in registers HFUN1 through HFUN7.

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

Saved successfully!

Ooh no, something went wrong!