Hello Guest it is April 26, 2024, 07:57:33 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

1601
sounds like backslash or loosing steps.

1602
General Mach Discussion / Re: HELP!! MACH3
« on: November 20, 2018, 01:52:45 AM »
ok, the file you posted is not the one witch is shown in your screenshot from post #1.

it is a single letter 3, where all the coordinates are negative.

i am not sure in witch Units you working , Inch or metric ?

this letter 3 is ablout 18 mm or Inch wide, and 36 mm or Inch high, depends in witch Units you are working.

normaly you have the X0 Y0 of the workpiece in the lower left Corner, but you can also go with negative coordinates,
only depends on, where you physicaly Zero your work coordinates.

so it Looks like you have to work the on "handling" of your postprcessor, and get a Little bit more familar with
Programm origins, work Offsets and this stuff.


1603
General Mach Discussion / Re: HELP!! MACH3
« on: November 19, 2018, 07:12:16 AM »
the file you open for engraving !??

1604
Brains Development / Re: Brain writing on/off relay
« on: November 19, 2018, 03:30:51 AM »
something like this might work

1605
General Mach Discussion / Re: HELP!! MACH3
« on: November 19, 2018, 03:18:51 AM »
thats not a Mach3 Problem, it is a Problem of your GCode or of your workoffset .
seems that the Zero Point of your GCode is wrong.

post your GCode and we will have a look.

1606
VB and the development of wizards / Re: VB - vbNullChar pass to function
« on: November 19, 2018, 03:16:29 AM »
Looks like cypress can not handle the CHR(0)

if you try

strTest = &H00
len(strTest) gives the result 1

1607
try this, not tested just had a look for the Compiler error

Code: [Select]
Option Explicit

Dim Signal_nr As Integer   'gets signal nr from the P-word
Dim Trigger As Integer  'gets the trigger event variant from the Q-word
Dim Input_nr As String 'to combine SIGNAL string with its number from the P-word for the IsActive command


Signal_nr = Param1() 'Get P-value
Trigger = Param2() 'Get the Q-value
Input_nr="INPUT" & Signal_nr 'this one should create a string "SIGNAL#" with the # number from P-word to use as parameter for commands
Select Case Trigger
 
   Case 0 'IMMEDIATE - triggered immediately on the given signal HIGH detection.
      SystemWaitFor(Input_nr)
   
   Case 1 'RISING EDGE - triggered immediately on the given signal RISING EDGE
      While IsActive(Input_nr)
      Wend
      SystemWaitFor(Input_nr)
   
   Case 2 'FALLING EDGE - triggered immediately on the given signal FALLING EDGE
      While IsActive(Input_nr)
      Wend
   
   Case 3 'HIGH - triggered on the detection of the HIGH state of the signal as opt. 0 but waits for the previous move to finish
      SystemWaitFor(Input_nr)
      While IsMoving()
      Wend
   
   Case 4 'LOW - triggered on the detection of the LOW state of the signal as opt. 1 but waits for the previous move to finish
      While IsActive(Input_nr)
      Wend
      While Ismoving()
      Wend
   
End Select


1608
General Mach Discussion / Re: Set up 2 probes at same time in Mach 3
« on: November 16, 2018, 01:44:14 AM »
If I could figure out how to attach an image to this post I would include a circuit diagram for the two cases.

if you use the reply button, you should get the Additional Option possibilty, where you can attach files.

1609
General Mach Discussion / Re: Set up 2 probes at same time in Mach 3
« on: November 15, 2018, 02:03:26 PM »
I use an output pin to a couple of gates to select which probe I want to use (under Mach3). But that is custom.

Cheers
Roger



Thanks Roger.
I've had a bit of a play ..... I can use the same input but one probe requires a HI signal and the other a LO, so as it stands now, I still have to change the configuration in Mach 3 each time I change probes.
Instead of a gate or a relay , I was thinking of using a changeover switch, but I still have the other problem to overcome yet.
Steve

ok then you have to put an other locic/relay in front of the selctor Switch or selector relay,
to get the two probes onto the same switching Level (hi or low what ever you want)

1610
General Mach Discussion / Re: Set up 2 probes at same time in Mach 3
« on: November 15, 2018, 09:33:55 AM »
never saw a documentation about how to Change Input Parameters via VBScript,
maybe someone else know about a possibility.