Page 2 of 2

Re: Z Break release "delay"

Posted: Wed Mar 29, 2017 9:12 pm
by cncsnw
He did that (post a report) just last week.

His PLC program has the usual All-in-one DC servo brake logic:

Code: Select all

IF (SV_PC_POWER_AXIS_3) THEN (ZBrakeRelease) ;Turns on OUT9 for Z-axis brake
So the question is, what is the lag between execution of M93 (or pressing E-stop) and the PLC program seeing SV_PC_POWER_AXIS_3 turn off?

The name implies, and the PLC Programming Manual states, that SV_PC_POWER_AXIS_3 is controlled by the CNC11 software running on the PC. However, whether an axis is powered or not is generally determined by the MPU11. Does the information really have to make a round trip to the PC before the PLC program learns that the axis has been powered off? Or is the system variable really controlled by MPU11?

Note that, with the above logic in a normal PLC program stage, there will be a lag of between 1ms and 20ms between the change in SV_PC_POWER_AXIS_3 and the change in OUT9, because the scan period is just once every 20ms. Moving that logic to a designated fast stage (FSTG) would ensure that it gets acted upon within 1ms. However, it sounds like he is describing a delay of more than 20ms.

Re: Z Break release "delay"

Posted: Wed Mar 29, 2017 10:37 pm
by MT_Argentina
It is almost a whole second. Tomorrow I'll record some videos and post the links here.

Re: Z Break release "delay"

Posted: Thu Mar 30, 2017 2:45 pm
by MT_Argentina
Here the Control Panel is attached to the 'spindle head'. See the delay and the drop in height.
https://www.youtube.com/watch?v=IGfnNwjmwcg

Here shows some axis movement and the torque bars. Z doesn't move or goes "up and down", while the bar peaks red. (This happens every time since yesterday, after tuning the servo.)
https://www.youtube.com/watch?v=C85RpChksdI



The Z Servo after being tuned:
Image

Re: Z Break release "delay"

Posted: Fri Mar 31, 2017 9:48 am
by MT_Argentina
Here is the last report if you need it:
http://www.mediafire.com/file/3t59sihrg ... -12-24.zip

Help please, this problem seems to be the last thing that prevents me from start machining.

Re: Z Break release "delay"

Posted: Fri Mar 31, 2017 10:16 am
by cnckeith
hello. are you able to connect the CNC PC to the internet?

Re: Z Break release "delay"

Posted: Fri Mar 31, 2017 11:45 am
by MT_Argentina
cnckeith wrote: Fri Mar 31, 2017 10:16 am hello. are you able to connect the CNC PC to the internet?
Yes, the connection is pretty terrible (0.5Mbp/s download) but it might be good enough for Teamviewer. I already have Teamviewer v11 installed. I can send you the ID and password by PM if you need it.

Re: Z Break release "delay"

Posted: Fri Mar 31, 2017 12:22 pm
by cnckeith
ok..we can give it a try.. please email the teamviewer id and pass to support@centroidcnc.com
and it would be nice to have a usb mic and speakers connected to the CNCpc as well. so we can talk to you thru Teamviewer.
If not, please install skype on your cell phone or tablet and send us your skype ID in the email as well. That way we can contact you via voice thru Skype. We will then arrange a remote support Teamviewer session time that works best for all.

Re: Z Break release "delay"

Posted: Fri Mar 31, 2017 1:56 pm
by MT_Argentina
The remote desktop with the current ISP is slow as hell; Skype could only be worse. I'm getting a superior connection ASAP, I'll have it settled by next week. I'll let you know then to arrange the remote session.

Re: Z Break release "delay"

Posted: Wed Apr 05, 2017 9:08 am
by MT_Argentina
Hello,
Now we have much MUCH better internet connection. I'm sending the required contact info to support in a few minutes.