Tom,
I decided to move this topic from yahoo group. Maybe someone else might be able to use it. And having it on CNC Zone makes it easier.
Original post from Yahoo Group.....
On 12/31/2017 1:05 PM, T Day [DynoMotion] wrote:
Hello Tom,
Looking for a way to have a pop up reminder.
My VFD will run on Single or 3Phase, but its not recommended to run it on Single phase with my 10 HP motor.The 3 phase converter iam running allows the single phase 220 line to pass on through to machine, even with converter off.
So what i need is a reminder to tell me to turn on phase converter. How could KMCNC be set to pop up a message the first time a spindle command is executed? Whether it be by Gcode or a button.
Troy
Sent: Sunday, December 31, 2017 4:19 PM
I'm not sure I understand, but you might add a message box to the Spindle on (M3/M4) C Program such as "Converter ON?" with Yes No buttons. Halt without turning on the spindle for No.
A Virtual Bit could be used as a flag to indicate whether the question has ever been ever answered Yes.
It isn't clear when the Converter might be turned off and you would want to ask the question again. After Cycle Power on KFLOP? After relaunching KMotionCNC? After not running the Spindle for 5 minutes?
Can you interface the Converter status to KFLOP?
Regards
TK
On 1/3/2018 1:36 PM, 'T Day' [DynoMotion] wrote:
Hi Tom,
Do you have an example of using virtual bit as you described?
Thanks,
Troy
Sent: Wednesday, January 03, 2018 7:04 PM
Hi Troy,
Bits 48-63 are Virtual. They are guaranteed to be 0 on power up.
So you would do something like:
if (!ReadBit(48)) // is the bit set indicating the Operator answered yes?
{
// no, ask the question
.
.
.
// Operator Answered Yes - set the Bit to remember this
SetBit(48);
}
HTH
Regards
TK