Mirac homing problems after USB upgrade.

All info relating to the Denford Mirac lathes

Moderators: Martin, Steve, Mr Magoo

Post Reply
MAX THE MILLER
CNC Expert
CNC Expert
Posts: 144
Joined: Tue 23 Aug , 2011 18:25 pm
Hardware/Software: Denford Triac PC. VR Milling 5.51.0.616

Mirac homing problems after USB upgrade.

Post by MAX THE MILLER » Tue 23 Aug , 2022 18:56 pm

I have upgraded my Mirac by fitting a standard USB control card ie Baldor/ABB designation NES003-501, Denford designation
B100434Y.

Before fitting the new card I made sure that everything worked correctly when using the existing RS232 card.

Fitted the new card, which EASY UPGRADER identified as a NextMove-ST with USB Interface (Green LED) with up to date firmware.

Selected the machine type as MiracNS and used the Mint File MiracNS.55xx.mnt. Mint file is loaded to machine correctly.

--------------------

The problem is that the machine attempts to home SLOWLY in the wrong direction on both the X and Z axes and, if allowed to, will continue to drive the axes until the axes' limit switches are operated generating an Emergency Stop condition. I can affect a partial fix by unticking the Negative X and Negative Z boxes in the "Home" section of Machine parameters. The machine then homes in the correct direction, but still does so SLOWLY. Jogging works correctly with the axes moving the right way.

Other threads suggest that this problem can be down to limit switch problems, but that's not the case here. Operating any of the three limit switches manually, results in the Emergency Stop Relay operating. It doesn't appear to be a proximity detector problem either.

--------------------

I've carefully checked the homing operation both before and after the upgrade.

Before the upgrade the axes are driven QUICKLY towards the home position until the proximity switch operates. The drive direction is then reversed and the axes are driven SlOWLY away from the home position until the proximity switch deactivates.

After the upgrade the axes are driven SLOWLY towards the home position and the drive stops once the proximity switch is activated, there being no drive reversal.

----------------------

What has gone wrong here? The machine parameters for the Mirac and MiracNS are very similar.

I have the same problem if I use the MiracNS.mnt file.

Thanks, Max.

MAX THE MILLER
CNC Expert
CNC Expert
Posts: 144
Joined: Tue 23 Aug , 2011 18:25 pm
Hardware/Software: Denford Triac PC. VR Milling 5.51.0.616

Re: Mirac homing problems after USB upgrade.

Post by MAX THE MILLER » Wed 24 Aug , 2022 14:22 pm

Another thread suggests that I should be using Mint File MiracNS.52xx.mnt with a card having a green LED. However this Mint File isn't included with recent versions of VR Turning. They only have the file MinMiracNS.52xx.mex.

Martin
CNC Guru
CNC Guru
Posts: 1897
Joined: Fri 24 Feb , 2006 17:09 pm
Location: Brighouse

Re: Mirac homing problems after USB upgrade.

Post by Martin » Wed 24 Aug , 2022 14:55 pm

We have these on record from a Mirac
Attachments
Mirac.zip
(65.6 KiB) Downloaded 296 times

MAX THE MILLER
CNC Expert
CNC Expert
Posts: 144
Joined: Tue 23 Aug , 2011 18:25 pm
Hardware/Software: Denford Triac PC. VR Milling 5.51.0.616

Re: Mirac homing problems after USB upgrade.

Post by MAX THE MILLER » Wed 24 Aug , 2022 15:41 pm

That's exactly what I've got Martin.

The problem is there's no NS.52xx.mnt file there, only NS.52xx.mex ie different file extensions.

The communications menu under machine parameters only allows selection of .mnt files. I believe .mex files are derived from .mnt files, but I don't know a way of loading them on to the USB Card.

Regards, Max.

MAX THE MILLER
CNC Expert
CNC Expert
Posts: 144
Joined: Tue 23 Aug , 2011 18:25 pm
Hardware/Software: Denford Triac PC. VR Milling 5.51.0.616

Re: Mirac homing problems after USB upgrade.

Post by MAX THE MILLER » Sun 25 Sep , 2022 16:54 pm

I managed to get NS.52xx.mex to load by setting up a dummy file NS.52xx.mnt. It appears that the software just changes the file extension from .mnt to .mex to locate the file. Using debug in MintManNS confirms that the correct .mex file is loaded to the controller.

However the machine still homes pitifully slowly. The feedrate set up under "Home" in machine parameters is set to 500.0000 and changing this makes no difference.

Martin
CNC Guru
CNC Guru
Posts: 1897
Joined: Fri 24 Feb , 2006 17:09 pm
Location: Brighouse

Re: Mirac homing problems after USB upgrade.

Post by Martin » Mon 26 Sep , 2022 9:19 am

Not sure on this. If you activate the secret home does it move correctly?

MAX THE MILLER
CNC Expert
CNC Expert
Posts: 144
Joined: Tue 23 Aug , 2011 18:25 pm
Hardware/Software: Denford Triac PC. VR Milling 5.51.0.616

