Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: deepak dudeja on February 22, 2018, 03:33:15 AM
-
hi in my CNC if I jog the X axis or Y axis both the axis move together ...i.e if up arrow i want to move x axis in + direction Y also moves along same with the Y axis movement and in - direction move.
Please help to resolve this problem.
Thanks in advance
DD
-
Hi,
you need to check that your step and direction pins are correctly assigned, it sounds like you have both X and Y step inputs being feed from a single signal.
Craig
-
hi Craig,
Thanks for your reply I was also thinking the same thing but don't know to assign correct pins to step and direction can you elaborate the same enabling me to understand how to assign the right pins? once again thanks for your support i really appreciate it ..
regards,
DD
-
Craig Can you give me your email id i'll send all the screen shots of the Mach3 confg. in my machine , easy for you to tell me where I am doing wrong?
regards,
DD
-
Hi,
a screen shot of Machs Ports & Pins Motor page should be enough.
Craig
-
Rest images I'll send you tonight ...
-
can you try to enter a G69 in MDI Input,
just to make sure X/Y plane is not turned.
just a idea
-
Ok sir I'll try tonight and will update you..thanks for the support..
-
Hi,
I've had a look at your pin assignments and they look OK.
May I suggest when you post a pic that you crop and resize it with something like 'Paint' so that it will fit on the screen, it helps convey info better.
What I read is:
X axis enabled step= port1 pin 2 dir =port1 pin3
Y axis enabled step=port1 pin 5 dir=port1 pin6
Z axis enabled step=port1 pin 8 dir= port1 pin9
A axis disabled step=port1 pin8 dir=port1 pin9 A duplication, shouldn't matter given that the axis is disabled but confusing, I would correct it.
B axis disabled unassigned
C axis disabled unassigned
Spindle enabled step=port1 pin 17 dir= port1 pin1
Can you confirm? I found it difficult to read the pic having to scan around with the scroll bars.
Thomas's suggestion about checking the active plane is very good.
The other suggestion is that some how you are feeding the same signals to both the X and Y axis drivers. Do you have separate drivers or all on one board?
Craig
-
also some more Information about the wiring, and used hardware would be helpful.
-
Hi,
I've had a look at your pin assignments and they look OK.
May I suggest when you post a pic that you crop and resize it with something like 'Paint' so that it will fit on the screen, it helps convey info better.
What I read is:
X axis enabled step= port1 pin 2 dir =port1 pin3
Y axis enabled step=port1 pin 5 dir=port1 pin6
Z axis enabled step=port1 pin 8 dir= port1 pin9
A axis disabled step=port1 pin8 dir=port1 pin9 A duplication, shouldn't matter given that the axis is disabled but confusing, I would correct it.
B axis disabled unassigned
C axis disabled unassigned
Spindle enabled step=port1 pin 17 dir= port1 pin1
Can you confirm? I found it difficult to read the pic having to scan around with the scroll bars.
Thomas's suggestion about checking the active plane is very good.
The other suggestion is that some how you are feeding the same signals to both the X and Y axis drivers. Do you have separate drivers or all on one board?
Craig
Sorry Craig for the Picture I clicked it from my mobile..next time I'll keep in mind and yes the Pin and ports you wrote are right///regards DD
-
I tried G69 nothing happened..Please find enclosed some pictures of controller
-
Please find more pictures for your perusal
-
Picture2
-
what manufacturer is this controler, any Manual?
-
It's Chinese From ...Charmhigh Technology Limited
-
No manual
-
Hi,
I just checked in MPG Mode X+ , Y+ , Y- and X- all are working fine....only with the keyboard it's both moving together...
-
Hi,
is your hotkey assignment ok?
Klaus
-
let me check
-
attached is my hotkey window I don't know how to set this or it's configured ok or not ? please help
-
Hi,
those Hotkeys assignments are OK, and the pic showing them is certainly big enough!
Hoe about some shots (resized) of your drivers and a shot of your wiring diagram.
Craig
-
Pictures for the driver I already posted the CNC controller but wiring it's all enclosed I don't know how to send the same.. ???
-
Hi,
I see the pics you've posted but they need to be resized in order to get any useful info from them.
Craig
-
Hi,
I've had a closer look and the board is hardwired in such a manner that you cannot assign motor outputs as you please. You have to follow th
manufacturers numbering scheme.
I have indicated the area that you need to study. I want some close up pics of that area. Make sure you resize them, if you keep on posting
ridiculously outsized pics I cant be bothered to help.
Craig
-
I am sorry Craig I m trying my best to resize the pictures, as I am new to this environment i don't know what size pictures are suitable here but i'll try again to resize the pictures and will post here soon...once again sorry for the inconvenience..
-
Hi,
roughly 1000 pixels on a side means you can view the picture in total.
Craig
-
the only Thing witch is corious is,
that in MPG mode the axis move separat, just in continious jog they move together.
in an other aplication like Notepad your arrow key's are working 'normaly'?
-
Hi Craig,
I tried my level best to resize the picture using GIMP hope this time it will be OK in size.
-
second Picture
-
Hi,
yes they are much better.
It looks like your motor outputs are correct. The layout of the signals suggests
X axis step=pin2
dir=pin3
Y axis step=pin5
dir=pin6
Z axis step=pin8
dir=pin9
Your spindle assignments look wrong
Spindle step=pin16
dir=pin14
One thing I think you should change is on the Outputs page
X enable=pin4
Y enable=pin4
Z enable=pin4
Craig
-
Thanks Craig I'll do the same and get back to shortly..
regards,
DD
-
I changed the Pin numbers as you suggested but the same condition....
regards,
DD
-
Hi,
I can only conclude that the board is faulty.
Take it up with the peron you bought it from to replace it.
Craig
-
Hi Craig,
One of my friend also bought the same machine with same controller let me borrow his controller and check on my machine, i'll update you in few hours.
regards,
DD
-
I changed the controller and checked the second controller pins configuration it was 100% same as mine and after changing the controller the same result nothing changes How it's possible if my controller is faulty his should be ok ..
-
Hi,
yes that would tend to indicate that Mach is causing the X and Y axes move together.
Try MDIing some separate X and Y moves:
G0 X50
X0
Y50
Y0
That should move X 50mm then back again, then Y 50mm and back again. Does it do that or do both axes move together?
When the axes move together do both the X&Y DROs change together?
Does your friend have his machine set up and running?
Craig
-
Ok Craig I'll do the same and about my friend he is not using his machine since last 15 days but as per him he was not facing the problem i am facing..
I'll update you tomorrow ..
regards, DD
-
could you please put your used profile (xx.XML) here?
Klaus
-
Hi Klaus,
I am not technically sound in this machine so didn't understand can you please elaborate ?
regards,
DD
-
Hi
All parameters of Mach3 are stored in a so called profile. If you used the default settings at install, this file resides in C:\Mach3, the default name is Mach3Mill.xml. If you don't want to show it on the forum, you can send me the file. My email klaus.dietz@kd-dietz.de
Klaus
-
Ok Klaus,
I'll send you till tomorrow ..Today out of station.
Thanks for your support.
regards,
DD
-
I get the impression that g1 x10 works just fine? Ditto g1 y10?
IF so, then all the electronics, the wiring and the motors are just fine. If they were not, those instructions would not work properly.
If it is only a jog command which goes wrong, then the problem lies between the keyboard and the Mach keyboard input - that part of Mach which collects the key strokes. If the Hotkeys photo is still valid, then I can only suggest reinstalling Mach3, preferably (VERY preferably) version .062
Cheers
Roger
-
Hi Craig,
G0 X50
X0
Y50
Y0
That should move X 50mm then back again, then Y 50mm and back again....yes G0 X50 ----only X moved to 50 then X0 come to home position...same with Y Axis..
regards,
DD
-
Ok Klaus,
I'll send you till tomorrow ..Today out of station.
Thanks for your support.
regards,
DD
Hi Klaus I mailed you the XML files don't know whether you were asking for the same or something else..
with best regards,
DD
-
Hi,
I think Roger is right, if the machine MDIs OK then the keyboard data is getting scrambled.
Re-installing Mach with fresh download, version 062 preferred.
Craig
-
Hi
I think I found the culprit. It's a setting in the profile. I have to figure out how to change this parameter. Another solution would be generate a new profile.
Klaus
-
Hi Klaus
Give generously! What setting? So we know for the future.
Cheers
Roger
-
Hi Roger
this explanation regards the dialog "Port Setup and Axis selection Input signals"
this problem occurs if Emulated is checked and the Hotkey settings are mixed up in x and y direction.
to correct this, change
JogX++ to 39
JogX-- to 37
JogY++ to 38
JogY-- to 40
or uncheck the "Emulated" button.
Klaus
-
Hi Klaus
That is the standard Mach3 config, but it is also what the OP's JPG showed.
Now, the emulated button - don't know.
Cheers
Roger
-
Hi Roger
you're rigth. But the profiles I got were opposite. Keys up / down were 39 37 which is x-direction.
Klaus
-
Does that explain why X & Y were moving together though?
Strange stuff ...
Cheers
Roger
-
Yes, but only if "Emulated" is also checked.
Klaus
-
Bugs maybe in the version OP is using?
Cheers
Roger
-
Hi
I don't think so. You can test it with the standard screen 1024.set. Just change the settings, in the "Port Setup and Axis Selection". I tested on Win10 Mach3 V3.043.062 without a parallel port and could see the x and y movement on the DRO's.
Klaus
-
Hi Klaus
I am not sure what I should be looking for, or what settings I should be changing. I fiddled around a bit with enabling/disabling the ports on my desk PC but the correct DROs still changed as expected with the arrow keys.
Ah - I do not have a pendant on my desk machine. But the pendant I use on the actual machine works fine.
What am I missing? Suggestions?
Cheers
Roger
-
Hi Roger,
I also don't have a pendant. Try the following:
Ports and Pins -> Input Signals
Jog X++ Enabled Emulated Hotkey 38 (arrow up)
Jog X-- Enabled Emulated Hotkey 40 (arrow down)
Jog Y++ Enabled Emulated Hotkey 39 (arrow right)
Jog Y-- Enabled Emulated Hotkey 37 (arrow left)
Apply
Reset
occasionally I had to change the Jog mode with the fly out dialog
Jogging with the arrow keys up, down, left or riight show x and y movement on the DRO's
Klaus
-
Hi Roger,
I also don't have a pendant. Try the following:
Ports and Pins -> Input Signals
Jog X++ Enabled Emulated Hotkey 38 (arrow up)
Jog X-- Enabled Emulated Hotkey 40 (arrow down)
Jog Y++ Enabled Emulated Hotkey 39 (arrow right)
Jog Y-- Enabled Emulated Hotkey 37 (arrow left)
Apply
Reset
occasionally I had to change the Jog mode with the fly out dialog
Jogging with the arrow keys up, down, left or riight show x and y movement on the DRO's
Klaus
THANKS ALOT KLAUS....PROBLEM SOLVED
-
Thanks everyone///Thanks for your support ...Craig , Klaus , Roger ..... problem solved by assigning corresponding Hotkeys...