Hello Guest it is April 25, 2024, 06:01:07 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - thespindoctor

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »
231
General Mach Discussion / Re: axes not moving anymore
« on: October 22, 2016, 03:19:21 PM »
I will check the bios but I don't think there is an option for ECP.  Thanks!

232
General Mach Discussion / Re: axes not moving anymore
« on: October 22, 2016, 03:05:21 PM »
Thanks for the suggestions..!  Yes 32 bit, yes all axes lock on reset , yes all limit switches are active, all compatiblity issues are met. We are going to reformat and install Win XP and try again with no internet and no Norton.  Remember everything worked great for 1 day!

233
General Mach Discussion / Re: axes not moving anymore
« on: October 22, 2016, 11:05:14 AM »
Checked port addresses and tried with and without interrupts, running drivertest each change.

234
General Mach Discussion / axes not moving anymore
« on: October 22, 2016, 07:26:38 AM »
All axis movement has stopped on a machine that has been running Mach3 for years.  I put a new Win 7 computer into the system, and it worked fine for a day.  When I turned on the computer the next morning, there was no axis movement.  All indicator lights on the BOB and drives are on and the motors hum.  It uses the Campbell BOB and steppers with Gecko drives.

So far I have gone through the optimization process, uninstalled Norton, uninstalled Mach3 and reinstalled it 3 times with the proper use of DriverTest which says the system is great each time.  I have had experience with Mach3 having retrofitted 2 commercial machines and custom built 2 machines myself.  However, I have no electrical training and make my living doing surgery (who knows why I fool with machines...).  I have no idea what has gone wrong.  Possibly the motherboard, parallel ports, or parallel cable or maybe the BOB?

Thanks!
Keith

235
Hood,

I looks like it is too difficult to work at the bit level in Mach so I switched to just changing the bytes and it worked out nicely.  That way I can load and output integers to the registers in a byte wise fashion.  It takes a little more effort to load and output on the PLC side but straight forward on the Mach VB side.  Now setuserdro(1407,1) in Mach to turn on spindle and PCL checks 1407 = 1 to turn on spindle.  Then when spindle off setuserdro(1407,0) written on Mach side and on PLC side read 1407=0 to turn off.  When spindle is off on PLC side 1607=0 and when on 1607=1  Mach can read with getuserdro(1607) to check the status of the PLC.  That way there is a check back and forth.  Also must interlock with chuck clamp and tail stock in and out to be sure they are not able to change while spindle is on.  Lots of fun now to actually start making this machine work.  I love retrofitting!  Hope to actually see it work later today if wife will let me sneak back to the shop on a holiday...

Thanks
Keith

236
I appreciate all the suggestions but we have not gotten to the detail that I am lacking yet. So the serial plugin is setup and the registers are defined already.  I know the specific address is 1600.  I want to be able to individually turn on and off or set each bit of this 16 bit address to 1 or 0 from Mach.  On the PLC side I just set B1600.10 to turn on bit 10 of the V1600 output register.  I just can't see how to do that from the Mach side in VB.  I do realize how to deal with bytes on the mach side but not bits.


Thanks!

237
Hood,

I need to figure out how to use the base output and input register eg V1600 which has 16 bits referred to as B1600.0,  B1600.1, B1600.2 ... B1600.15   I understand how to work with bytes as you have suggested using pins and port or Setuserled, Getuserled or setuserdro etc but is there not a difference when controlling bits as opposed to bytes?

Thanks
Keith

238
General Mach Discussion / controlling bits in Mach for PLC communication
« on: January 01, 2012, 06:11:55 PM »
How does one turn on and off bits in memory to communicate with PLC?  I can see how to do it from the PLC side by set B1600.10 and reset B1600.10 but on the Mach side I can't find anything in the documentation that describes how to set bits.  SetOUTbit()  and resetOUTbit() seem to be the ones to use but there is nothing written about how to use it as all text is in red I think indicating this section under Mod Bus programming is under construction.

Thanks
Keith

239
General Mach Discussion / Re: CB formatting numbers
« on: September 29, 2011, 02:28:55 PM »
I appreciate your help and will look forward to seeing the manuals!

Keith

240
General Mach Discussion / Re: CB formatting numbers
« on: September 29, 2011, 11:04:20 AM »
Thanks TP, that was an easy one!  Now I will have to find a hard one for you... >:D
Keith

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »