Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grblHAL probing with BSMCE04 (STM32F1) #53

Open
PolyEng opened this issue Jul 30, 2024 · 6 comments
Open

grblHAL probing with BSMCE04 (STM32F1) #53

PolyEng opened this issue Jul 30, 2024 · 6 comments

Comments

@PolyEng
Copy link

PolyEng commented Jul 30, 2024

hi , i'm having this issue w probing on this hw :BSMCE04 (stm32 mounted is genuine , at least it seems so no clones)

essentially probe triggers correctly i can see it in the GUI of IO sender and on the console of IO sender but when i issue for example a G38.2 machine doesnt move and reports probe position where it is (probe IS NOT triggered ) checked with oscilloscope for noise .. everything is fine.
console output says "ok" and cycle continues

if i manually TRIGGER the probe and issue a G38.2 the cycle errors out (as it should) since probe is already trggered before starting the probing operation.

so probe is fine electrically and switches correctly but fw has some bug i think?

(before you blame my wiring or "noise", the probe is isolated through opto and the same hw setup of the probe is working correctly if i swap the controller for a PI PICO)

thanks in advance for whoever will look into it

i'll include a snippet of gcode and relative output from console in verbose mode

G91F2
G0Y5
G0X-6
G0Z-3
G38.3F2X10
 
starting from this coordinates i have to do Y+5   X-6 and Z-3
**<Idle|MPos:-3.500,23.508,9.996|Bf:100,1024|FS:0,0|Pn:HS|WCO:-3.500,23.508,9.996|WCS:G54|A:|Sc:|MPG:0|H:0|T:0|TLR:0|FW:grblHAL>**
Probing...
G91F2
ok
PM:ok
G53G0Y28.508
ok
PM:ok
G53G0X-9.5
ok
<Run|MPos:-3.500,23.528,9.996|Bf:98,1024|FS:90,0|Pn:HS|WCO:-3.500,23.508,9.996|WCS:G54|A:|Sc:|MPG:0|H:0|T:0|TLR:0|FW:grblHAL>
PM:ok
G53G0Z6.996
ok
PM:ok
G38.3F2X10
**<Run|MPos:-9.496,28.508,6.996|Bf:99,1024|FS:0,0|Pn:HSP>**
[PRB:-9.500,28.508,6.996:1]
ok
PM:ok


machine does all the G0 moves and arrives to destination... now G38.3F2X10 i should move X+10 till i find the probe .. but the machine doesnt move because **Pn:HSP **Probe is triggered, problem is probe isnt triggered **```
@terjeio
Copy link
Contributor

terjeio commented Jul 30, 2024

When I test here probing works as it should (tested by triggering the input manually).
Please enable Run substatus in General > Status report options and post a complete log of a probing sequence.

@PolyEng
Copy link
Author

PolyEng commented Jul 30, 2024

When I test here probing works as it should (tested by triggering the input manually). Please enable Run substatus in General > Status report options and post a complete log of a probing sequence.

rn i have changed the board , it will take some time for me to swap again the board , i'll keep you updated , thanks in advance

@CBR900cc
Copy link

hello @PolyEng I've some issue with probe pin, in my case if I use z-limit pin with inductive sensor, all working fine, but if I connect inductive sensor to pb4 (probe pin) nothing work, board not read any signal of triggered or not... can you share you pinout connections/photos?

@terjeio
Copy link
Contributor

terjeio commented Sep 15, 2024

@CBR900cc If you short the probe input to ground does it change the probe state?

@CBR900cc
Copy link

CBR900cc commented Sep 28, 2024

@terjeio yes, if shorted probe is triggered, I'm using this sensor LJ12 A3-4-Z/BX, can you explain me how wiring it?

@terjeio
Copy link
Contributor

terjeio commented Sep 29, 2024

can you explain me how wiring it?

Blue to GND, Brown to 5V and Black to the probe input. Since the sensor is rated 6-36V it could be that it fails to pull down the probe input enough when supplied with only 5V? Can you measure the voltage at the probe input when it is triggered vs. not triggered?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants