Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RepRap Post Modal abschalten

7 REPLIES 7
SOLVED
Reply
Message 1 of 8
harald.koelsch
274 Views, 7 Replies

RepRap Post Modal abschalten

Hallo,

kann mir bitte wer helfen die Modal-Funktion abzuschalten ?

Danke,

Harald

7 REPLIES 7
Message 2 of 8
AchimN
in reply to: harald.koelsch

Hallo Harald,

 

ich vermute die Modalität in Hinblick auf G0-G3 ist gemeint?
Falls ja, bitte nach dieser Zeile im Postprozessor suchen:
var gMotionModal = createModal({}, gFormat);

 

und hiermit ersetzen:
var gMotionModal = createModal({force:true}, gFormat);

 

__
If you mean the modality for the G0-G3 commands, please search for the following line in the postprocessor:

var gMotionModal = createModal({}, gFormat);

 

and replace it with this code:
var gMotionModal = createModal({force:true}, gFormat);






Achim.N
Principal Technology Consultant
Message 3 of 8
harald.koelsch
in reply to: AchimN

Hallo Achim,

das hat mal schon sehr gut funktioniert.

Gibt es denn auch die Möglichkeit, in jeder Zeile X,Y und Z auszugeben ?

Auch wenn sich z.B. der X-Wert nicht ändert ?

Das Ganze ist der seltsamen Steuerung geschuldet, die einen "normalen" ISO-G-Code nicht verarbeiten kann.

Danke,

Harald

Message 4 of 8
AchimN
in reply to: harald.koelsch

Yes thats no problem, see below:
var xOutput = createVariable({prefix:"X", force:true}, xyzFormat);
var yOutput = createVariable({prefix:"Y", force:true}, xyzFormat);
var zOutput = createVariable({onchange:function () {retracted = false;}, prefix:"Z", force:true}, xyzFormat);



Achim.N
Principal Technology Consultant
Message 5 of 8
harald.koelsch
in reply to: AchimN

Hello,

you save Easter for me.

One (i hope last) Problem.

The "controller" needs the Coordinates in 1/1000 mm without Seperator.

Can you tell me,how to modificate the corrospondending Line?

I think it´s the following.

 

var xyzFormat = createFormat({decimals:(unit == MM ? 3 : 4)});

Message 6 of 8
AchimN
in reply to: harald.koelsch

Glad to hear that it is working for you!


So for example, X33.065 should be X33065 instead?
If that is needed, then this code will do it:
var xyzFormat = createFormat({decimals:0, scale:1000});



Achim.N
Principal Technology Consultant
Message 7 of 8
harald.koelsch
in reply to: AchimN

Perfect! (for that strange Controller)

 

G1 X95131 Y4950 Z-4800
G1 X94851 Y5400 Z-4800
G1 X94851 Y82850 Z-4800
G1 X192850 Y82850 Z-4800
G1 X192850 Y43900 Z-4800
G1 X192842 Y43822 Z-4800
G1 X192820 Y43747 Z-4800

Thank you very much and a happy Easter,

Harald

Message 8 of 8
AchimN
in reply to: harald.koelsch

No problem at all, glad it works.

Frohe Ostern!



Achim.N
Principal Technology Consultant

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

Post to forums  

Autodesk Design & Make Report