Hello Guest it is April 19, 2024, 07:06:03 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 - ART

451
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 18, 2014, 08:01:29 AM »
Peter:

   This is probably good news to find the bug then.. All ports should act the same, they all use the same code, they just loop through it 4 times
with a pointer to different port structures. Ive turned on pin2-9 as inputs on mine, and I can toggle the pins all day without seeing them mirror
on the upper pins. Im still a bit lost in finding this one, but Im still running tests. Peter, if the port#2 is unplugged from your computer, do the
ports2 pins still look mirrored in condition? I know you cant toggle them, but do they show a mirror of the pins as they just sit there unplugged?

Art

452
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 17, 2014, 09:50:47 PM »
Peter:

 Actually, Ill try to figure this one out again now. If you switch port 1 and port2's port addresses, does Port1 then show the same thing? ( or do you know).

 It may be any port with 2-8 as input ends up mirroring into the upper bits. Ill try it tomorrow and see. Hopefully I can repeat it..

Art

453
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 17, 2014, 02:03:03 PM »
No problem. . took me a few times. :)

Art

454
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 17, 2014, 12:29:17 PM »
 Sage:
   
      This is a question of understanding machine and work coordinates.
      Your work coordinate displays the distance from the last zeroed position. So in your case you zeroed
      the Y work coordinate when the machine coord was 0.
      So the work coordinate and machien coord read 0 together. No now you home, when the switch was hit
      the Machine coordinate got set to your offset, in this case 6.4065 , the extra being the distance the
      axis took to declerate after hitting the switch. That machine coordinate reading at that point then
      is the distance from where your currently at..to what your machine considers "Home" for the Y axis.
     
      Now the Work coordinates instantly changed as well, because its job is to report how far it is
      from the last zeroed position. The last time you zeroed you were equal to the machine coordinates.
      So when the machien coordinates changed, your work coordinate display had to as well. Your work
      coordinates now have to display the distance to the machine coordinate of 0, which you zeroed it to,
      so it now displays 6.065 as well. Had you zeroed at a machine coordinate of 10, your work cordinate
      would have changed to 16.065 .. 
     
      Consider this as an important feature for checking accuracy.. Lets say you zeroed in the middle
      of your table for a job. Half way through you suspect you lost steps. So you hit pause. It stops at
      a reading of 2.345 on the Y. You note the position and hit ref all. If the system homes and the machine
      coordinates are accurate ( you havent lost steps), you will not see any change in the work coordinate DRO's
      when the switches are hit. This is beacuse the machien coordinates didnt change, they were and stayed
      accurate. BUT, lets say you hit soemthign in the job, and you Y is .5" off. SO when the switch gets
      hit the machien coordinate zero and changes by .5, ( the distance it lost since last home). As it changes by
      .5, so too muct your work coorindate in order to repair the lost units. SO now you command it to
      go back to 2.345 where you pasued and youll notice your now .5" away from where you paused. You have
      repaired the lost steps. The rest of the job will now be accurate. Homing is good not only for starting a job
      over bu t for verifying that you have lost steps, just home and see if the DRO changes, if it doesnt you
      were accurate, if it does, you were off, but no longer are.
             
      I dont know why the guys dont have it startup with the last known coordinates, it can probably be
      configured to do that, but thats out of the scope of the printer port itself, more a question of
      how mach4 works.. and Im woefully inadequate to that task. I havent used Mach4 other than to code up
      a plugin for it. I will be designing my laser engraver aorund M4 so over time Ill know more about
      its care and maintenace.. and probably figure out where to set startuyp behaviour. :) , but the best
      best for any machine with home switches , is to do a refall immediately after every startup..and
      whenever you think perhaps youve lost steps..
     
      Art
     

455
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 17, 2014, 09:22:16 AM »
Sage:

  No. It all simply depends on where you were zeroed before homing. The DRO that gets changes is the G53 machine coordinates. If your current work cooridnates are the same as the machine coordinates, then it will look as if both are being set to your offset. But if their different, the numbers on the DRO
in work coords will not change, provided they were correct to start with. Play around with zeroing in variou sspots and them homing and it will become
apparent as to whats going on. Darwin only sets the machine coordinates after a homing, and it only sets them to the actual distance to "home" which
you describe with your offset as being a set distance form the home switch activation.

Art   

456
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 16, 2014, 12:43:14 PM »
Patton:

  Theres one more trick you CAN do.. map the home switch as X-- limit as well.. If you do that, youll find after homing that you cannot jog past the switch in the x-- direction, but you can jog away from it..

 Just in case it helps..

Art

457
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 16, 2014, 12:04:01 PM »
Pablo:

  I might add I even have an emco lathe that sites behind me on my workbench...Id only have to add an encoder
instead of that single pulse..

Art

458
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 16, 2014, 12:03:08 PM »
Pablo:

  Not at all. As I said, Im happy to commit to adding it if indeed there are enough users that would use encoder
threading from the printer port.  Its not a matter of not wanting to do it or anything, its just a time management issue,
I'm fairly busy on at least three fronts and I dont like to shortchange anyone.

Art

459
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 16, 2014, 09:35:58 AM »
I will. :)

Art

460
Mach4 General Discussion / Re: Mach4 Printer Port Discussions
« on: August 15, 2014, 08:07:24 PM »
Dan:

  You just need to chenge the spindle min and max in the M4 settings. The PWM is ratio'd form those two settings. So..

Set M4's spindle max to 1000, set Spindle min speed to 0.

Command a M3S100 and record the actual speed as Speed1, then command M3S1000 and record this as Speed2.

Then enter into M4 Speed1 as the min speed and Speed2 as the high speed.

This should make it work very close to accurate..

Art