Re: Mirac homing problems after USB upgrade.

Post by MAX THE MILLER » Mon 26 Sep , 2022 10:22 am

Martin.

Secret home does work in as much as after double clicking on it I can jog the machine without homing it. It makes no difference to the original problem though.

I tested this by jogging the machine as far as possible from the home position, then closed and reopened VR Turning.

Martin
CNC Guru
CNC Guru
Posts: 1897
Joined: Fri 24 Feb , 2006 17:09 pm
Location: Brighouse

Re: Mirac homing problems after USB upgrade.

Post by Martin » Mon 26 Sep , 2022 14:11 pm

Can you try the attached files.
Attachments
Mirac.zip
(65.6 KiB) Downloaded 287 times

MAX THE MILLER
CNC Expert
CNC Expert
Posts: 144
Joined: Tue 23 Aug , 2011 18:25 pm
Hardware/Software: Denford Triac PC. VR Milling 5.51.0.616

Re: Mirac homing problems after USB upgrade.

Post by MAX THE MILLER » Sat 01 Oct , 2022 16:48 pm

Those are the same files linked to in post #3 of this thread and they don't cure the problem.

MAX THE MILLER
CNC Expert
CNC Expert
Posts: 144
Joined: Tue 23 Aug , 2011 18:25 pm
Hardware/Software: Denford Triac PC. VR Milling 5.51.0.616

Re: Mirac homing problems after USB upgrade.

Post by MAX THE MILLER » Mon 03 Oct , 2022 8:41 am

As the control card came from a Triac it occurred to me that it might be loaded with the wrong firmware etc. for a Mirac?

Easy Upgrader 2 is apparently for ROHS and CE machines only? Is there an earlier version of Upgrader I should be using?

If Easy Upgrader 2 is correct should I be selecting Next Move ST RS232 and USB, or Next Move ST USB Old Green LED with CE updates 2011?

I think my control card is around 20 years old. It has a green seven segment display, RS232, USB and CanBus ports. Baldor/ABB designation NES003-501.
Attachments
IMG_2489 (1024x585).jpg
IMG_2489 (1024x585).jpg (136.7 KiB) Viewed 10747 times

Martin
CNC Guru
CNC Guru
Posts: 1897
Joined: Fri 24 Feb , 2006 17:09 pm
Location: Brighouse

Re: Mirac homing problems after USB upgrade.

Post by Martin » Thu 06 Oct , 2022 16:03 pm

As long as EasyUpgrader reports that it is up to date that all you need to check.

MAX THE MILLER
CNC Expert
CNC Expert
Posts: 144
Joined: Tue 23 Aug , 2011 18:25 pm
Hardware/Software: Denford Triac PC. VR Milling 5.51.0.616

Re: Mirac homing problems after USB upgrade.

Post by MAX THE MILLER » Thu 06 Oct , 2022 17:26 pm

The controller isn't in the machine at present, but IIRC I can force either version of firmware on to it and Easy Upgrader 2 will report that it's up to date.

5331 Next Move ST RS232 and USB
5414 Next Move ST USB Old Green LED with CE updates.

I'd assumed that Easy Upgrader 2 read the controller ID number from the controller and loaded firmware etc. applicable to that type of controller?

--------------------------------

To quote the notes file:

"Easyupgrader2 is a 2007 project

file name format and what it means:

eg, 5216.firmware.2
First number is version (5216)
Then a dot (.)
Next is the type of file (firmware,cpld,fpga,comms)
Then the Controller ID number (0-3)
0: NST001 with old bootloader (only works up to 5035 firmware but can be updated by Baldor
1: NST001 none USB card but will run all the latest firmware (hopefully)
2: NST002 USB nextmove ST
3: NSB - Nextmove ESB (servo machines)
4: NST002 USB Nextmove RoHS (Orange LED)
5: NST002 USB Nextmove RoHS and 2009CE Machine Updates
6: NextMove ST (Older Green LED) with CE updates 2011

The software looks at say the firmware version on the control, and if the file (eg,5216) number is higher, will update the control"

-------------------------

As the controller PCB is copyright 2003 I'm leaning towards its ID number being 2.

When forcing the firmware I'm asked to choose a machine type and only "Mirac" is available. That leads an error message when using Mirac NS files, but I can get rid of that by specifying the machine type as unknown.

Easy Upgrader 2 returns a machine ID of H60616/ ? Can that be tied to a particular machine type and date of manufacture?

Max.

Martin
CNC Guru
CNC Guru
Posts: 1897
Joined: Fri 24 Feb , 2006 17:09 pm
Location: Brighouse

Re: Mirac homing problems after USB upgrade.

Post by Martin » Tue 11 Oct , 2022 12:37 pm

The Mirac will need the non CE firmware installing.

VR Turning does not look at the machine type so it shoud be set to Unknown.

Post Reply