Installation manual
CNC 8060
CNC 8065
CNC-PLC COMMUNICATION.
5.
(REF: 1402)
·279·
Auxiliary –H– functions.
5.2.1 Special considerations with the multi-spindle option and channels.
The CNC may have up to 4 channels and each channel can execute a part-program in parallel
with the rest. This means that each channel can execute seven auxiliary functions
simultaneously. The auxiliary functions executed from each channel are treated
independently; to do that, each channel has its own marks and registers.
Marks and registers in the channels option.
Each channel has 32-bit registers HFUN1 to HFUN7 to indicate to the PLC which auxiliary
H functions are programmed in the execution block.
HFUN1C1 - HFUN7C1 for the first channel.
HFUN1C2 - HFUN7C2 for the second channel.
HFUN1C3 - HFUN7C3 for the third channel.
HFUN1C4 - HFUN7C4 for the fourth channel.
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 functions H10 and H13 are programmed in the first channel and functions H8
and H10 in the second channel, the CNC will transfer the following data.
Commands HFUNC1* - HFUNC4*. Checking if a function has been programmed in the
channel.
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 one of the following commands to check all the HFUN registers of the channel at
the same time.
HFUNC1* For channel 1
HFUNC2* For channel 2.
HFUNC3* For channel 3.
HFUNC4* For channel 4.
HFUN1C1 HFUN2C1 HFUN3C1 - HFUN7C1
10 13 $FFFFFFFF
HFUN1C2 HFUN2C2 HFUN3C2 - HFUN7C2
8 10 $FFFFFFFF