38
« on: December 01, 2023, 01:42:56 AM »
so if you have tested allready the read an write functions between Mach3 and your VDF's and it is working
sounds good, because this part i think is the real "Challenge".
i would make a "simple" brain for the communication.
for example :
write functions:
UserLed(1500) ON write speed1
UserLed(1501) ON write speed2
...
read functions:
read register -> limitswitch1 ON -> UserLed(1600) ON
read register -> limitswitch2 ON -> UserLed(1601) ON
read register for actual current -> write to OEMDRO
...
the complete logic i would do in VB script because it it a lot easier to test and change things
like in the brain editor. also you can directly interact with screenset button's to the UserLed's and
it will be easy to display values.
this is just my opinion how to handle this task.
Regards Thomas