Machsupport Forum
Mach Discussion => Brains Development => Topic started by: servomac on November 17, 2024, 10:12:40 AM
-
Hi everyone
I'm busy writing a VB macropump to sort my spindle and laser operations out.
I am trying to have one Macropump to cover several machines
Different machines have different brains files for the spindle
my question is; Is there a function to identify if a particular "Brains" file has been marked as "Active"
my backup way is to set a different userLED in each brain and use "else if" to select a code area in the macropump to select how the spindle functions. Or should I just use different macropump files.
OPen to idea's
regards
servomac
-
if you are using different profilenames on your machines you can
identify it by using:
GetActiveProfileName
if you are using different screensets on your machines you can
identify it by using:
GetActiveScreenSetName
just some "other" ideas
-
Hi
brilliant tied to profiles should do the trick, I have several machines and am developing a modbus pick and mix for control stations, using macropump because of the problems I am having with manual spindle run, and one file fits all would save me from getting things mixed up.
many thanks your help is much appreciated; I owe you a pint
regards
servomac