Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: marktaft on December 22, 2015, 03:35:14 AM

Title: Version 2803 Problems
Post by: marktaft on December 22, 2015, 03:35:14 AM
**** Reference all Axis Home ****

HI everyone,

Can you confirm if the reference all home should be working the same as Mach3.

Currently my system does reset the DRO's to Zero , but does not motor over to find home switches.

Are there any other settings that I need to set befor this will work? or do I have to code this in the button script?

Or is this a future Mach4 enhancement?

Kind Regards

Mark
Title: Re: Version 2803 Problems
Post by: DazTheGas on December 22, 2015, 03:42:01 AM
Firstly I would make sure you havnt set the home in position located in the config.

DazTheGas
Title: Re: Version 2803 Problems
Post by: marktaft on December 22, 2015, 04:46:05 AM
**** Reference all Axis Home ****

Hi Daz, Thanks for the quick response.

Are you referring to the "Home in place" tick box in the Homing/ Soft Limits Tab?

I presume your system does motor over to find the home switches?

Cheers

Mark
Title: Re: Version 2803 Problems
Post by: DazTheGas on December 22, 2015, 07:25:49 AM
Perhaps it would help if you posted your machine.ini there is so much information in this file as to how your machine is setup. Another way which is better is to use the profile packager and upload, Please note it will make a file with the extension M4PROF so you will need to change the extension to .zip

DazTheGas
Title: Re: Version 2803 Problems
Post by: Pedio on December 22, 2015, 11:13:44 AM
Mine motors over to the home switches.

Have you looked at the machine diagnostics tab to make sure that your home switches are not active; e.g., LEDs are lit.

You also have to identify what inputs your home switches are connected to in the input setup tab. I am not sure but suspect if you have not identified the input for the home switch then MACH 4 probably thinks you don't have a home switch on your system and does not move at all.

Let us know if you solve this problem.
Title: Re: Version 2803 Problems
Post by: patton on December 22, 2015, 12:44:08 PM
 might want to look at your motion controller plugin for settings too..... I thought homing was done in the motion controller ... I may be wrong on that though.
Title: Re: Version 2803 Problems
Post by: marktaft on December 23, 2015, 03:51:37 AM
Hi,

Here is my config file, which program do you use to view it?

Kind Regards

Mark
Title: Re: Version 2803 Problems
Post by: marktaft on December 23, 2015, 03:52:58 AM
Sorry forgot to mention, have checked the limit leds in the debug pannel,they do seem to be working
Title: Re: Version 2803 Problems
Post by: DazTheGas on December 23, 2015, 06:08:07 AM
Unfortunately I cannot assist on this one as its using the Darwin Plugin and my machines are all 64bit and unable to use the plugin, so this is really a topic for those using Darwin.

DazTheGas
Title: Re: Version 2803 Problems
Post by: bob_at_pmdx on December 23, 2015, 03:39:49 PM
Here is my config file, which program do you use to view it?
I use Notepad and Mach4.  Here is what I see:

Motor0 is the only motor that is enabled.
The X axis is the only axis that is enabled, and it has Motor0 assigned to it.
In the homing order you have the X axis as #1 (first axis to home).

So far so good.

Looking at the "Configure->Mach", "Input Signals" tab, you have the Darwin/xlimit signal assigned to:
- Input #5
- Motor 0 Home
- Motor 0++
- Motor 0 - -

Disclaimers: I know very little about the Darwin plug-in.  And I don't currently have access to our PC that has Darwin installed, so I can't test any of this.  Some plug-ins totally ignore the settings in the "Configure-> Mach" dialog.  I don't know if the Darwin driver ignores them or uses them.  That said...

If the Darwin plug-in had a signal called "xlimit", I would presume it also has a signal called "xhome".  Homing is indeed handled entirely in the plug-in, all Mach4 does it tell the plug-in "Home this axis and tell me when you are done".  It is **possible** that the Darwin plug-in will only home an axis if there is an input signal assigned to its "xhome" signal, if indeed it does have an "xhome".

OR...

