Hello Guest it is December 08, 2019, 07:28:53 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

VB and the development of wizards / Re: Auto tool zero script problems
« on: October 27, 2017, 02:49:25 PM »
preset_feed = 4000  -->mm/s ?? what ever

in witch dream are you living??

what acc/dcc ??

what Motion Controller ??

try to learn a Little bit about lineare movement's

VB and the development of wizards / Re: Control micro servo with Macro
« on: October 27, 2017, 02:40:37 PM »
activate and deactiate outpult will allways create a square Signal (what else !!?)

1.5ms on a Windows System where the macro scripting is running in a 10ms Task,
no way.

---Is this the motion controller, or macro's just can't create a nice waveform ?

what Hardware are you using on the Controller side ?


VB and the development of wizards / Re: STOP command
« on: October 16, 2017, 01:08:22 PM »
if you have a look to the Mach Script Language Referenceit says:

Sleep  Sub
Sleep(Time As Integer)

so a 100000 is more than an integer can take.


as i have written, i don't know the english Translation for this thing.

if you Google for "cnc tool presetter" i think you will get into the wright direction.


or you try something like this:

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

something like tool lenght sensor.


solved by hours of scoping.


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/   the Sinus wave

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

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


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.


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

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.