Hello Guest it is April 28, 2024, 04:11:05 PM

Author Topic: UPDATE POTENTIOMETER VALUE WITH BRAIN  (Read 251 times)

0 Members and 1 Guest are viewing this topic.

UPDATE POTENTIOMETER VALUE WITH BRAIN
« on: February 02, 2024, 10:41:22 AM »
Hello everyone.
I implemented mach3 using 2 external potentiometers one for the feed and one for the spindle speed.
I used the mach3 serial modbus module by connecting external potentiometers and buttons with Arduino.
Using a guide I found on this forum posted by zafarsalam.

Post: https://www.machsupport.com/forum/index.php?topic=22982.0

it works really well, communication is good and it is a very useful thing during processing.

The problem is that the data sent by Brain as an attached image is not always updated by mach 3, and when you press the stop or reset button the data is restored to the 100% value of both the feed and spindle.

it seems the values ​​are written in FRO% AND SRO% (imm-13) only when I rotate the potentiometer.

Is there a way to have Mach3 continuously read the value?
Re: UPDATE POTENTIOMETER VALUE WITH BRAIN
« Reply #1 on: February 04, 2024, 12:05:31 PM »
is there a way to handle updating the value via a script and macropump?
Also a way to check the value of the panel and update it with that of the value written by Brain
could someone help me?
Re: UPDATE POTENTIOMETER VALUE WITH BRAIN
« Reply #2 on: February 07, 2024, 02:48:29 AM »
I solved it myself thanks