·312·
Installation manual
CNC 8055
CNC 8055i
7.
CONCEPTS
SOFT: V02.2X
Movement with an electronic handwheel
7.3.3 Feed handwheel mode
Usually, when making a part for the first time, the machine feedrate is controlled by means of the
feedrate override switch.
From this version on, it is also possible to use the machine handwheels to control that feedrate. This
way, the machining feedrate will depend on how fast the handwheel is turned. To do this, proceed
as follows:
• Inhibit all the feedrate override switch positions from the PLC.
• Detect how much the handwheel has turned (reading - counting - the pulses received).
• Set the corresponding feedrate override from the PLC depending on the pulses received from
the handwheel.
The following CNC variables return the number of pulses the handwheel has turned.
PLC programming example
The machine has a button to activate and deactivate this feature (feed handwheel) and the feedrate
control is carried out with the second handwheel.
HANPF shows the number of pulses of the 1st handwheel.
HANPS shows the number of pulses of the 2nd handwheel.
HANPT shows the number of pulses of the 3rd handwheel.
HANPFO shows the number of pulses of the 4th handwheel.
CY1
R101=0
Resets the register containing the previous handwheel reading.
END
PRG
DFU I71 = CPL M1000
Every time the button is pressed, mark M1000 is inverted.
M1000 = MSG1
If the feature is active, a message is displayed.
NOT M1000
= AND KEYDIS4 $FF800000 KEYDIS4
= JMP L101
If this feature is not active, it enables all the positions of the feedrate override switch and resumes
program execution
DFU M2009
= CNCRD(HANPS,R100,M1)
= SBS R101 R100 R102
= MOV R100 R101
= MLS R102 3 R103
= OR KEYDIS4 $7FFFFF KEYDIS4
If this feature is activated and an upflank occurs at the clock mark M2009, it reads in R100 the
handwheel pulses (HANPS), calculates in R102 the number of pulses received since the last reading,
updates R101 for the next reading, calculates in R103 the value of the right feedrate and inhibits all
the positions of the feedrate override switch (KEYDIS4).
CPS R103 LT 0 = SBS 0 R103 R103
CPS R103 GT 120 = MOV 120 R103
It adjusts the value of R103 (feedrate %). It ignores the handwheel turning direction (sign) and limits
the value to 120%
DFU M2009
= CNCWR(R103,PLCFRO,M1)
With the up flank at the clock mark M2009, set the calculated feedrate override (PLCFRO=R103)
L101
END