Cancel
Showing results for 
Search instead for 
Did you mean: 

[ISV] Code settings

Solution Partner Innovator Solution Partner Innovator
Solution Partner Innovator

Hello

 

I have a question.

 

Machine controller is TwinCAT.

The problematic code is shown below.

 

CODE.jpg

 

 

The "#TRAFO OFF" code serves as "TRAFOFF". and "#TRAFO ON" code serves as "TRAORI".

An error message is displayed accordingly.

 

CODE1.jpg

 

I do not know how to set it up for that part.

referance is sinumerik controller of sim08_mill_5ax.

 

Please let me know how. Thank you.

3 REPLIES

Re: [ISV] Code settings

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Your problem have a few solutions.

1. You can use CSEPreprocessLine (try to search in this forum) and substitute #TRAFO ON -> TRAORY or to any G or M command. Easy, fast way.

2. You can modify Python parser and define special command #TRAFO ON or #TRAFO OFF. This way is more right, but not so easy.

 

 

Re: [ISV] Code settings

Solution Partner Innovator Solution Partner Innovator
Solution Partner Innovator

Thanks for your help.

It has been resolved.

Re: [ISV] Code settings

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom
ok...

Learn online





Solution Information