HAPFO CNC lathe - NCP file format ?
Posted by
rainnea
on 2002-12-05 03:18:56 UTC
I'm writing a post-processor to a Hapfo CNC lathe.
Does anyone recognise the code below ? It's an .NCP file and I'd
really like to find some documentation on the syntax. In particular
you'll notice that the Velocity value is constantly changing and I'd
like to check how the VEL command is interpreted.
Thanks,
Rab
N000001 IMF_PBL HAPFO-CNC 4-AXES CNC
N000002 ; **************************************
N000003 ; MEGACAD WOOD-TURNING-SYSTEM V4.6
N000004 ; **************************************
N000005 ; NCP-CODE: XMAS.NCP DATE: 28.09.2001
N000006 ; **************************************
N000007 ; MILLING
N000008 WPZERO 2 ; MILLING TOOL FRONT
N000009 SETPORT A1=04D ; SPINDLE OFF
N000010 SETPORT A1=08D ; Z-AXIS ON
N000011 FASTABS X184020 Y-110000 Z-12466 ; CONTOUR NR: 1
N000012 VEL 50000
N000013 MOVEABS X184020 Y-105000 Z-12466
N000014 VEL 5000
N000015 MOVEABS X184020 Y-100000 Z-12466 ; CYLRAD
N000016 VEL 1361
N000017 MOVEABS X157973 Y-100000 Z-8773
N000018 VEL 4936
N000019 MOVEABS X160666 Y-100000 Z-8710
N000020 VEL 1361
N000021 MOVEABS X171451 Y-100000 Z-10240
N000022 VEL 4936
N000023 MOVEABS X181608 Y-100000 Z-10005
N000024 VEL 1361
N000025 MOVEABS X170824 Y-100000 Z-8475
N000026 VEL 4936
N000027 MOVEABS X173516 Y-100000 Z-8413
N000028 VEL 1361
N000029 MOVEABS X199562 Y-100000 Z-12106
N000030 VEL 4936
N000031 MOVEABS X196870 Y-100000 Z-12169
N000032 VEL 1361
N000033 MOVEABS X184660 Y-100000 Z-10437
N000034 VEL 4936
N000035 MOVEABS X174503 Y-100000 Z-10672
N000036 VEL 1361
N000037 MOVEABS X186712 Y-100000 Z-12404
N000038 VEL 4936
N000039 MOVEABS X184020 Y-100000 Z-12466
N000040 FASTABS X184020 Y-110000 Z-12466
.
. cut lines to save posting space
.
N000475 MOVEABS X376124 Y-100000 Z-7688
N000476 VEL 2032
N000477 MOVEABS X373013 Y-100000 Z-7450
N000478 MOVEABS X369932 Y-100000 Z-7144
N000479 MOVEABS X367059 Y-100000 Z-6786
N000480 FASTABS X367059 Y-110000 Z-6786
N000481 FASTABS X184020 Y-100000 Z0 ; CONTOUR NR: 0
N000482 SETPORT A1=08D
N000483 VEL 10000
N000484 PROGEND
Does anyone recognise the code below ? It's an .NCP file and I'd
really like to find some documentation on the syntax. In particular
you'll notice that the Velocity value is constantly changing and I'd
like to check how the VEL command is interpreted.
Thanks,
Rab
N000001 IMF_PBL HAPFO-CNC 4-AXES CNC
N000002 ; **************************************
N000003 ; MEGACAD WOOD-TURNING-SYSTEM V4.6
N000004 ; **************************************
N000005 ; NCP-CODE: XMAS.NCP DATE: 28.09.2001
N000006 ; **************************************
N000007 ; MILLING
N000008 WPZERO 2 ; MILLING TOOL FRONT
N000009 SETPORT A1=04D ; SPINDLE OFF
N000010 SETPORT A1=08D ; Z-AXIS ON
N000011 FASTABS X184020 Y-110000 Z-12466 ; CONTOUR NR: 1
N000012 VEL 50000
N000013 MOVEABS X184020 Y-105000 Z-12466
N000014 VEL 5000
N000015 MOVEABS X184020 Y-100000 Z-12466 ; CYLRAD
N000016 VEL 1361
N000017 MOVEABS X157973 Y-100000 Z-8773
N000018 VEL 4936
N000019 MOVEABS X160666 Y-100000 Z-8710
N000020 VEL 1361
N000021 MOVEABS X171451 Y-100000 Z-10240
N000022 VEL 4936
N000023 MOVEABS X181608 Y-100000 Z-10005
N000024 VEL 1361
N000025 MOVEABS X170824 Y-100000 Z-8475
N000026 VEL 4936
N000027 MOVEABS X173516 Y-100000 Z-8413
N000028 VEL 1361
N000029 MOVEABS X199562 Y-100000 Z-12106
N000030 VEL 4936
N000031 MOVEABS X196870 Y-100000 Z-12169
N000032 VEL 1361
N000033 MOVEABS X184660 Y-100000 Z-10437
N000034 VEL 4936
N000035 MOVEABS X174503 Y-100000 Z-10672
N000036 VEL 1361
N000037 MOVEABS X186712 Y-100000 Z-12404
N000038 VEL 4936
N000039 MOVEABS X184020 Y-100000 Z-12466
N000040 FASTABS X184020 Y-110000 Z-12466
.
. cut lines to save posting space
.
N000475 MOVEABS X376124 Y-100000 Z-7688
N000476 VEL 2032
N000477 MOVEABS X373013 Y-100000 Z-7450
N000478 MOVEABS X369932 Y-100000 Z-7144
N000479 MOVEABS X367059 Y-100000 Z-6786
N000480 FASTABS X367059 Y-110000 Z-6786
N000481 FASTABS X184020 Y-100000 Z0 ; CONTOUR NR: 0
N000482 SETPORT A1=08D
N000483 VEL 10000
N000484 PROGEND