I see in the Darwin section of the Machine.ini file that Motor0's home signal *might* be assigned to Darwin input #29 (I'm guessing as to the meaning of the line "Motor_0_HomeSig=29").  If that really does mean the home signal is Darwin input signal #29, looking further down the INI file, "Input_29" is disabled and has no name.  So, as above, perhaps Darwin is refusing to home that axis because there is no input assigned as the home signal.

You might be able to verify this by enabling the Mach4 log window.  Go to the "Diagnostic" menu and select "Logging".  Then click on the little play button to start the log.  Now try to home the machine.  See what messages show up in the log window.

Those are my best semi-educated guesses.

Bob
Title: Re: Version 2803 Problems
Post by: dude1 on December 23, 2015, 05:30:21 PM
marktaft do you have a licences for darwin
Title: Re: Version 2803 Problems
Post by: Jarhead on December 23, 2015, 06:52:55 PM
Bummer.... Thought this was going to be a "post your problems with 2803" thread. I have a ton of them!
Title: Re: Version 2803 Problems
Post by: dude1 on December 23, 2015, 07:03:52 PM
just start your own thread
Title: Re: Version 2803 Problems
Post by: marktaft on December 24, 2015, 04:45:26 AM
Thanks for the info Bob,

Think i will need to go back to the darwin thread, did not think it would be so complex , replicating what already works in mach3.

When I finally get mach4 working , will be purchasing a licence for M4.

Happy Christmas

Mark
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 24, 2015, 05:07:57 AM
I use Mach4 V2803
I use ESS to communicate with my two breakout boards.

When Mach4 ist started and i use other programms i have some trouble.
The keys assigned to Mach4 can't be used in other programms.

best regards

Gerhard
Title: Re: Version 2803 Problems
Post by: dude1 on December 24, 2015, 05:27:35 AM

marktaft if you don't have a licences for darwin output and input do not work only motion is available
Title: Re: Version 2803 Problems
Post by: DazTheGas on December 24, 2015, 11:20:41 AM
Bummer.... Thought this was going to be a "post your problems with 2803" thread. I have a ton of them!

unless you start a thread of your own to list any problems no one can help.

DazTheGas
Title: Re: Version 2803 Problems
Post by: bob_at_pmdx on December 24, 2015, 12:00:07 PM
I use Mach4 V2803
I use ESS to communicate with my two breakout boards.

When Mach4 ist started and i use other programms i have some trouble.
The keys assigned to Mach4 can't be used in other programms.
Known issue.  You have to manually disable the keyboard plug-in - click on the keyboard icon in the system tray (lower right corner of your screen).  When you see a red "X" on the icon, the Mach4 keyboard plugin is disabled and cursor keys will work in other programs.  Then re-enable it when you switch back to Mach4.

Bob
Title: Re: Version 2803 Problems
Post by: bob_at_pmdx on December 24, 2015, 12:01:47 PM
Think i will need to go back to the darwin thread, did not think it would be so complex , replicating what already works in mach3.
When I finally get mach4 working , will be purchasing a licence for M4.
ALso make sure you aren't hitting the time limits in the unlicensed Mach4 (will halt motion after some amount of time running, I don't remember exactly but like 10 or 15 minutes).

Shameless plug - we offer Mach4Hobby licenses at a discount :-)

Bob
Title: Re: Version 2803 Problems
Post by: dude1 on December 24, 2015, 12:36:53 PM
nothing shameless bob you help here so
Title: Re: Version 2803 Problems
Post by: Chaoticone on December 24, 2015, 01:45:50 PM
I use Mach4 V2803
I use ESS to communicate with my two breakout boards.

When Mach4 ist started and i use other programms i have some trouble.
The keys assigned to Mach4 can't be used in other programms.

best regards

Gerhard

Bobs response is accurate but he left a bit out. You should not be using other programs while Mach is running. It is recommend to not have unnecessary programs installed on your machine PC. Keep the machine PC lean and clean. If not, your asking for trouble. However, I run tons of programs while running Mach4 on my office PC so in those cases you can disable the keyboard plugin as Bob said.
Title: Re: Version 2803 Problems
Post by: Pedio on December 24, 2015, 07:37:22 PM
I can recommend purchasing from Bob at PMDX. They have been TERRIFIC on after purchase support.

Pedio

