MPG1 encoder error at startup
Moderator: cnckeith
-
- Posts: 395
- Joined: Thu Dec 03, 2020 4:54 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
MPG1 encoder error at startup
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?
-
- Posts: 57
- Joined: Sun Nov 18, 2018 7:22 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: CNC12-m39-104028
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Western NY
Re: MPG1 encoder error at startup
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
RJ Technical Services
Re: MPG1 encoder error at startup
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.
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.
-
- Posts: 395
- Joined: Thu Dec 03, 2020 4:54 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: MPG1 encoder error at startup
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.
Maybe starting the mpg client a few seconds before cnc12 in the startup script would work.
-
- Posts: 9912
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: MPG1 encoder error at startup
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
We can't "SEE" what you see...
Mesa, AZ
-
- Posts: 395
- Joined: Thu Dec 03, 2020 4:54 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: MPG1 encoder error at startup
I tried tonight. Makes no difference if the wireless MPG is turned on or not before startup. I think its just a Centroid "feature".
-
- Posts: 9912
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Mesa, AZ
Re: MPG1 encoder error at startup
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
We can't "SEE" what you see...
Mesa, AZ
-
- 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: MPG1 encoder error at startup
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.
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
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
-
- Posts: 395
- Joined: Thu Dec 03, 2020 4:54 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: MPG1 encoder error at startup
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.
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 58 times
-
- 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: MPG1 encoder error at startup
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
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
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