Hello Guest it is April 19, 2024, 03:48:39 PM

Author Topic: Param1 Function  (Read 2102 times)

0 Members and 1 Guest are viewing this topic.

Param1 Function
« on: July 22, 2015, 11:34:06 PM »
Hi Mach users,
I'm having troubles under standing how the Param1 -3 work, and how the VB/CB Script layout should be to make it function properly   
Here's what I'm tiring to accomplish I have a macro named M143.m1s and I want to return a P value for a second spindle RPM  sent to  OemDRO 2005

Macro Name in is M143.m1s the code I use in the MDI line is M143 P1500, and a 0 is returned

Dim Paarm1 As Double
Dim S2RPM As Double
 
S2RPM = Param1()   

SetOemDRO(2005,S2RPM)

End   


Thanks Adam
Adam

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Param1 Function
« Reply #1 on: July 23, 2015, 12:31:11 AM »
Dim S2RPM As Double
S2RPM = Param1()   
SetOemDRO(2005,S2RPM)
End