Bystronic NCP and LCC viewer
Open an NCP or LCC program without BySoft. See the sheet, every part and the order of the cuts, and find out why a control might refuse the file. Free, in your browser.
or drop one anywhere on this page. NCP, LCC or LST. No file at hand? Try , or .
Program text 287 lines
% (<NcpProgram Version="1.0" Units="Metric" CNCVersion="P8103">) (<MaterialInfo RawMatCodeCode="TEST-MS-3" Label="Mild Steel;3mm;1000x500" Thickness="3" FormatType="Sheet" DimX="1000" DimY="500"/>) (<ProcessInfo CutTechnology="Laser" ProcessGas="O2" Additional="-"/>) (<Plan JobCode="DEMO-NEST" Label="DEMO-NEST">) ( PROGRAMME DE TEST LASERCAM - NON VALIDE POUR PRODUCTION ) N1G29X1000Y500P1H1 N2G52X10Y10L1 N3G52X10Y318.0125L2 N4G52X138Y318.0125L2 N5G52X318.6667Y218L3 N6G52X577.3333Y218L4 N7G52X786Y268L4 N8G52X836Y10L5 N9G52X627.3333Y10L6 N10G52X318.6667Y10L7 N11G99 (</Plan>) (<Part PartCode="TEST006" Debit="1" Label="TEST006">) N1000G28X300Y300L1P1 N1001G0X30Y25 N1002G10S0 N1003G41 N1004G1X33Y25M04 N1005G3X33Y25I25J25M05 N1006G40 N1007G0X167Y150 N1008G10S0 N1009G41 N1010G1X170Y150M04 N1011G3X170Y150I150J150M05 N1012G40 N1013G0X97Y150 N1014G10S0 N1015G41 N1016G1X100Y150M04 N1017X100Y200 N1018X200Y200 N1019X200Y100 N1020X100Y100 N1021X100Y150M05 N1022G40 N1023G0X150Y53 N1024G10S0 N1025G41 N1026G1X150Y50M04 N1027X250Y50 N1028X250Y250 N1029X50Y250 N1030X50Y50 N1031X150Y50M05 N1032G40 N1033G0X-3Y150 N1034G10S0 N1035G41 N1036G1X0Y150M04 N1037X0Y300 N1038X300Y300 N1039X300Y0 N1040X0Y0 N1041X0Y150M05 N1042G40 N1043G98 (</Part>) (<Part PartCode="TEST003" Debit="2" Label="TEST003">) N1044G28X120Y120L2P2 N1045G0X123Y60 N1046G10S0 N1047G41 N1048G1X120Y60M04 N1049G2X120Y60I60J60M05 N1050G40 N1051G98 (</Part>) (<Part PartCode="TEST005" Debit="1" Label="TEST005">) N1052G28X250Y150L3P3 N1053G0X70Y72 N1054G10S0 N1055G41 N1056G1X70Y69M04 N1057X94Y69 N1058G3X94Y81I94J75 N1059G1X46Y81 N1060G3X46Y69I46J75 N1061G1X70Y69M05 N1062G40 N1063G0X125Y33 N1064G10S0 N1065G41 N1066G1X125Y30M04 N1067X140Y30 N1068G3X110Y30I125J30 N1069G1X125Y30M05 N1070G40 N1071G0X181.4142Y73.5858 N1072G10S0 N1073G41 N1074G1X183.5355Y71.4645M04 N1075X194.1421Y82.0711 N1076G3X187.0711Y89.1421I190.6066J85.6066 N1077G1X165.8579Y67.9289 N1078G3X172.9289Y60.8579I169.3934J64.3934 N1079G1X183.5355Y71.4645M05 N1080G40 N1081G0X125Y153 N1082G10S0 N1083G41 N1084G1X125Y150M04 N1085X235Y150 N1086G2X250Y135I235J135 N1087G1X250Y15 N1088G2X235Y0I235J15 N1089G1X15Y0 N1090G2X0Y15I15J15 N1091G1X0Y135 N1092G2X15Y150I15J135 N1093G1X125Y150M05 N1094G40 N1095G98 (</Part>) (<Part PartCode="TEST002" Debit="2" Label="TEST002">) N1096G28X200Y100L4P4 N1097G0X57Y50 N1098G10S0 N1099G41 N1100G1X60Y50M04 N1101G3X60Y50I50J50M05 N1102G40 N1103G0X100Y103 N1104G10S0 N1105G41 N1106G1X100Y100M04 N1107X200Y100 N1108X200Y0 N1109X0Y0 N1110X0Y100 N1111X100Y100M05 N1112G40 N1113G98 (</Part>) (<Part PartCode="TEST005" Debit="1" Label="TEST005">) N1114G28X150Y250L5P5 N1115G0X78Y70 N1116G10S0 N1117G41 N1118G1X81Y70M04 N1119X81Y94 N1120G3X69Y94I75J94 N1121G1X69Y46 N1122G3X81Y46I75J46 N1123G1X81Y70M05 N1124G40 N1125G0X117Y125 N1126G10S0 N1127G41 N1128G1X120Y125M04 N1129X120Y140 N1130G3X120Y110I120J125 N1131G1X120Y125M05 N1132G40 N1133G0X76.4142Y181.4142 N1134G10S0 N1135G41 N1136G1X78.5355Y183.5355M04 N1137X67.9289Y194.1421 N1138G3X60.8579Y187.0711I64.3934J190.6066 N1139G1X82.0711Y165.8579 N1140G3X89.1421Y172.9289I85.6066J169.3934 N1141G1X78.5355Y183.5355M05 N1142G40 N1143G0X-3Y125 N1144G10S0 N1145G41 N1146G1X0Y125M04 N1147X0Y235 N1148G2X15Y250I15J235 N1149G1X135Y250 N1150G2X150Y235I135J235 N1151G1X150Y15 N1152G2X135Y0I135J15 N1153G1X15Y0 N1154G2X0Y15I15J15 N1155G1X0Y125M05 N1156G40 N1157G98 (</Part>) (<Part PartCode="TEST008" Debit="1" Label="TEST008">) N1158G28X200Y200L6P6 N1159G0X31Y30 N1160G10S3 N1161G41 N1162G1X34Y30M04 N1163G3X34Y30I30J30M05 N1164G40 N1165G0X117Y100 N1166G10S0 N1167G41 N1168G1X120Y100M04 N1169G3X120Y100I100J100M05 N1170G40 N1171G0X100Y153 N1172G10S0 N1173G41 N1174G1X100Y150M04 N1175X140Y150 N1176X140Y180 N1177X60Y180 N1178X60Y150 N1179X100Y150M05 N1180G40 N1181G0X173Y30 N1182G10S3 N1183G41 N1184G1X176Y30M04 N1185G3X176Y30I170J30M05 N1186G40 N1187G0X-3Y100 N1188G10S0 N1189G41 N1190G1X0Y100M04 N1191X0Y200 N1192X200Y200 N1193X200Y0 N1194X0Y0 N1195X0Y100M05 N1196G40 N1197G98 (</Part>) (<Part PartCode="TEST004" Debit="1" Label="TEST004">) N1198G28X300Y200L7P7 N1199G0X22Y20 N1200G10S3 N1201G41 N1202G1X25Y20M04 N1203G3X25Y20I20J20M05 N1204G40 N1205G0X102Y60 N1206G10S3 N1207G41 N1208G1X105Y60M04 N1209G3X105Y60I100J60M05 N1210G40 N1211G0X172Y100 N1212G10S0 N1213G41 N1214G1X175Y100M04 N1215G3X175Y100I150J100M05 N1216G40 N1217G0X202Y140 N1218G10S3 N1219G41 N1220G1X205Y140M04 N1221G3X205Y140I200J140M05 N1222G40 N1223G0X282Y180 N1224G10S3 N1225G41 N1226G1X285Y180M04 N1227G3X285Y180I280J180M05 N1228G40 N1229G0X282Y20 N1230G10S3 N1231G41 N1232G1X285Y20M04 N1233G3X285Y20I280J20M05 N1234G40 N1235G0X22Y180 N1236G10S3 N1237G41 N1238G1X25Y180M04 N1239G3X25Y180I20J180M05 N1240G40 N1241G0X150Y203 N1242G10S0 N1243G41 N1244G1X150Y200M04 N1245X300Y200 N1246X300Y0 N1247X0Y0 N1248X0Y200 N1249X150Y200M05 N1250G40 N1251G98 (</Part>) (</NcpProgram>) %
Words used in this file
% × 2 COMMENT × 21 XML:NcpProgram × 2 XML:MaterialInfo × 1 XML:ProcessInfo × 1 XML:Plan × 2 G99 × 1 XML:Part × 14 G28 × 7 G98 × 7 G29 × 1 G52 × 9 G0 × 32 G10S × 32 G41 × 32 G1 × 50 M04 × 32 G3 × 24 IJ_ABSOLUTE × 34 M05 × 32 G40 × 32 G2 × 10
How an NCP or LCC file is put together
- It is plain text between two % lines. An NCP opens with a header written as XML inside comments: units, material, thickness, sheet size and gas. An LCC has no such header.
- The plan comes first. A G29 line gives the sheet, then one G52 line per part placed, each calling a part by its L number. G99 ends the plan.
- The parts follow. Each is a subprogram that opens with G28 and its L number and closes with G98. Inside it, G0 moves with the laser off, M04 at the end of a block switches the laser on, G1, G2 and G3 cut, and M05 switches it off.
- Speed, power and gas pressure are not in the file. The control takes them from its own cutting parameters, chosen by material and thickness.
- In BySoft files the I and J of an arc give its centre in absolute coordinates. Files from ALMA-based software give a radius, R, instead.
Why a Bystronic control refuses a file
- Text where a number belongs. A name after P in the G29 line gives a “parse error”.
- Moves written straight into the plan. The control loads parts only from subprograms placed by a G52 line.
- G10 without an S value.
- Arc centres given relative to the start of the arc. Circles come out wrong.
These come from comparing programs that run with programs that were refused, as machine owners have published them. They are observations, not Bystronic documentation. The viewer flags the first three: open “a file the control refuses” above to see how.
Your file stays on your computer
The viewer is a program that runs inside this page. Opening a file reads it from your disk into the browser; nothing is sent to a server and there is no account. Close the tab and it is gone.
It is free, with nothing to install and no limit on the number of files.
A drawing is not a test
The viewer shows what the file asks for, as far as the format is understood. Parts of both formats have no public documentation, and each control version has its own habits. Run a program through your machine’s own simulation before you cut.
From a DXF to a program your machine runs
LaserCAM is the software behind this viewer. It nests parts on the sheet, sets lead-ins and cutting order, and writes NCP, LCC and LST programs. It is not open yet, because each machine and control version has to be validated on real cuts first.