Woodwop 5.0: Tutorial
Now, to change the hole position, you just change Line 1 and Line 2. The machine logic stays perfect. Prevent crashes. If the board is too thin, stop the program.
%P X=600 Y=400 Z=18 IF Z < 10 THEN GOTO "ERROR" ; ... rest of machining here ... M30 "ERROR:" M25 "Board too thin!"
%P X=600 Y=400 Z=18 %TOOL=5 G0 X50 Y100 Z10 CYCLE 81 (Z= -12, F=200, D=5) G0 Z30 M30 Hit Simulate. You should see the green drill bit plunge precisely where you intended. What makes WoodWOP 5.0 superior to old controllers is Variables . Instead of typing X50 , you type X=[#A] . woodwop 5.0 tutorial
#A = 50 ; Left edge distance #B = 100 ; Bottom edge distance #C = -12 ; Depth G0 X=[#A] Y=[#B] Z10 CYCLE 81 (Z=[#C], F=200)
G0 X50 Y100 Z10 ; Rapid move to safe height above the hole Instead of writing G1 Z-12 F200 , we use a cycle. Now, to change the hole position, you just
%TOOL=5 ; Select drill bit %T5 ; Activate tool parameters In WoodWOP 5.0, the semicolon ( ; ) is your friend. It allows you to write comments so you remember what you did next week. Move to the drilling location. Never drill without moving first.
You have to drill 10 cabinet backs, each with a different width. Instead of editing 10 lines of code, you define a variable at the top. If the board is too thin, stop the program
M25 is a standard stop command that shows a message on the CNC control panel. Drilling is easy. Contour cutting is where WoodWOP 5.0 shines. To cut a shape, we use CONTOUR and CYCLE 23 (Pocket/Contour milling). Step 1: Define the Path Instead of typing G1 X... Y... for every corner, we use a named contour.