Hello Guest it is April 27, 2024, 06:16:43 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

2331
CS-Lab / Re: csmio/ip-a communication problem
« on: April 28, 2015, 01:39:23 AM »
have you set the ip-adress of your PC ?
csmio has notmaly 10.1.1.2.
is your PC in the same network (depending on IP adress)?
can you oing 10.1.1.2 ?
 

2332
General Mach Discussion / Re: mach ignoring macropump code
« on: April 20, 2015, 04:27:57 PM »
G31 gives you only a exact Information where the Input was hit (Basic idea of probing).
post your code how you tried to use it.
Thomas

2333
General Mach Discussion / Re: mach ignoring macropump code
« on: April 20, 2015, 04:17:13 PM »
try to read something about G31

2334
General Mach Discussion / Re: Create my own G function ?
« on: April 20, 2015, 04:12:43 PM »
G31 is your friend

2335
Forum suggestions and report forum problems. / Re: modify my own posts
« on: April 18, 2015, 10:26:55 AM »
Hello Tweakie,

in current case i did not try to change a previrious post.
depending on my bad  english i tryed to edit my last post
three times. i was allowed to edit it twice and than game over.

that was the reason i asked.

ok if it so, some of my post's have to live with my special type of Bavarian english.

Thomas


2336
Forum suggestions and report forum problems. / modify my own posts
« on: April 18, 2015, 07:34:20 AM »
hey guy's

sometimes i am not allowed to edit may own post's.
does somebody know why ?

Thank you Thomas

2337
VB and the development of wizards / Re: Tangential spindle
« on: April 18, 2015, 07:09:30 AM »
ok i am pretty sure the next problem will be the dwell of the spindle,
because it is locking axis movement and so Input1 will go off again.

so i think the only practicable way well be to drive a axis not tangential and
control it miz g-code, something like this:

G0 Z0 A0
G0 X100 Y100
G0 Z70
M3
G1 X0
M5
G1 A90
M3
G1 Y80
M5
G1 A180
M3
G1 X100
M5
G1 A90
 

and so on.
what means you can only do straight line an no circles
(witch would not work anyway with this code for turn on/off spindle)


Thomas

2338
VB and the development of wizards / Re: Tangential spindle
« on: April 18, 2015, 06:47:52 AM »
Hello Damir,

tested here:

M3
setUserLed(2100,1)

M5
setUserLed(2100,0)

macropump
If GetOEMLed(2100) and GetLed(4) Then
  If IsActive(Input1) Then
    DoSpinStop()
  else
    DoSpinCW()
  End if  
End If


don't ask me why GetUserLed does not work, GetOEMLed is working.

Thomas



2339
VB and the development of wizards / Re: Tangential spindle
« on: April 18, 2015, 02:27:15 AM »
Hello Damir,

if the function should only be enabled between M3 and M5 call in
g-code we can use them to enable like this:

add this conde in M3
Code: [Select]
setUserLed(2100,1)
add this conde in M5
Code: [Select]
setUserLed(2100,0)

and this in macropump
Code: [Select]
If (GetUserLed(2100)=True) and (GetLed(4)=True) Then
  If Not IsActive(Input1) Then
    DoSpinCW()
  End if 
End If

  If IsActive(Input1) Then
    DoSpinStop()
  End if 

the only thing i see, that nothing resets the UserLed if
you cancle a program.
but give it a try.

Thomas





2340
VB and the development of wizards / Re: Tangential spindle
« on: April 17, 2015, 06:38:29 AM »
Hello Damir,

the feedrate thing is not working to seperate between
G0 and G1. if i look to your g-code maybe we can use the
z-axis as second trigger like this:

act_Z=GetDro(2)

If (act_Z>69) and (GetLed(4)=True) Then
  If Not IsActive(Input1) Then
    DoSpinCW()
  End if  
End If

  If IsActive(Input1) Then
    DoSpinStop()
  End if  


Thomas