Hello Guest it is March 19, 2024, 06:21:52 AM

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

2161
or you try something like this:


sorry don't know the englisch word for this Thing.

something like tool lenght sensor.

Thomas

2162
solved by hours of scoping.

Thomas

2163
Third party software and hardware support forums. / Fanuc Pulse Coder
« on: July 06, 2017, 11:19:32 AM »
on my TongIL retrofit Project, i am at the spindle now.
the spindle has a pulse code A20B-9000-0380.

on the web i found two different types.

i have the the one with the following signals:

0V -> GND
5V -> Power supply

VA
VA/   the Sinus wave

VB
VB/  the Cosinus wave

so far so clear and i can measure the signals with the scope

then we have a

VZ witch should be the Zero pulse

the is no VZ/.

i have measured VZ to GND allways 2,5V
i have measured VZ to 5v allways -2,5V

i was never able to see a pulse on the scope.

maybe one of you has got any further ideas.

Regards Thomas


2164
Hello Bravo1,

went through your code, i think , like tweakie, the Problem is:

Call SetOemDRO (2,PlateThickness) 'Set X-Axis DRO to Touch Plate thickness

OemDRO 2 is in my documentation -> Pulse Freq DRO

should be SetDRO(0,PlateThickness) 'Set X-Axis DRO to Touch Plate thickness

Thomas


2165
General Mach Discussion / Re: Auto Zero and Tool Length Zero
« on: July 05, 2017, 03:51:05 AM »
Hello Matt,

after a G31 you allways should read the exact Position where the probe was hit with:

ZProbePos = GetVar(2002) // 2000 -> X , 2001 -> Y , 2002 -> Z

to write the tool lenght you have to use:

SetToolParam(ToolNr,2, ZProbePos)

to get the current ToolNr:

ToolNr = GetCurrentTool()

Play a Little bit arround with this functions, and you will familar with the complex theme of
offset's and Toollenght.

Thomas

2166
CS-Lab / Re: ATC Macro - How to Count Pulses?
« on: July 03, 2017, 02:48:31 AM »
Hello,

GetInBit(90,0) is your Count Signal
OEMDro(2200) is used to get a raising edge of the Count Signal
MotorturnCW and MotorturnCCW should come from your way calculation of toolchange
OEMDro(2201) ist the Count value.

Thomas

2167
CS-Lab / Re: ATC Macro - How to Count Pulses?
« on: July 02, 2017, 11:26:36 AM »
If ((GetInBit(90,0) = 1) and (GetOEMDro(2200) = 0) and (MotorturnCW=1)) then
    SetOEMDro(2201) = GetOEMDro(2201) +1
End If

If ((GetInBit(90,0) = 1) and (GetOEMDro(2200) = 0) and (MotorturnCCW=1)) then
    SetOEMDro(2201) = GetOEMDro(2201) -1
End If

If (GetInBit(90,0) = 1)  then
    SetOEMDro(2200) = 1
Else
    SetOEMDro(2200) = 0
End If

something like this should work, not tested just written down,
but i think you have to find a criteria to "reference" OemDRO(2200)

Thomas

2168
Mach4 Toolbox / Re: Axis movment indicator LED
« on: July 02, 2017, 10:47:28 AM »
my fault,

did not notice that it was posted under Mach4 General Discussion.

but i think something simular under LUA should work.

i have no idea from LUA.

Sorry.

2169
Mach4 Toolbox / Re: Axis movment indicator LED
« on: June 29, 2017, 03:28:25 PM »
Hi,
you will Need a litle Piece of VB script in macropump to do this

i just write the code down, not tested or anything else, just to give you the idea.


If GetOEMDro(800) <> GetOEMDro(2500) Then //read an compare X DRO with stored Value
    Output ON // X axis is moving
else
    Output OFF // X axis is not moving
End If
SetOEMDro(2500) = GetOEMDro(800) //store X DRO for compare

Regards Thomas


2170
Hello together,

for the moment i am working on a retrofit of a Tong IL TNV40 Mill.
at the ATC is a SANYO DENKI DC Servo Motor Type C-200-20A8.

Sanyo Denki and Tong IL are not willed to give a electric connection diagram.

So  i am asking on this way, maybe one of you has got one.

Thanks in advance Thomas