CAD software discussion forum > 3D CAD/CAM > Edit Postprocessor?

Edit Postprocessor?

Rank: 1

Johan

Newbie

posts: 9

Registered: 2012-1-16

Message 1 of 12

 Edit Postprocessor?
10-09-2012 01:57 . am | View his/her posts only
Post Last Edit by stylewars at 2012-9-10 18:21

Hi!
I wonder how i edit an existing ZW postprocessor to fit my needs?

Rank: 5Rank: 5

William

Top Influencer

posts: 240

Registered: 2010-10-28

Message 2 of 12

10-09-2012 09:55 . am | View his/her posts only
Hi Stylewars,Customization postprocessor is really huge topic, it request that you not just need real machining experience but also need to know software' principle very well.

I have a video describe the basic begining in ZW3D how to customize post processor.

Video

If you want to know more about that, you can talk with our CAM expert directly by online Skype.

Sam Liu : sam2012969



Rank: 1

Johan

Newbie

posts: 9

Registered: 2012-1-16

Message 3 of 12

10-09-2012 01:40 . pm | View his/her posts only
Post Last Edit by stylewars at 2012-9-10 13:44

Hi!
Thank you for the reply, Im am a very experienced machinist

When i try to open the post processor file with post process CL data under the output ribbon it says "wrong filename syntax, directory name or volume label"( translatet from google translate) so i cant edit my postI see that it opens in internet explorer, but my wants to open it in notepad?!
I use google chrome

Rank: 5Rank: 5

William

Top Influencer

posts: 240

Registered: 2010-10-28

Message 4 of 12

11-09-2012 01:47 . pm | View his/her posts only
Hi stylewars, I can't understand your question very well. Please follow this video to open/edit post processor file.

http://download.zwsoft.com/zw3d/temp/How%20to%20start%20customize%20post-processing.rar

If you sitll have questions, please contact me by Skype: wind-23

Rank: 1

rus

Newbie

posts: 11

Registered: 2011-7-14

Message 5 of 12

11-09-2012 04:59 . pm | View his/her posts only
Post Last Edit by Heckfy at 2012-9-11 17:00
Post Last Edit by stylewars at 2012-9-10 13:44

Hi!
Thank you for the reply, Im am a very experien ...
stylewars Post at 2012-9-10 13:40


Hi stylewars!
There was a problem. I am using UTF8 encoding. program Notepad + +

Rank: 1

Johan

Newbie

posts: 9

Registered: 2012-1-16

Message 6 of 12

11-09-2012 06:29 . pm | View his/her posts only
Post Last Edit by stylewars at 2012-9-11 21:50
Post Last Edit by Heckfy at 2012-9-11 17:00



Hi stylewars!
There was a problem. I am using UTF8 ...
Heckfy Post at 2012-9-11 16:59


Hi!
What do you mean?


The problem accures after ive opened a postprocessor (for example ZW_Fanuc_3X) in zw3dpostn.exe, and then choose post edit( the internet explorer icon) then it opens notepad and i notification pops up saying "The filename, directory name or volume label syntax is incorrect"!
What is wrong, ive tried to reinstall ZW3d 2 times now and it doesnt solf the problem, im on windows 7 64bit


When i see the movie that youve posted it shall open in a webbrowser.?

Rank: 5Rank: 5

William

Top Influencer

posts: 240

Registered: 2010-10-28

Message 7 of 12

12-09-2012 02:00 . pm | View his/her posts only
HiStylewars,

I guess it's the compatibility problem of brower,could you try to use IE as the default brower and set the option as below.

2012-9-12 13-36-19.jpg
2012-9-12 13:59

Rank: 1

Johan

Newbie

posts: 9

Registered: 2012-1-16

Message 8 of 12

12-09-2012 02:32 . pm | View his/her posts only
hi!
Yes i can do that, but the file automaticly opens in notepad not internet explorer, how can i change it to open in explorer?

Rank: 5Rank: 5

William

Top Influencer

posts: 240

Registered: 2010-10-28

Message 9 of 12

13-09-2012 04:58 . pm | View his/her posts only
Hi Stylewars,

It's my first time see this problem and hard to discuss like this. Could you add my Skype so that we can organize the online meeting,maybe it need Remote Assistance.

Rank: 1

Johan

Newbie

posts: 9

Registered: 2012-1-16

Message 10 of 12

13-09-2012 05:31 . pm | View his/her posts only
Sure, whats your name on skype

Rank: 5Rank: 5

William

Top Influencer

posts: 240

Registered: 2010-10-28

Message 11 of 12

14-09-2012 09:05 . am | View his/her posts only
MY Skype: wind-23 or you can contact CAM expert, Sam liu: sam2012969

Rank: 1

rus

Newbie

posts: 11

Registered: 2011-7-14

Message 12 of 12

17-09-2012 05:00 . pm | View his/her posts only
Post Last Edit by Heckfy at 2012-9-17 17:06

I believe that the best editor postprocessor is a text editor. Generation of NC-programs are defined files:
-ZW3D 2012 Eng\Machines\*.mc
-ZW3D 2012 Eng\output_def\*.mdf
-ZW3D 2012 Eng\output_def\runpost.cmd
ZW3D 2012 Eng\output_def\PostConfigPaths
ZW3D 2012 Eng\output_def\OutputVariables
-ZW3D 2012 Eng\ZWPostConfigs\*.znc

For example, me used command "FEED / @FEED_FINISH@,@FEED_UNITS@" in machine_all.mdf.
In zwpostHH530.znc:

...

SUB _FEED(VALUE, FUNITS)
REG.FEEDFLAG.VALUE=1
IF FUNITS="MMPM" THEN
REG.Q11.VALUE=VALUE
ELSE
REG.Q11.VALUE=VALUE*REG.S.VALUE
FUNITS="MMPM"
ENDIF
END SUB


...




SUB _FEEDSPRINT()
REG.FEEDFLAG.VALUE=0
REG.F.LAST=-1
REM ================== FEED ===================
PRINT CHR$(127), REG.Q11, " ; FEED"
END SUB
...

SUB _FEEDOUT()
IF REG.F.VALUE!=REG.F.LAST THEN
IF REG.F.VALUE=REG.Q11.VALUE THEN
PRINT CHR$(127), "FQ11"
REG.F.LAST=REG.F.VALUE
ENDIF
END SUB
...

SUB _GOTO(X, Y, Z)
...


IF REG.FEEDFLAG.VALUE=1 THEN
_FEEDSPRINT()
REM REG.F.VALUE=-1
ENDIF
...

IF REG.F.VALUE!=REG.F.LAST THEN

_FEEDOUT()
ENDIF
...

END SUB

OUTPUT NC-program:
...


;= OPERATION NAME - =
;= OPERATION TIME - =
819 L X+44.450 Y-28.500 FMAX
820 L Z-13.465 FMAX
821 L Z-14.962 FMAX
822 Q11=400 ; FEED //easily change the entire trajectory
823 L Z-17.462 FQ11
824 L X+44.950 RL
825 L Y-26.000
826 CR X+44.050 Y-25.100 R.9 DR+
827 L X+41.550
828 L Y-25.600 R0
829 L X+44.550 Y-28.500 RL
830 L X+45.050
831 L Y-26.000
832 CR X+44.050 Y-25.000 R1. DR+
...
See also