**RESOLVED** DRO counts backward on X (cnc11)
Moderator: cnckeith
-
- Posts: 23
- Joined: Sat Jan 22, 2011 1:19 pm
- Allin1DC CNC Controller: Yes
- CNC Control System Serial Number: 929100262
More than 1 system - DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Northern Ohio
**RESOLVED** DRO counts backward on X (cnc11)
Y & Z axis are working correctly and home correctly.
I am only having trouble with the X
The encoder counts positve when turned ccw.
X motor turns ccw to move - (table right)
---
Motor parameter settings: X- limit parameter set to 2, X+ to 1
Results:
DRO Count is positive when moving the tool - (table right)
Trips X- limit (input 2) and will not back-off
----
Motor parameter settings: Changed X- limit parameter to 1, x+ to 2
Results:
Can jog off limit input 2 (X-)
Message "X+ limit tripped" is wrong.
Count is still reversed
---
Motor parameter settings: Reversed X, X- limit parameter to 1, X+ to 2
DRO count is correct
Will not back off limit input 2
Message "X+ limit tripped" is wrong.
X Jog control reversed
---
Motor parameter settings: Reversed X, X- limit parameter changed to 2, X+ to 1
Results:
Can jog off limit 2 (X-)
Message X- limit tripped is correct
DRO count is correct
X Jog control reversed
---
I am only having trouble with the X
The encoder counts positve when turned ccw.
X motor turns ccw to move - (table right)
---
Motor parameter settings: X- limit parameter set to 2, X+ to 1
Results:
DRO Count is positive when moving the tool - (table right)
Trips X- limit (input 2) and will not back-off
----
Motor parameter settings: Changed X- limit parameter to 1, x+ to 2
Results:
Can jog off limit input 2 (X-)
Message "X+ limit tripped" is wrong.
Count is still reversed
---
Motor parameter settings: Reversed X, X- limit parameter to 1, X+ to 2
DRO count is correct
Will not back off limit input 2
Message "X+ limit tripped" is wrong.
X Jog control reversed
---
Motor parameter settings: Reversed X, X- limit parameter changed to 2, X+ to 1
Results:
Can jog off limit 2 (X-)
Message X- limit tripped is correct
DRO count is correct
X Jog control reversed
---
-Anthony
-
- Posts: 23
- Joined: Sat Jan 22, 2011 1:19 pm
- Allin1DC CNC Controller: Yes
- CNC Control System Serial Number: 929100262
More than 1 system - DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Northern Ohio
Re: DRO counts backward on X (cnc11)
I installed the pendant yesterday morning.
All axis jog properly with the pendant. So it is only the x keyboard jogging that is reversed.
Is this a simple parameter change or key assignment?
All axis jog properly with the pendant. So it is only the x keyboard jogging that is reversed.
Is this a simple parameter change or key assignment?
-Anthony
Re: DRO counts backward on X (cnc11)
I'll have to check to see if somebody changed something in the default k'board jogging PLC
-
- Posts: 23
- Joined: Sat Jan 22, 2011 1:19 pm
- Allin1DC CNC Controller: Yes
- CNC Control System Serial Number: 929100262
More than 1 system - DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Northern Ohio
Re: DRO counts backward on X (cnc11)
Scott,
Any luck finding out why my keyboard jog is backward? Can we fix this in the PLC also, or is this a parameter change?
Anthony
Any luck finding out why my keyboard jog is backward? Can we fix this in the PLC also, or is this a parameter change?
Anthony
-Anthony
Re: DRO counts backward on X (cnc11)
From what I have seen, the backwards jogging is a bug in many of the factory PLC programs.
Look for lines like:
Change them to read:
Save your changes and recompile.
Look for lines like:
Code: Select all
;KbJogAx1Plus_M: Right arrow
if Kb_Left && AllowKbInput_M && KbJpActive_M THEN (KbJogAx1Plus_M)
;KbJogAx1Minus_M: Right arrow
if Kb_Right && AllowKbInput_M && KbJpActive_M THEN (KbJogAx1Minus_M)
Code: Select all
;KbJogAx1Plus_M: Right arrow
if Kb_Right && AllowKbInput_M && KbJpActive_M THEN (KbJogAx1Plus_M)
;KbJogAx1Minus_M: Left arrow
if Kb_Left && AllowKbInput_M && KbJpActive_M THEN (KbJogAx1Minus_M)
-
- Posts: 23
- Joined: Sat Jan 22, 2011 1:19 pm
- Allin1DC CNC Controller: Yes
- CNC Control System Serial Number: 929100262
More than 1 system - DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Northern Ohio
Re: DRO counts backward on X (cnc11)
Thank you!
I will fix this as soon as i learn how to compile the PLC.
It will be nice to get everything working correctly.
Anthony
I will fix this as soon as i learn how to compile the PLC.
It will be nice to get everything working correctly.
Anthony
-Anthony
Re: DRO counts backward on X (cnc11)
Exactly how you do that depends on whether you are running Linux or Windows.I will fix this as soon as i learn how to compile the PLC.
In general terms:
1) Go to a command prompt.
2) Make sure you are in the control software directory (/cncroot/c/cncm on Linux, c:\cncm in Windows).
3) Enter a command like:
edit nameofsource.src
4) Save your changes and exit the editor.
5) Enter a command like:
mpucomp nameofsource.src mpu.plc
6) Close the command prompt, shut down the control, and cycle the power.
You can find the name of your PLC program source file on the F7/Utility -> F8/Options display.
-
- Posts: 23
- Joined: Sat Jan 22, 2011 1:19 pm
- Allin1DC CNC Controller: Yes
- CNC Control System Serial Number: 929100262
More than 1 system - DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Northern Ohio
Re: DRO counts backward on X (cnc11)
Great!
I will try to look at this today and let you know how it works out.
I will try to look at this today and let you know how it works out.
-Anthony
Re: DRO counts backward on X (cnc11)
Anthony,
I assume everything is straightened out after our phone conversation?
I assume everything is straightened out after our phone conversation?
-
- Posts: 23
- Joined: Sat Jan 22, 2011 1:19 pm
- Allin1DC CNC Controller: Yes
- CNC Control System Serial Number: 929100262
More than 1 system - DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Northern Ohio
Re: DRO counts backward on X (cnc11)
Good Morning Scott,
I Arrived at the shop yesterday morning, fired up the machine and CNC11 was working in demo mode, as it should be. I compiled the new PLC; but forgot to test the keyboard jogging changes that you made.
I will add those to my list for today.
Thank You for reminding me!
I Arrived at the shop yesterday morning, fired up the machine and CNC11 was working in demo mode, as it should be. I compiled the new PLC; but forgot to test the keyboard jogging changes that you made.
I will add those to my list for today.
Thank You for reminding me!
-Anthony