Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

hurco post


PORT
 Share

Recommended Posts

I need help tweaking my hurco post. It worked fine in V9 but when I loaded the 9 post into X I started having trouble. There are extra sequence numbers on line 430 and at the end of the program line 720 & 730. This is just a quick sample It will do this with every program.

%

N100 G70 G75 G90

N110 G0 T235 M6

N120 G0 X.2708 Y.0938

N130 S2139 M3

N140 Z.6

N150 G1 Z0. F6.4

N160 X-.2708

N170 X-.1689 Y-.0853

N180 Y-.0938

N190 X.1689

N200 Y-.0853

N210 X.2708 Y.0938

N220 X.3165 Y.1204

N230 X.3821 Y.0999

N240 X.3898 Y.1875

N250 X-.3898

N260 X-.3821 Y.0999

N270 X-.2627 Y-.1101

N280 Y-.1875

N290 X.2626

N300 Y-.1101

N310 X.3821 Y.0999

N320 X.5654 Y.0427

N330 X.5944 Y.375

N340 X-.5944

N350 X-.5654 Y.0427

N360 X-.4502 Y-.1597

N370 X-.4501 Y-.375

N380 X.4501

N390 Y-.1597

N400 X.5654 Y.0427

N410 Z.1

N420 G0 Z.25

N430 X.2708 Y.0938 N430 Z.1

N440 G1 Z-.5 F6.4

N450 X-.2708

N460 X-.1689 Y-.0853

N470 Y-.0938

N480 X.1689

N490 Y-.0853

N500 X.2708 Y.0938

N510 X.3165 Y.1204

N520 X.3821 Y.0999

N530 X.3898 Y.1875

N540 X-.3898

N550 X-.3821 Y.0999

N560 X-.2627 Y-.1101

N570 Y-.1875

N580 X.2626

N590 Y-.1101

N600 X.3821 Y.0999

N610 X.5654 Y.0427

N620 X.5944 Y.375

N630 X-.5944

N640 X-.5654 Y.0427

N650 X-.4502 Y-.1597

N660 X-.4501 Y-.375

N670 X.4501

N680 Y-.1597

N690 X.5654 Y.0427

N700 Z-.4

N710 G0 Z.25

N720

N730

N740 M5

N750 G0 M25

N760 M2

E

Link to comment
Share on other sites

I have two identical V9 posts

(Except for the X,Y locations for the table to come forward at the end of the program).

When I updated

them to X one post had two full pages of text missing!and thats the post that wouldnt post out a coolant M either!

I ran a file compare after pulling my Hair out.

My "Work around"

Was to use the Good updated post and just edit in my travel distances and get on with my life.

I'll give you my post if you want.

Hurco MX 30 with there latest controller.

 

Tony

Link to comment
Share on other sites

There is one lesson I learned soon after Mastercam X was released, which might apply to your problems.

 

When running Updatepost, the earlier post processor should be in a different directory, if you copy the old post to the vX post folder and updtae it there, then random trouble can happen.

 

What I mean by random trouble is simple. Most of the time, the update goes as expected, but sometimes bad things happen. I have seen "disappearing pages" as Tony mentions, as well as $ signs not being appended to all predefined variables and e$ not being appended to postlines where it should have been appended.

 

The error port has in block N430 is a missing e$ somewhere, and pretract is a good guess as to where it could be.

 

The "empty" lines in block N720 and N730 are caused by a difference in the handling of modality for the n$ variable. In vX, the n$ variable must be defined as modal, but in many older post processors, n$ is defined as non-modal.

 

Merry Christmas to everyone.

Link to comment
Share on other sites
  • 2 weeks later...

I hope this helps, I just fixed this problem in a post I had for another customer with a hurco post.

 

In the post:

 

First I narrowed it down using the debug info tracking down where the missing "e$" was. There wasn't a missing e$ anywhere on the post side so I nailed down the best place to put one and inserted one in the lines of code, this way, nomatter where the missing end of block was, it jumped to the next line. I figured if I can't get rid of that extra seq/. #, maybe I can move it to the next line. SO I inserted an e$ here:

 

ptlchg0$ # Null tool change 1000

e$

if comment$ = 1, n$, popcode,e$

pr

pcan

n$, sgplane, ss$,e$

if prv_z$ <> zr$ & op_id$ <> prv_op_id$, n$, psg00, zr$,e$

if prv_c$ <> c$, protary

pstorfr

!op_id$

 

I then found that I needed to put another one in the plin section, and I'm still testing it but I think that got it.

 

HTH

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...