Incremental Jog (Resolved)
Moderator: cnckeith
-
- Posts: 15
- Joined: Sat Sep 12, 2020 11:18 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0617200971
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Incremental Jog (Resolved)
Hello everyone, this is my first post and glad to be a part of the community.
I recently got my shizuoka an-s with summit tool changer up and running. Centroid tech support was very helpful with getting my tool changer going. I did various runs of cutting air and making tool changes and everything seem good until I went to set up some material. Slow and high speed continuous jog work however only X1 works on incremental X10 and X100 do no respond when clicked. I have looked through the PLC source code and parameters but I am stumped. I am hoping someone here will be able to help.
I think the report attached, but please let me know if it didn't and I will post again
Thank You
Robbie
I recently got my shizuoka an-s with summit tool changer up and running. Centroid tech support was very helpful with getting my tool changer going. I did various runs of cutting air and making tool changes and everything seem good until I went to set up some material. Slow and high speed continuous jog work however only X1 works on incremental X10 and X100 do no respond when clicked. I have looked through the PLC source code and parameters but I am stumped. I am hoping someone here will be able to help.
I think the report attached, but please let me know if it didn't and I will post again
Thank You
Robbie
-
- Posts: 15
- Joined: Sat Sep 12, 2020 11:18 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0617200971
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Incremental Jog
Attached is my report
- Attachments
-
- report_0617200971_2020-09-11_18-49-53.zip
- (715.72 KiB) Downloaded 110 times
Re: Incremental Jog
There is an error (or rather an omission) in your PLC program source. Neither MPGStage nor WirelessMPGStage, in detecting presses of the x1, x10 and x100 keys, bothers to look at SkinX1_M, SkinX10_M or SkinX100_M. Those are the bits that indicate you have clicked the jog increment buttons on the VCP.
At least in MPGStage (which you are using, since P218==0) and preferably also in WirelessMPGStage (which you would be using instead if you were to add a wireless MPG and change P218) you should change:
to read instead:
At least in MPGStage (which you are using, since P218==0) and preferably also in WirelessMPGStage (which you would be using instead if you were to add a wireless MPG and change P218) you should change:
Code: Select all
;x1, x10, x100 functions
;--X1
IF x1JogKey_I THEN (x1JogPD_PD)
IF x1JogPD_PD || OnAtPowerUp_M || X1_M || (MPG_Inc_X_1_I && MPGLED_O)
THEN SET x1JogLED_O, RST x10JogLED_O, RST x100JogLED_O
;--X10
IF x10JogKey_I THEN (x10JogPD_PD)
IF x10JogPD_PD || X10_M || (MPG_Inc_X_10_I && MPGLED_O)
THEN RST x1JogLED_O, SET x10JogLED_O, RST x100JogLED_O
;--X100
IF x100JogKey_I THEN (x100JogPD_PD)
IF x100JogPD_PD || X100_M || (MPG_Inc_X_100_I && MPGLED_O)
THEN RST x1JogLED_O, RST x10JogLED_O, SET x100JogLED_O
Code: Select all
;x1, x10, x100 functions
;--X1
IF x1JogKey_I || SkinX1_M THEN (x1JogPD_PD)
IF x1JogPD_PD || OnAtPowerUp_M || X1_M || (MPG_Inc_X_1_I && MPGLED_O)
THEN SET x1JogLED_O, RST x10JogLED_O, RST x100JogLED_O
;--X10
IF x10JogKey_I || SkinX10_M THEN (x10JogPD_PD)
IF x10JogPD_PD || X10_M || (MPG_Inc_X_10_I && MPGLED_O)
THEN RST x1JogLED_O, SET x10JogLED_O, RST x100JogLED_O
;--X100
IF x100JogKey_I || SkinX100_M THEN (x100JogPD_PD)
IF x100JogPD_PD || X100_M || (MPG_Inc_X_100_I && MPGLED_O)
THEN RST x1JogLED_O, RST x10JogLED_O, SET x100JogLED_O
-
- Posts: 15
- Joined: Sat Sep 12, 2020 11:18 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0617200971
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Incremental Jog
Hi CNCSNW,
Thank you for taking the time to look over my machines report. I just wanted to clarify that for now I am only using the VCP and sometime in the future will purchase the wireless MPG once the budget permits. I went into the PLC source code and replaced the code with what you provided in the second window of your post. I then reset oak and CNC12 but still had no luck. do I need to change parameter P218?
Thank you for taking the time to look over my machines report. I just wanted to clarify that for now I am only using the VCP and sometime in the future will purchase the wireless MPG once the budget permits. I went into the PLC source code and replaced the code with what you provided in the second window of your post. I then reset oak and CNC12 but still had no luck. do I need to change parameter P218?
-
- Posts: 15
- Joined: Sat Sep 12, 2020 11:18 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0617200971
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Incremental Jog
My report
- Attachments
-
- report_0617200971_2020-09-12_16-43-48.zip
- (632.09 KiB) Downloaded 122 times
Re: Incremental Jog
First, it appears that you made the changes in "Centroid-Mill-Standard-OAK-r4.src", while it appears that the correct PLC program for your machine (the one you have been running at least for the last three days) is in "A900859.src".
Second, while you edited a PLC program source file, you did not compile it into a new "mpu.plc" file. Editing source code has no effect until you compile the changed file.
Supposing that you made your desired changes in "A900859.src". Then, from a command prompt, you could enter the command:
to compile that file into a new working PLC program file that the control will use.
Second, while you edited a PLC program source file, you did not compile it into a new "mpu.plc" file. Editing source code has no effect until you compile the changed file.
Supposing that you made your desired changes in "A900859.src". Then, from a command prompt, you could enter the command:
Code: Select all
mpucomp A900859.src mpu.plc
-
- Posts: 15
- Joined: Sat Sep 12, 2020 11:18 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0617200971
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Incremental Jog
I can’t thank you enough for help! I made the changes, compiled and now everything is working great.
Thanks again
Thanks again
-
- 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: Incremental Jog (Resolved)
Take the time to post a video of the machine running, doing a tool change and pan to the control. Maybe an overview of your build and experience.
Post it in the success stories Forum.
Best way to say thanks for the help you have received.
I'd like to see it doing its thing!
Marty
Post it in the success stories Forum.
Best way to say thanks for the help you have received.
I'd like to see it doing its thing!
Marty
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: 15
- Joined: Sat Sep 12, 2020 11:18 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: 0617200971
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: Incremental Jog (Resolved)
Will do Marty. thank you for all of the videos you have posted. They were very helpful in helping me get my system up and running. i am in the process of cleaning up wiring and buttoning up some things but once I get something semi-presentable I will definitely post a video.