Sact field flickers

This is where you talk about Plugins. How they are made and how they work, show examples.

Sact field flickers

Postby Dan911 » Fri Jan 06, 2017 8:47 pm

Am I doing something wrong here? I'm trying to send to the spindle RPM field and it comes and goes and sometimes just flickers. I read that Validatefeild was suppose to stop this so I'm wondering if I'm doing something wrong before I delete field and replace with a new 1.

int myInt = intRead[5] | intRead[4] << 8;
string RPM = myInt.ToString();

UC.Setfieldtext(true, RPM, 870);
UC.Validatefield(true, 870);


Thanks,
Dan
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: Sact field flickers

Postby cncdrive » Fri Jan 06, 2017 8:59 pm

You can't write the Sact textfield (870.), because that DRO is updated by the UCCNC, it means the actual spindle speed, I mean you can write it, but the UCCNC will overwrite the value in cycles.
And yes, what you could do is to replace it with your own textfield number.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Sact field flickers

Postby Dan911 » Sat Jan 07, 2017 2:58 am

I must of misinterpreted what I read. Creating a new text box worked great.

Thanks,
Dan
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA


Return to Plugins

Who is online

Users browsing this forum: No registered users and 2 guests

cron