Installation manual.
CNC 8060
CNC 8065
4.
PLC PROGRAMMIN
G
.
Consi
deration
s
for some fu
ncti
ons.
·372·
(R
EF
: 1709)
4.5
Considerations for some functions.
4.5.1
Work zones.
The work zones may be defined, enabled and disabled from the PLC using the command
CNCWR, writing the corresponding variables.
Syntax of the variables.
·ch·
Channel number.
·k·
Zone number.
·xn·
Name, logic number or index of the axis.
Example of how to activate a work zone from the PLC.
The following example shows how to define a forbidden zone of the X axis the area between
position 0 and 100 mm (1000000 tenth-thousands of a mm).
The coordinates will be given in ten-thousandths if they are in mm or hundred-thousandths
if they are in inches.
Variable.
Meaning.
[ch].A.ZONELIMITTOL.xn
Safety distance of the limits of the work zones.
[ch].G.ZONEST[k]
Status of work zone [K].
(0=Disabled zone).
(1=Work zone enabled as no-entry).
(2=Work zone enabled as no-exit).
[ch].A.ZONELOWLIM[k].xn
Lower limit of zone [k].
[ch].A.ZONEUPLIM[k].xn
Upper limit of zone [k].
[ch].G.ZONECIRAX1[k] Logic
axis
corresponding
to the first coordinate of the center of
zone [k].
[ch].G.ZONECIRAX2[k] Logic
axis
corresponding to the second coordinate of the center
of zone [k].
[ch].G.ZONECIR1[k]
Center coordinate of zone [k] along the first axis that defines the
circular zone.
[ch].G.ZONECIR2[k]
Center coordinate of zone [k] along the second axis that defines
the circular zone.
[ch].G.ZONER[k]
Radius of zone [k] (circular zone).
[ch].G.ZONETOOLWATCH[k]
Monitor the tool tip or the tool base.
(0=Monitor the tool tip).
(1=Monitor the tool base).
(2=Monitor the tool tip and the tool base).
[2].G.ZONEST[1]
Channel ·2·. Zone 1.
A.ZONEUPLIM[1].Z
Z axis. Zone 1.
A.ZONEUPLIM[1].4
Axis with logic number ·4·. Zone 1.
[2].A.ZONEUPLIM[1].1
Axis with index ·1· in the channel ·2·. Zone 1.
<condition> = MOV 0 R1 = CNCWR(R1, A.ZONELOWLIM[1].X, M1)
= MOV 1000000 R1 = CNCWR(R1, A.ZONEUPLIM[1].X, M1)
= MOV 1 R1 = CNCWR(R1, G.ZONEST[1], M1)
Summary of Contents for CNC 8060
Page 1: ...Ref 1709 8060 8065 CNC Installation manual...
Page 10: ...BLANK PAGE 10...
Page 14: ...BLANK PAGE 14...
Page 20: ...BLANK PAGE 20...
Page 32: ...BLANK PAGE 32...
Page 36: ...BLANK PAGE 36...
Page 38: ...BLANK PAGE 38...
Page 40: ...BLANK PAGE 40...
Page 41: ...PART 1 INSTALLATION MANUAL...
Page 42: ...BLANK PAGE 42...
Page 532: ...Installation manual CNC 8060 CNC 8065 9 CNC VARIABLES 532 REF 1709...
Page 533: ...PART 2 CONCEPTS...
Page 534: ...BLANK PAGE 534...
Page 548: ...Installation manual CNC 8060 CNC 8065 10 GENERAL SETUP Configuration examples 548 REF 1709...
Page 644: ...Installation manual CNC 8060 CNC 8065 14 SUBROUTINES Assistance for subroutines 644 REF 1709...
Page 668: ...Installation manual CNC 8060 CNC 8065 15 HARDWARE Configure the PT100 inputs 668 REF 1709...
Page 697: ...Installation manual CNC 8060 CNC 8065 697 User notes REF 1709...