Z Break release "delay"

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

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

Re: Z Break release "delay"

Post 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.
MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: 1013161612
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post by MT_Argentina »

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
CNC Control System Serial Number: 1013161612
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post 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
MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: 1013161612
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post 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.
cnckeith
Posts: 7166
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Z Break release "delay"

Post by cnckeith »

hello. are you able to connect the CNC PC to the internet?
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: 1013161612
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post 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.
cnckeith
Posts: 7166
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Z Break release "delay"

Post 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.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: 1013161612
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post 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.
MT_Argentina
Posts: 17
Joined: Wed Sep 28, 2016 9:58 am
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: 1013161612
DC3IOB: No
CNC11: Yes
CPU10 or CPU7: No
Location: Buenos Aires, Argentina

Re: Z Break release "delay"

Post 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.
Post Reply