Hi vadim_cnc,
Here is an example of how you might create that type of functionality:
Attachment 378052
This uses 3 Virtual Bits to contain the X Y Z Selection
The X Button sets the 3 states as appropriate for X by using an Action to run a C Program like this:
Code:
#include "KMotionDef.h"
main()
{
SetBit(1024);
ClearBit(1025);
ClearBit(1026);
}
Y button runs this:
Code:
#include "KMotionDef.h"
main()
{
ClearBit(1024);
SetBit(1025);
ClearBit(1026);
}
I've attached the programs and screen script
Z button runs this
Code:
#include "KMotionDef.h"
main()
{
ClearBit(1024);
ClearBit(1025);
SetBit(1026);
}
Does that work for you?
Regards