Hello Guest it is January 16, 2021, 12:29:33 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

1621
Hi Emil,

Hi All
I think I will buy and mount separate axis limit - switches on All axis !I try to declare the prezent limit switches on Mach3 but DON'T WORK FINE. If machine move with full speed or half speed when homing it cross over home limit and hit the -limit switch ! the limit-switches are wired on emergency chain and by hit de-energyze the drives, if drives are power off they don't move on Override limit set-up ! Bad thingh is : if I want to re-energyze drives, I can not, because the emergency state....
Need help on this , because I think somewhere I do mistakes.... :-[ ???

if you go back to page 8 of this thread, we had this discusion about limt switches and e-stop allready.



1622
Modbus / Re: My experiments with Mach3 ModBus and Arduino, Part I
« on: July 31, 2015, 03:07:39 AM »
Hi KMtronic,

used your example with a nano, worked fine, thank you.

but i had some issues with temporary coming up inputs.
i use no external pullup resistors, because of the internal ones.

your code:

 pinMode(2, INPUT);           // Set pin to input
 digitalWrite(2, HIGH);       // Turn on pullup resistor

should be:
 pinMode(2, INPUT_PULLUP);           // Set pin to input and turn on pullup resistor

for my understanding.
since i changed this all the problems are gone.

Thomas

 

1623
Hi Emil,

sorry for the delay, was very bussy during the last weeks.
any succes with winbas ? i asked them for the liccence,
but no Chance without giving Money, even i buyed this
Software years ago.

Thomas

1624
VB and the development of wizards / Re: SetParam() strange behaviour
« on: June 26, 2015, 06:56:12 AM »
Hello,

i think it is a CSMIO issue, tested it on my PP testmachine in office.
try to contact CSMIO support.

Thomas

1625
VB and the development of wizards / Re: SetParam() strange behaviour
« on: June 26, 2015, 06:30:31 AM »
Hi,

this

SetParam ("YRefPer",100)
DoOEMButton (1023) 'home at 100%
While IsMoving()
Wend
Code "G53 Y5" 'move off switch 5mm
While IsMoving()
Wend
SetParam ("YRefPer",5)
Sleep 200
DoOEMButton (1023) 'home at 5%
While IsMoving()
Wend
SetParam ("YRefPer",100)


is working here.

Thomas

1626
Hi,

The macro move the axis in Jog until an external switch is pressed ( like an automatic pallet finder ).

I need to move the axis in manual Jog with a VB macro ......... I don't understand why this function is available but don't work in my application .

What is wrong ?



have a look for G31/M31 for this, would be perfect for this.

Thomas


1627
Hi,

ok again, what are you trying to do with this macro.

i still think it is a homing/probing.

Thomas

sometimes an other way is the better way.

1628
Hi,

by the way your code looks like a kind of homing/probing function.

why don't you use G28 or G31 (or M31 from CSMIO homepage)
for this job.

this macro solution will be imprecise anyway.

Thomas

1629
Hi,

modified yiur code a little bit. Hopefuly i can test tonight on my CSMIO machine.

Thomas

Sub Main()

  SoftLimitsOff
 
  DoOEMButton(204) 

  Xaxis = 0
  Yaxis = 1
  Zaxis = 2
  Plus = 0
  Minus = 1
 
  SetOEMDRO(3,10)
 

  If GetCsmioIn(6) = False Then
    JogOn(Zaxis,Plus)
  End If
 
  Do
 
    If GetCsmioIn(6) = True Then
      Exit Do
    End If
   
  Loop
   
  JogOff(Zaxis) 
 
  Sleep(1000)

 
  If GetCsmioIn(6) = True Then
     JogOn(Zaxis,Minus)
  End If
 
  Do
 
    If GetCsmioIn(6) = False Then
       Exit Do
    End If
        
  Loop
   
  JogOff(Zaxis) 
 
  Sleep(2000)
   
 
  DoOEMButton(141)
 

  Sleep(2000)
 
 
  Code("G01 Z-10 F1000")
  Sleep(2000)

End Sub


1630
Hi,

let us see your macros.

Thomas