Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: Cbyrdtopper on October 27, 2015, 04:30:36 PM
-
I am trying to do some testing with Mach 4 but I'm not getting any movement when I select the ESS for my plugin. When I jog on the simulator plugin it will move the axis DRO but whenever I try jogging with the ESS plugin it will put mach in a "jogging" state and won't do anything. Any ideas??
-Chad
-
Theres a new plugin on its way for the ESS.
DazTheGas
-
Do you think that is the problem?
-
do you have the EStop connected and mapped correctly that can make your problem happen
-
My estop is configured correctly and is working. I have output control, ie spindle relays to c6 board turn on and off, coolant will turn on and off; my inputs work, home switches work and tool drawbar switches work. The only thing that isn't working is the jogging.
-
As Blockhead did with a posy yesterday but instead of pictures post your machine.ini the a profile can be made up for evaluation and is so quick at picking up if theres any settings out of place.
DazTheGas
-
DazTheGas,
I'm not sure I am understanding you. You want me to post my Machine.ini to this post? Do you want me to post the txt from the ini or what?
-
Just upload the machine.ini from your profile as an attachment.
DazTheGas
-
Had to rename it to attach the file. But here is the Machine.ini
-
Away at moment and can't do much with this iPad. Will look first thing in morning when back, just out of curiosity? What version of mach4 are you using as on your post at warp9 says u are using 2703?
If so change to 2686
DazTheGas
-
I changed it and it did the same thing. Also, I can't even run MDI commands, Dont know if that is necessary to know also or not.
Thanks for the help also.
-
Cbyrdtopper what if any noise do the stepper motors make when you try to jog. you have the steps per set to a very oversize number with a slow as a wet week acc and velocity I think that may be a bit wrong
you have the EStop ticked in Mach config that's wrong you do it in the ESS config
-
Daz I keep forgetting to use the .ini it is faster than pick`s
-
Well back home to pc and loaded your config, I go with blockhead on this if you look in the log you get (Estop is asserted) pic attatched, i would start by deleting this in the mach inputs section. (second attatchment)
V2686 Used
DazTheGas
-
Okay DazTheGas,
Messing with the Estop seemed to do the trick. I don't really know what I did exactly but it works now. I started by setting it to active high (unchecking) and it didn't work so I changed it in the Plugin settings and still didn't seem to work, after that I tried a couple other combinations and one seemed to do the trick. Uploading the INI again so you can check it out.
I also had some questions about the estop controlling my outputs. I was testing outputs and inputs with my drawbar, I wanted to know if the estop would change the state of my output to (0). It turns out that it doesn't. I haven't messed with any of the screen load, unload, PLC, or signal scripts. When I hit my estop I want some of my outputs to turn off. So what kind of code do I need to have, and where do I need to put it?
Thanks for the help!!
-
you will have to do a table that gets activated by the estop you would have it in the PLC when estop is active do this
-
you still have ticks in m4 config you don't do this
and check your steps per
-
I fixed the ticks in mach config. The steps per on my axis were correct with my machine, except maybe the spindle. I can't get the spindle working. I'm using a C6 Speed Control Board. I'm using the already defined Spindle Forward, Spindle Reverse, and Spindle On outputs in the ESS configuration. It will turn on the relays with M3 and M4 and will even M5 correctly, however it isn't putting out a signal for my 0-10 VDC.
Blockhead, are you referring to a signal table? If so how do I set it up and use it. I didn't find that the example in the Lua scripting manual was very helpful.
-
your steps per are very high if it works it works.
you will have to ask Daz I have not done any .lua coding in a long time there may be a better way to do it the but in the manual is correct. have a look at the example in the lua examples folder in c/M4. Signal Library I think that's what you wont
-
theres actually a better example of signals in the screenload script in the latest release, if you look into signals you can do an if statement
if estop signal == 1 then
set output 1 to 0
set output 2 to 0
etc etc
DazTheGas
-
That will work for me. Is there a specific handle I will need to get for the Estop? I have only worked with Input # and Output#.
-
ISIG_EMERGENCY is the signal for estop
DazTheGas
-
Thought it'd be better to add to this thread than start a new one.
I'm having the same problem with no movement from ESS plugin. I've read this thread carefully and checked all my settings and reverted my Mach4 back to 2686 but still can't figure out where the problem lies.
I've attached my Machine.ini file in case any of you have a chance to check it.
Any help would be greatly appreciated!
I'm very excited about Mach4 and had taken my setup process as far as motion, motor calibration, and ATC solenoid output functions, but now I've messed things up somehow.
Leo
-
first thing it comes up that you have your own screen set what makes it a bit harder.
it looks ok have you tried unticking the Estop active state
-
Thanks very much for checking it out, blockhead.
The screenset is an unchanged copy of the screens from Mach4 2763. Perhaps that's a mistake to try the screens from 2763 while running 2686?
In some attempts I've seen the "E-Stop is cleared" message but still no motion. I'm not sure which place you're referring me to in order to uncheck the E-stop: ESS config, Mach config, diagnostics screen?
-
ESS config, if it's ticked untick or the other way around that can be the fault on some set up's
-
Something worked!
I tried every configuration of the E-stop settings in the ESS config and Mach config. Nothing worked until I tried starting up Mach3 which works. Then Mach4 started working again!
I shutdown the computer and control box and restarted to see if Mach4 would keep working without first having to start Mach3 and it did!
I really appreciate your quick responses blockhead. It got me on the right track even if I'm still not sure where I went wrong in the first place.
Cheers!
-
it would off been the estop and the ESS hanging, quite often if something is set wrong like the E stop the ESS hanges and the only way to clear it is to disconnect its power or boot up M3.
if it happens again have a look in task manager to see if it is still running if it is kill the power to the ESS and restart M4.
the next plugin should stop this problem, it should be out by xmas day
-
Ah ok thanks - I'll definitely try that out the next time I mess things up.
My previous attempts before my initial post involved loads of restarting both my control box with the ESS and the PC but nothing worked. I have a habit of shutting down Mach4 before powering off the ESS and I wonder if Mach4 is saving the ESS settings/registers/flags between sessions and reloading them again.
After your replies I started watching out for the status of connections in the ESS diagnostics window which I think will also help for the next time I get myself stuck.
-
yep it will be a good idea,