Z Break release "delay"

_______________________________________________________














LOGIN below to POST your questions and comments on AjaxCNC products.

Moderator: cnckeith

cncsnw
Posts: 355
Joined: Wed Mar 24, 2010 5:48 pm

Re: Z Break release "delay"

Post by cncsnw » Wed Mar 29, 2017 9:12 pm

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.

MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 1013161612
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post by MT_Argentina » Wed Mar 29, 2017 10:37 pm

It is almost a whole second. Tomorrow I'll record some videos and post the links here.

MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 1013161612
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post by MT_Argentina » Thu Mar 30, 2017 2:45 pm

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

MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 1013161612
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post by MT_Argentina » Fri Mar 31, 2017 9:48 am

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.

cnckeith
Posts: 606
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: Yes
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
System Serial Number: none
Contact:

Re: Z Break release "delay"

Post by cnckeith » Fri Mar 31, 2017 10:16 am

hello. are you able to connect the CNC PC to the internet?

MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 1013161612
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post by MT_Argentina » Fri Mar 31, 2017 11:45 am

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.

cnckeith
Posts: 606
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: Yes
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
System Serial Number: none
Contact:

Re: Z Break release "delay"

Post by cnckeith » Fri Mar 31, 2017 12:22 pm

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.

MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 1013161612
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post by MT_Argentina » Fri Mar 31, 2017 1:56 pm

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.

MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
System Serial Number: 1013161612
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post by MT_Argentina » Wed Apr 05, 2017 9:08 am

Hello,
Now we have much MUCH better internet connection. I'm sending the required contact info to support in a few minutes.

Post Reply

Who is online

Users browsing this forum: lvanduyn, RandyL and 3 guests