MPG1 encoder error at startup

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

Moderator: cnckeith

ashesman
Posts: 306
Joined: Thu Dec 03, 2020 4:54 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: none

MPG1 encoder error at startup

Post by ashesman »

20211221_153322.jpg
Sometimes when I first turn the machine on I get the above error. I don't use MPG1 encoder, only the wireless MPG. Maybe I need to turn MPG1 off somewhere. Any ideas?
rjtechserv
Posts: 15
Joined: Sun Nov 18, 2018 7:22 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
CNC Control System Serial Number: CNC12-m39-104028
Location: Western NY

Re: MPG1 encoder error at startup

Post by rjtechserv »

Not sure but I think you could set parameter 348 to zero. Write down the current value if you need to set it back. Try that.
Rob Jackson

RJ Technical Services
cncsnw
Posts: 2414
Joined: Wed Mar 24, 2010 5:48 pm

Re: MPG1 encoder error at startup

Post by cncsnw »

The wireless MPG is MPG1, when you use standard PLC logic and set P348=15.

Setting P348=0 would eliminate the error message, but it would prevent the wireless MPG from working.

I see that message all the time on systems with the wireless MPG. I speculate that it is a startup race condition, where CNC12 is looking for data from the wireless MPG, but the MPGClient.exe software has not yet started providing that data.

Perhaps someone from Centroid can clarify, or explain the correct startup sequence to avoid the message.

In the mean time, you can just ignore it. If the MPG works, then there is not really a problem.
ashesman
Posts: 306
Joined: Thu Dec 03, 2020 4:54 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: none

Re: MPG1 encoder error at startup

Post by ashesman »

OK. Thanks for clarifying that. It's not a big deal but would be nice if there were no errors at all at startup!

Maybe starting the mpg client a few seconds before cnc12 in the startup script would work.
martyscncgarage
Posts: 9441
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
CNC Control System Serial Number: none
Location: Mesa, AZ

Re: MPG1 encoder error at startup

Post by martyscncgarage »

ashesman wrote: Tue Dec 21, 2021 1:45 pm OK. Thanks for clarifying that. It's not a big deal but would be nice if there were no errors at all at startup!

Maybe starting the mpg client a few seconds before cnc12 in the startup script would work.
Make sure the MPG is on before starting CNC12
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
ashesman
Posts: 306
Joined: Thu Dec 03, 2020 4:54 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: none

Re: MPG1 encoder error at startup

Post by ashesman »

martyscncgarage wrote: Tue Dec 21, 2021 10:45 pm
ashesman wrote: Tue Dec 21, 2021 1:45 pm OK. Thanks for clarifying that. It's not a big deal but would be nice if there were no errors at all at startup!

Maybe starting the mpg client a few seconds before cnc12 in the startup script would work.
Make sure the MPG is on before starting CNC12
I tried tonight. Makes no difference if the wireless MPG is turned on or not before startup. I think its just a Centroid "feature".
martyscncgarage
Posts: 9441
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
CNC Control System Serial Number: none
Location: Mesa, AZ

Re: MPG1 encoder error at startup

Post by martyscncgarage »

Please post a fresh report.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
cnckeith
Posts: 3833
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
CNC Control System Serial Number: none
Contact:

Re: MPG1 encoder error at startup

Post by cnckeith »

yep, need a fresh report.zip to help.

in general.

F1 Setup, F3 Config, F3 Parameters (pass is 137).
set MPG CNC12 parameter #218= 15 for 4 axis Mills/Routers,
#218=7 for 3 axis Mills/Routers
#218 = 3 for Lathes.

Set MPG CNC12 parameter #348 = 15 (MPG ON) and #349 & #350 = 100 (100 steps per
rev), Set # 411 = 1 (WMPG-4) F10 Save. Exit out of Parameters.

Shut Down and restart CNC12 for new parameters to take effect.
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
ashesman
Posts: 306
Joined: Thu Dec 03, 2020 4:54 am
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
MPU11 & GPIO4D -w/ 3rd Party Drives: No
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
CNC Control System Serial Number: none

Re: MPG1 encoder error at startup

Post by ashesman »

Report attached...

Note that the wireless MPG is working 100% fine. Just a warning that comes up at startup. The warning is not causing any harm, I just thought no warnings at all would be nicer.
Attachments
report_0008DC111213-1214201066_2021-12-26_08-09-57.zip
(3.71 MiB) Downloaded 8 times
cnckeith
Posts: 3833
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
CNC Control System Serial Number: none
Contact:

Re: MPG1 encoder error at startup

Post by cnckeith »

thanks for posting the report. i would update to the latest version v4.20.

page 7 https://www.centroidcnc.com/centroid_di ... ctions.pdf
goes over in detail the MPG parameter settings
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
Post Reply