Hello Guest it is April 16, 2024, 11:54:11 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 - zealous

Flash Screens / Re: decimal precision
« on: October 21, 2011, 05:30:18 PM »
Hi Sorry for the delay in responce,

These are the formating parameters (for example do "+%.3f" and it would come out 0.000):

Code: [Select]
(f)loating point number, (4) decimal points, (+) or -
Code: [Select]
integer, no decimals
Code: [Select]
hex number
Code: [Select]
Format to send the above:
Code: [Select]
fscommand( TYPE fmt DRO Number , ABOVE FORMAT )
Code: [Select]
fscommand("DROFmt1819", '%.0f');

If I understand correctly you dont want Mach to fire off the Mcode will the file is being loaded?

In Config/General Logic Configuration/Ignore M Calls While Loading check

Or in your code you can put:

Code: [Select]
If isloading() Then
MsgBox "is loading"
MsgBox "is Not loading"
End IF

Feature Requests / Re: Integrated interactive help
« on: June 16, 2011, 05:15:56 PM »
I know this isn't ideal, but you can have a led for help, if the led is on and they press a button popup a message or HTML message with help.
Currently the only thing that can support this is a flash screen in mach.

Sorry for the delay, I did not see the post.

you can call a VB command to either set a Userlabel,LED,DRO OR write to a text file which Flash then could load.


Code: [Select]
loadSettings =
'value = GetParam("Boundry")'+"\r"+
'if  value = 1 then'+"\r"+
'end if'
fscommand("VBMacro", loadSettings);

Let me know if you want to read a file in Flash will give an example.

Works in progress / Re: Looking for a partner in crime...
« on: April 05, 2011, 01:26:50 PM »
Hello jrobson,
shoot me an email with your layout and I can get you started.

Also make sure you are using the correct command.
If you are setting a OEMDRO or UserDRO.
I have tested and the "Input" works fine here is an example using Input as well:
If you have 1 value to set simply change the "DROS = 1" to what you want, for example to set DRO800, "DROS = 800".

Code: [Select]
Dim fich As String
Dim FileData As String
'////////////FILE LOCATIONS//////////////////////////////////////

'//////////CHECK If FILES EXIST/////////////////////////////
If Dir(fich)="" Then
MsgBox "File Isn't There!"

'//////Set DRO's/////////////////////////
DROS = 1
'////////////////Open To Read file//////////////////////////
Open fich For Input As #1
Do While Not EOF(1)

'////////////Read a Line of data////////////////////////
Line Input #1, FileData

'////////////Set User DRO's////////////
If(DROS > 999) Then
SetUserDRO(DROS, FileData)
'////////////Set OEM DROs////////////
End If


Close #1
'////////////File Isnt there////////////
End If

General Mach Discussion / Re: Mach XML Reader
« on: March 18, 2011, 11:43:43 AM »
Please check out Klaus Dietz XML reader(it is very good):

General Mach Discussion / Re: Displaying time remaining
« on: March 17, 2011, 04:06:18 PM »

General Mach Discussion / Re: Displaying time remaining
« on: March 17, 2011, 02:52:38 PM »
Looks like it is renamed to Simulate under the "Toopath" screen in 1024.set

General Mach Discussion / Re: Displaying time remaining
« on: March 17, 2011, 02:13:35 PM »
You can take the estimated time and subtract that from the elapsed time, but there are cases in Mach that it will keep counting how much time has passed for e.g. during a feedHold, you could write up some script to replace the Elapse time to get a working remaining time by having it stop counting in such cases.