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

General Mach Discussion / Re: UC400ETH soft limit problem
« on: April 23, 2019, 02:28:05 AM »
I don't think this is a port/pin issue or even a board issue. It is the way the UC400ETH handles software limits. So i guess i'm saying i think this is a plugin issue.
1. If your port 2 of UC400ETH is unconnected you need to pull up or pull down all the input pins (see attached).
It is TTL logic NECESSITY.
2. If you think it is a plugin issue, connect your PC to the internet (may require an Ethernet switch) and the plugin should automatically update to newer version.
People on CNCZONE already had false triggering of limit switches with UC400ETH even in 2017. So if CNCDRIVE had fixed the problem, the updated plugin should be already there for automatic update by now in 2019.
3. Maybe heed the moto "Sell it buy a VW" and get rid of the UC400ETH and buy Pokey 57CNC instead.

he is talking about SOFT LIMITS, not LIMIT SWITCHES

Config -> Homing/Limits -> Reversed should help

Spanish / Re: mach3 +nema23+tbb6600
« on: April 20, 2019, 05:09:49 AM »
do you have torqe on the Motor if you Switch on power?
how are the dip Switches set?

can you see the Motor does one step,if you take the PUL- wire and put it on GND terminal of the Bob?

Sorry missed your answer

for a simple timestamp

 Write #1, oldX , oldY, oldZ


 Write #1, Time(),oldX , oldY, oldZ


i have tested the code here on a
Version R3.043.066 and
Version R3.043.022

both with a CSMIO -IP S
and no Problem.

try to copy line by line to the VB scripter window

General Mach Discussion / Re: Parallel Port to Ethernet?
« on: April 16, 2019, 01:49:01 PM »
"UC400ETH ETHERNET Motion Controller"

good choice

ok, not good,
give me pls some more Information about your complete System.


you can copy all your code to

Operator -> VB Scripter Window

and use the >|| button to step through to see what is going on


msgbox ("M6 Start executed")

at the begin of the macro to see that the macro is called

like this ?

msgbox ("M6 Start executed")
OldTool = GetOEMDRO (1200)
Tool = GetSelectedTool()
MaxToolNum = 4      'Max number of tools for the changer

If OldTool = Tool Then
Message ("Selected Tool already loaded")
Exit Sub
End If

While Tool > MaxToolNum
Tool = Question ("Enter New Tool Number up to " & MaxToolNum)

Call StartTool

While NewTool <> Tool
   Call CheckPins
   While IsMoving()

Call StopTool

Call SetUserDRO (1200, NewTool)

'//// Subroutines /////////

Sub StartTool
   'Code "G4 P4.0"    'Wait for the tool to rotate past the sensor
      While IsMoving()
End Sub

Sub CheckPins
   If Not IsActive(Input22) Then
      NewTool = 1
      End If
   If Not IsActive(Input21) Then
      NewTool = 2
      End If
   If Not IsActive(Input20) Then
      NewTool = 3
      End If
   If Not IsActive(Input19) Then
      NewTool = 4
      End If
End Sub

Sub Stoptool
      While IsMoving()
      Code "G4 P1.0"    'Wait for the tool to rotate onto ratchet stop
      While IsMoving()
      While IsMoving()
End Sub 


do you have enabled in

Config -> General Config -> Tool Change -> Auto Tool Change