EasyManua.ls Logo

Fagor CNC 8065 - Auxiliary -H- Functions

Fagor CNC 8065
900 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
·278·
Installation manual
CNC 8060
CNC 8065
5.
CNC-PLC COMMUNICATION.
(REF: 1402)
Auxiliary –H– functions.
5.2 Auxiliary –H– functions.
Up to 7 M and 7 H functions may be programmed in a block. The treatment of the auxiliary
H functions is similar to the M functions without synchronization.
The CNC indicates to the PLC which auxiliary H functions are programmed in the execution
block using 32-bit registers HFUN1 through HFUN7. Each one of them indicates the number
of one of the H functions programmed in the block. If all the registers are not used, the CNC
assigns $FFFFFFFF to the unused ones (those with the highest numbers).
This way, if a block contains functions H12, H20 and H35, the CNC will transfer the following
information to the PLC.
Command HFUN*. Checking if a function has been programmed in the block.
To know whether a particular H function is programmed in the execution block, use one of
the following methods:
Check all the HFUN registers one by one until that particular H function is found or until
one of them has the value of $FFFFFFFF.
Use the HFUN* format to check all the HFUN registers at the same time.
Sending and synchronizing the function.
The H functions are not synchronized and are sent out to the PLC at the beginning of block
execution.
The transfer of auxiliary H functions is described later on in this chapter. See
"5.4 Transferring auxiliary functions -M-, -H-, -S-." on page 282.
HFUN1 HFUN2 HFUN3 HFUN4 - HFUN7
12 20 35 $FFFFFFFF
Example to detect H77: If it has been programmed, it will return a "1", and a "0" if otherwise.
CPS HFUN* EQ 77 = ...
When executing a block like this:
X100 F1000 H11 H12
The functions are transferred as follows:
1 Functions H11 and H12 are sent out to the PLC
2 It does not wait for confirmation and the CNC moves the axis to X100.

Table of Contents

Other manuals for Fagor CNC 8065

Related product manuals