Hello Guest it is April 26, 2024, 09:04:52 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

561
General Mach Discussion / Re: Mach3, Opt Laser 5W and Aspire
« on: February 22, 2021, 07:47:57 AM »
how (Hardware) do you Switch your laser On/off?

scematics would also help.

 

562
VB and the development of wizards / Re: OEMtrig
« on: February 21, 2021, 11:47:52 AM »
low or high active depends on how your Inputs are connected.

for are quick try you can assign port/pin pin to spare Input and check on diagnostic page
via led's for right Level.

563
VB and the development of wizards / Re: OEMtrig
« on: February 21, 2021, 09:41:15 AM »
try to use this, only to see witch Trigger Comes up:

Code: [Select]

( For start function )
If IsActive (OEMTRIG1) Then
  MSGBox "Trigger 1 hit!"
  DoOEMButton(1000)
  activatesignal(output2)
  deactivatesignal(output3)
  deactivatesignal(output4)
  deactivatesignal(output5)
  deactivatesignal(output6)
End If

( For stop function )
If IsActive (OEMTRIG2) Then
  MSGBox "Trigger 2 hit!"
  DoOEMButton(1003)
  activatesignal(output3)
  deactivatesignal(output2)
  deactivatesignal(output4)
  deactivatesignal(output5)
  deactivatesignal(output6)
End If




564
VB and the development of wizards / Re: OEMtrig
« on: February 21, 2021, 06:11:23 AM »
yes thats it.

565
VB and the development of wizards / Re: OEMtrig
« on: February 21, 2021, 05:27:11 AM »
i will try to make 2 files, but if all 5 OEMtrig should be set to 301, to read the script, then i would maybe tell in the script what OEM function i want ?
exactly
 
so it know that i want function 1000 on oemtrig 1 and it should turn on output 2 ?

so set OEMcode for OEMTRIG1 to 301 and the in the macroscript 304 :
Code: [Select]
If IsActive (OEMTRIG1) Then
  DoOEMButton(1000)
  activatesignal(output2)
End If


So the first file M333 tell... when a oemtrig will be activatet, look in file 334 ?
thats the was it is.[/code]

566
VB and the development of wizards / Re: OEMtrig
« on: February 21, 2021, 04:04:52 AM »
you have to create two scripts.

first lets say it is M333.M1s

Code: [Select]
SetTRiggerMacro 334            'Set Macro M334 for OEM-Code 301

M333 Needs to be added to init string

the entire macro will be M334.M1S
Code: [Select]
If IsActive (OEMTRIG1) Then
  activatesignal(output2)
End If

this will do the necessary code.

every OEMTRIG witch should call M334.M1s must be Setup with OEMCode 301 in System Hetkey Setup

567
i would try to set up a new(fresh) Profile. it normal no big deal.

568
General Mach Discussion / Re: Losing axis calibration when jogging mach3
« on: February 18, 2021, 08:51:25 AM »
your Problem is normaly caused by loosing steps and/or mechanical Problem.

do a calibraiton test of the whole range of your table, for this check a tapemeter should be ok.
repeat this a couple of times and check you get allways the same result. 

569
General Mach Discussion / Re: AKZ250 BOB Mach3 Question?
« on: February 18, 2021, 08:47:29 AM »
Your BOB is USB connected, there must be a pluging for it.
normaly there is a documentation witch tell's you what Port/Pin Setting is needed to get acces to all
avaliable in-/Outputs.

570
VB and the development of wizards / Re: Help to finish a button
« on: February 18, 2021, 08:44:46 AM »
Code: [Select]
Sleep 500

'clear x-axis Limit Switch if needed
If GetOEMLed(830) then
    Code "G91 G1 X10 F100"
    Code "G90"
    While IsMoving()
    Wend
'!!!!!!!!!!!!!!! I A PRETTY SURE HERE SHOULD BE A -> End If !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Dobutton( 22 ) ' Zerox

While IsMoving()
Wend