Note - I am not affiliated with PMDX. I just know good service when I see it!
Title: Re: Version 2803 Problems
Post by: marktaft on December 25, 2015, 02:00:44 PM
Hi everyone,

THanks for all your hints, will probably have some time next week to check then out, However at the moment I am tied up with the childrens toys.

I have purchased a Darwin licence, dont think my testing has hit the 15 mins limit yet, but thanks for reminding me about that.

My plan is to prurchase a full copy of mach4 and Mill Wizard , when I finally get the system running.

Kind regards

Mark
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 26, 2015, 04:55:34 AM
Hello,

during achs mapping MACH4 will crash.
I tried out a lot, but everytime the same.



(http://www.gerhard-grasser.net/mach4/MotorChrash.png)
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 28, 2015, 01:16:10 PM
I just checked out:

Create a new profile in Mach4.
After Starting the new profile, select "Configure" - "Plugins" and activate ""imulator - Newfragled Solutions"
Restart Mach4 with the new profile.
Select "Configure", "Mach", "Outputs" scroll complete to the end.
Number 10 and 11 form behind counted is "Reserverd 1" and "Reserverd 2"

Close Mach4

Startup Mach4 with an existing profile.
Select "Configure", "Mach", "Outputs" scroll complete to the end.
Number 10 and 11 form behind counted is "Charge Pump #1" and "Charge Pump #2"

 ??? ??? ??? ???
Confused about that!

Title: Re: Version 2803 Problems
Post by: Steve Stallings on December 28, 2015, 01:56:16 PM
The concept of "charge pump" signals has changed with build 2803.

Mach4's core never generated the actual charge pump pulsing signal,
it simply controlled the static logic state of the signal with that name,
sort of acting like and on/off switch for the charge pump.

When 2803 was released any newly created profile will list these
signals as Reserved and they still have the same index into the array
of signals available. If an existing profile is used, Mach4 will not rename
the signals and they will appear as Charge Pump, but plug-ins will still
find them at the same index into the array of signals.

This change was supposed to make things easier to understand.  8-)


Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 28, 2015, 02:20:24 PM
Thank you for your answer.

If i understand you in a right way, then there is no need to use "Charge Pump".
I can assign "everything" to 1|16 and 2|16 in my case.
I thought the same, and said: Well, there is a possibility to use "Enable 1" and "Enable 2" .
"Enable 1" and "Enable 2" make more sense, because this tells me Board 1 and Board 2 should be enabled.

But assigning "Enable" to the pins 1 need will not work also.

You know what i mean?

Title: Re: Version 2803 Problems
Post by: Steve Stallings on December 28, 2015, 04:21:20 PM
The presence of a Charge Pump signal is a requirement imposed by your
breakout board or driver box. It they are not configured to require one,
then there is no need to try to set one up in Mach4 or your plug-in.
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 29, 2015, 01:48:47 AM
Both boards are configured to have "Charge Pump".
In the manual of the breakout board is written that on pin 16 a signal with 2,2 kHz is requiered.
Topical i have no plan. Everyone tells me something different.
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 30, 2015, 02:00:52 AM
Hey, i have a new question:
If i push "REF X" for example, nothing happens.
The only thing is, the LED right the button changes from red to green.
Is there a script mandatory or have forgotten to configure something?

best regards,
Gerhard
Title: Re: Version 2803 Problems
Post by: bob_at_pmdx on December 30, 2015, 10:20:11 AM
Are you still using the simulator as your motion device?  If so, all it does when homing an axis is wait 1 second, set that axis position to zero and set the axis to "homed" (green indicator next to "RefX" button).  In fact, the simulator ignores the "Home Offset" setting in the "Homing/SoftLimits" configuration tab.

If you are using the ESS as the motion device, check that you don't have the "Home In Place" setting checked (go to the "Configure" menu and select "Mach..", then click on the "Homing/SoftLimits" tab).  There may also be further homing settings in the ESS plug-in config, but someone familiar with the ESS plug-in will have to help you there.

Bob
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 30, 2015, 01:05:48 PM
Hello Bob,

thank you for reply.
The Motion-Device is ESS. Thats sure.
Place in Home is not checked.
If i klick to "REF" nothing happens on the machine.
Axis can be moved with buttons in MACH
Axis can be moved with keyboard.

