Hello Guest it is October 21, 2021, 02:56:56 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 - TPS

571
General Mach Discussion / Re: Mach3 Conveyor belt
« on: August 04, 2020, 02:56:07 PM »
btw, was ist draus geworden?

572
that is what i tryed to explain (maybe my bad bavarian english is causing causing this).
softlimits are allways related to machine coords. machine cooods can only be set by
using Hardware reference Switches. thats it.

573
for the soft Limit error, you have to go to diagnostic page an have a look for the Machine Coord's

without Hardware reference Switches it is realy hard to use soft Limits, because they are allways related
to machine coords.

574
as Graham has written, if you use ballscrews (does not matter chinese or not) you should be in a tolerance
less then 0,001 mm per Revolution. so the first step would IMHO be to figure out, where your 'relative big tolerance' is comeing from. backslash (witch is not realy real with ballscrews) lose main bearings for the ballcrew
... and so on. first of all you have to get a preceise move of your axis (over the full range), and then talk about
tolerances.

575
this code from Graham:
Code: [Select]
%
G21 G40 G00 G99 G17

N1 (8MM DIA END MILL)
G54 G00 G90 G43 X0 Y0 Z5. H3 S8000 M3
Z1.
G01 Z-52. F100.
X44.375 F200.
G02 I-44.375 Z-54.
I-44.375 Z-56.
G00 X0 Y0
Z5.
M30
%

will start at Z -52
1st circle cut will bring Z to -54
2nd circle cut will bring Z to -56

so the pitch will be 2mm, it is not depending on Speed, it is depending on hight differenc (Z).

576
i assume in Config -> General config  the I/J Mode is set to absolute.

so your starting coordinate in X is 44,375

by using

G2 I-44,375

you are telling the System, that the Center X coordinate of your circle is absulute -44,375

so your start is at +44,375 and the Center is at -44,375 makes a radius of 88,75 and a
diamater of 177,5. exactly what your ruler Shows.

about the Min/Max:

Max X := X-Start = 44,375
Min X:= X-Start - Diameter = 44.775 - 177,5 = -133,125

Y is nowhere specified, so it takes the startvalue = 0

Max Y := 0 + Radius  = +88,75
Min Y := 0 - Radius = -88,75

so the entire Problem is the Absolute I/J Mode insteed of incremental.

with incremental Mode we will have the following situation

so your starting coordinate in X is 44,375

by using

G2 I-44,375

you are telling the System, that the Center X coordinate of your circle is incremental -44,375 witch
makes the Center going to absolute X = 0

so your start is at +44,375 and the Center is at 0 makes a radius of 44,375 and a
diamater of 88,75.

about the Min/Max:

Max X := 44,375
Min X:= -44.375

Y is nowhere specified, so it takes the startvalue = 0

Max Y := 0 + Radius  = +44,375
Min Y := 0 - Radius = -44,375







   

577
General Mach Discussion / Re: Mach3 Conveyor belt
« on: July 21, 2020, 07:35:40 AM »
Servus,
M98 braucht kein spezielles Makro.
hier ein Code Beispiel:

Code: [Select]
F1000 (i.e. faster than possible but Mach3 will limit speed)
G20 G90 (Inch and Absolute)
M98 P1234 L50 (run subroutine 50 times)
M30 (stop)
O1234
G1 X4
G1 X0 (do a feed rate move and move back)
M99 (return)

578
General Mach Discussion / Re: Mach3 Conveyor belt
« on: July 21, 2020, 06:54:18 AM »
for stopping the x-axis by a photocell i would use the G31 probing, because it is very precise.
you have to set up your photocel as the probe Input and a G31 X200 F200 will run you X-axis for
200 in positive direction and stop as soon probe Input Comes up.

by using the Getvar(2000) you can even go back to the exact Point of hitting the photocell, because you will
allways have a overrund due slow down ramp.

for running more Loops you can use M98

579
Code: [Select]
G01 X10 F300
G04 P0.1
G01 X0
G04 P0.1
G01 X10
G04 P0.1
G01 X0
G04 P0.1
G01 X10
G04 P0.1
G01 X0
G04 P0.1
M30

580
try to copy this code in a Textfile like test.tap and the load/run this file.