Hello Guest it is May 27, 2024, 01:27:29 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

1121
Feature Requests / Re: ARC-ON TIMER AND PIERCE COUNTER IN MACH3
« on: October 24, 2019, 02:51:14 AM »
as far i know there is no functionality in Mach3 for this, but you can add some code to M3 and M5 and do it by your own.

M3 code
Code: [Select]
'Save the starttime in seconds
Dim starttime As Double
starttime = (Hour(Time(Now))*3600)+(Minute(Time(Now))*60)+Second(Time(Now))
SetUserDro(1600, starttime)

'increment the piercecounter
SetUserDro(1602,GetUserDro(1602)+1)


M5 code
Code: [Select]
'Calculate the enddtime
Dim endtime As Double
endtime = (Hour(Time(Now))*3600)+(Minute(Time(Now))*60)+Second(Time(Now))
'save the cuttime
SetUserDro(1601 , endtime - GetUserDro(1600))

code is not tested, just written down

1122
it is not a Problem of your Formular, because it only seperates Digits before comma and after.
and because it it done in integer Registers there are no leading zeroes.


depending on the missing leading zeroes you have to put both seperated values togehter into a real
Register on the S7/200.

and then diplay the real value on MMI

i have added a example how i would do it.

1123
General Mach Discussion / Re: Limiter switch not being detected
« on: October 23, 2019, 03:04:39 AM »
and in config Inputs you have selected port 3 pin1?

1124
General Mach Discussion / Re: Another tool zeroing...but unique...
« on: October 15, 2019, 02:46:01 AM »
can you pls post your Profile XML file?

1125
Mach Screens / Re: Screen4 Mach3 Status bar missing!
« on: September 21, 2019, 11:53:42 AM »
place a simple Label with Content Error, it will show the errormessages

1126
VB and the development of wizards / Re: What is wrong with this Code?
« on: September 10, 2019, 12:13:56 PM »
Code: [Select]
If GetOemLed(805) = True Then
  DoSpinCW()
  DoOEMbutton (1000)
End If

1127
maybe G16 selected?

1128
General Mach Discussion / Re: OEM codes for buttons, DRO's and LED's
« on: September 07, 2019, 03:35:57 AM »
could also not find a buttoncode for entslaving. maybe

Button 254 DoOemButton Disable movement on axis B 254

can help?

1129
Works in progress / Re: Show first line of G-Code
« on: August 31, 2019, 02:37:21 AM »
if you are talking about Mach3, a Label with Content File will Show you the filename of loaded program.
i do not know about a possibilty to Show only the first line of gcode, except your create a VBScript witch is
used every time you load a new file, this will only work with a button on Screen, not with Standard menue load file.

1130
if you are talking about Mach3, there is only one probe Input.