Klick to "REF" will change the screen, in the status bar is written: "Homing"
Nothing happens.

Gerhard
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 30, 2015, 01:23:33 PM
Here the log from the "Homing".

Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 30, 2015, 02:14:42 PM
Next issue:  :'( :'(

Create a new profile
Machine-Name: NewMachine
Screen: wx6.set

During starting the new profile you will be asked for the moton device
select ESS with right IP
Configure ESS
Close Mach4

Start Mach4
Enable ESS in Plugins
Enable Keyboar in Plugins
Configure ESS- > Close Mach4 after doing this, otherwise the application will crash!
Configure Keyboard

Try to move axis -> nothing will happen

Close Mach4

Restart Mach4

Enable Simulator - Newfragled Solutions
Try to move axis -> axis will move

Try home axis -> nothing will happen.


best regards, gerhard

Title: Re: Version 2803 Problems
Post by: bob_at_pmdx on December 30, 2015, 09:13:58 PM
Here the log from the "Homing".
From the log it appears that something is preventing the ESS from actually homing.  I'm not familiar enough with the ESS config screens to be of any more help here.  BTW, there is also ESS specific help on the Warp9 support forums (http://www.warp9td.com).

A polite suggestion - instead of putting all of your ESS & machine configuration/operation issues in the thread that was originally about build 2308 problems, please start another thread (or several more threads) with subjects lines that make it clear that your issues are at least partially ESS related.  That way people who know a bit about the ESS plug-in may be more likely to *find* the thread and jump in the help.

Bob
Title: Re: Version 2803 Problems
Post by: bob_at_pmdx on December 30, 2015, 09:20:01 PM
Next issue:  :'( :'(

<snip lots of config stuff>

Enable Simulator - Newfragled Solutions
I'm not sure about the other issues, but I do know that you should *never* enable the simulator along with any other motion plug-in (i.e. ESS).  I can't explain why doing so caused your ESS to then start moving motors.  But I *DO* know that enabling the simulator plug-in often causes erratic behavior in other plug-ins.

Bob.
Title: Re: Version 2803 Problems
Post by: dude1 on December 31, 2015, 12:39:04 AM
it a good idea to just remove sim it can save 10 tonne of issues for ya tissue
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on December 31, 2015, 12:23:27 PM
The Motiodevice is not enabled.
It's yust in the list.
(http://www.gerhard-grasser.net/Mach4/motion.png)
Title: Re: Version 2803 Problems
Post by: bob_at_pmdx on December 31, 2015, 01:37:47 PM
The Motiodevice is not enabled.
It's yust in the list.
(http://www.gerhard-grasser.net/Mach4/motion.png)
That shows that the simulator is not selected as the motion device.  It does NOT show whether the simulator plug-in is enabled or disabled, which it what I was referring to.  For that, go to the "Configure" menu and select "Plugins..".  There should be a red "X" in the "Enabled" column on the "Simulator" line.

Bob
Title: Re: Version 2803 Problems
Post by: DazTheGas on December 31, 2015, 02:05:29 PM
have you set the homing in the ess config as well as the mach config?

DazTheGas
Title: Re: Version 2803 Problems
Post by: DazTheGas on December 31, 2015, 02:13:32 PM
Actualy I have noticed you keep making a new new profile, can u post the machine ini file this will make it so much quicker to check the settings for you or even better use the package currwnt profile from the help menu and post as a zip file, then we can simply load your profile and test

DazTheGas
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on January 01, 2016, 02:13:08 PM
Hey GazTheGas,

here you are...
Title: Re: Version 2803 Problems
Post by: DazTheGas on January 01, 2016, 03:48:58 PM
As I thought, you need to set your homing in the ess config, yours is empty so the ess dont know what to do.

Heres an example

DazTheGas
Title: Re: Version 2803 Problems
Post by: Gerhard Grasser on January 02, 2016, 12:41:44 PM
My Version 1.32 does not have this option.
Title: Re: Version 2803 Problems
Post by: DazTheGas on January 02, 2016, 02:33:44 PM
This screen has alway been there in the config section of the plugin.

Step 1 open the plugins.


Step 2 open ESS configure


Step 3 goto homing tab within plugin


DazTheGas