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

11
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):

Days:Hours:Minutes:Seconds
Code: [Select]
"%D:%H:%M:%S"
(f)loating point number, (4) decimal points, (+) or -
Code: [Select]
"+%.4f"
integer, no decimals
Code: [Select]
"%i"
hex number
Code: [Select]
"%x"
Format to send the above:
Code: [Select]
fscommand( TYPE fmt DRO Number , ABOVE FORMAT )
Example:
Code: [Select]
fscommand("DROFmt1819", '%.0f');

12
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"
Else
MsgBox "is Not loading"
End IF

13
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.

14
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.

I.E.

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

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

15
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.
sales@fusioncnc.com

16
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//////////////////////////////////////
fich="C:\Mach3\MyFile.txt"

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

'//////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)
Else
'////////////Set OEM DROs////////////
SetOEMDRO(DROS, FileData)
End If

DROS = DROS + 1
Loop

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

17
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):
http://www.kd-dietz.com/klausphp/images/eng/machprofile/beschreibung/machprofile_doc.htm

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

19
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

20
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.