Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enable Japanese output in the post processor.

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
monozukuri.daisuki.higucchan
225 Views, 6 Replies

Enable Japanese output in the post processor.

If you write a Fusion operation comment in Japanese and perform post-processing, the part of the comment that is garbled and cannot be converted is "????". which is garbled and cannot be converted.
Since Fanuc control is capable of writing Kanji and Hiragana, we would like to be able to support Japanese input if possible.
Please let me know if you have any solutions to this problem.

Thanks in advance.


Operation comment.pngafter post process.png

Tags (1)
6 REPLIES 6
Message 2 of 7

You can add the allowable characters here:

alaasW8M6T_0-1710215777127.png

 

You could also set it to undefined but that runs the risk of getting illegal characters in the code.

Message 3 of 7
RoccoHilton
in reply to: a.laasW8M6T

don't forget that the machine must also support this character set

Message 4 of 7

Hi @monozukuri.daisuki.higucchan 

The current fanuc post is set with the encoding of ASCII, japanese characters are not supported by ASCII. so the encoding needs to be set to UTF-8. 

you can set that in the post processor. Edit the post processor and find for the line 

setCodePage("ascii")

and change this into

setCodePage("utf-8");

 

and also writeComment fuction is set up in a way that it will ignore any characters apart form the character mentioned in the settings object

permittedCommentChars: " abcdefghijklmnopqrstuvwxyz0123456789.,=_-",

 Since it may difficult to metion all the characters in the japanese you can set this to undefined so it will output all the characters

    permittedCommentChars: undefined,

save the post and test it

 


Boopathi Sivakumar
Senior Technology Consultant

Message 5 of 7

I have tried to put into practice what you have told me, but I am editing the post processor from a RS274 multi-axis post.


I think you are probably referring to Fanuc.cps, but my post has no setting parameters and seems to have lost the getSetting function and some code related to it that is required for the function to work.


These may need to be implemented by copying and pasting from Fanuc.cps or overwriting old logic.


This may take some time, but I will give it a go.
Thank you very much.

Message 6 of 7

Right If you are using the rs274 multiaxis post then you might not need the second modification because the post is already set to do so


Boopathi Sivakumar
Senior Technology Consultant

Message 7 of 7

Thank you for all the information you have given me.
It seems that by changing to UTF-8 I am able to output properly.
However, the editor I am using, Cimco Edit, does not support character encoding, or it is still garbled due to a bug or something.
However, when I opened it in Windows Notepad, it was in Japanese without any problems, so I think it is the output I wanted.

Thank you for your help! Thank you😁

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums