Digital Dream Technology support

Title: G153 maybe not working right in Imperial mode [Print This Page]

Author: math_indy    Time: 2018-10-12 06:07
Title: G153 maybe not working right in Imperial mode

I have parameter #115 set to 1 (imperial mode) and it seems that G153 behaves very strange.  


I have machine coordinant (X0.0) HOME signal at the X- limit so all machine coordinates should be positive but when I execute:


G153 X2.0 F6350.    (GOTO MACHINE COORDINATE X2.0 INCH AT 6350 MM/MIN)


The table moves from X1.0(MACH) to X0.9829 (in the negative direction?!?) where it hits the software travel limit but G153 X2.0 should have invoked positive direction motion?

I have not tried G153 in mm mode.

My programs that use G54 coordiants and G01 motion all seem to work well.



Author: ytliu    Time: 2018-10-12 15:32
Last edited by ytliu In 2018-10-12 15:42 Editor

Ver:2018-10-12-102 Description:
1. Add G20/G21 recognition macro variable (#448): in G20 mode, #448=25.4; in G21 mode, #448=1, used to correct the bug that G28 and G153 instructions execute errors in G20 mode;

The implementation code for G28 and G153 is defined in slib.nc. If you are interested, take a look at how #448 works.

install(2018-10-12-102).zip

595.88 KB, Down times: 545


Author: math_indy    Time: 2018-10-12 22:21
ytliu Posted at 2018-10-12 15:32
Ver:2018-10-12-102 Description:
1. Add G20/G21 recognition macro variable (#448): in G20 mode, #448= ...

Much better now




Welcome Digital Dream Technology support (http://bbs.ddcnc.com/) Powered by Discuz! X3