Hello Guest it is April 17, 2021, 02:10:09 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

1991
General Mach Discussion / Re: Toggle output from button input?
« on: March 10, 2015, 07:07:41 AM »
Hello Ian,

thank you for this information, never tryed this.

So the only possibilities during running the machine will be

macropump and brain (but brains are also courious sometimes).

Thomas

1992
General Mach Discussion / Re: Toggle output from button input?
« on: March 10, 2015, 04:40:08 AM »
Hi Bob,

looks like i have missed some posts yesterday.
glad to read that you got the Macropump running.

if you whant to try out other thing#s just let us know,
and we will give you a hand to find the way.

Thomas

1993
General Mach Discussion / Re: Toggle output from button input?
« on: March 09, 2015, 04:06:56 PM »
ok cncbobuk,

i am not a friend of the macropump road.
can i get you into my OEMTRIGGER road as described in my small tutorial (PDF) ?

yust let me know.

Thomas

1994
CS-Lab / Re: Csmio/IP-A drives
« on: March 09, 2015, 04:03:01 PM »
Hi Hood,

never meet you, but i think we are on the same road.
CSLAB is IMHO one of the most not "experiemental" controlers on this road.
(rest over PM)


Also a good resource on using the I/O

http://www.cs-lab.eu/en/index.php?m=article&show&aid=128&uinfo=Digital_and_analog_IOs__configuration__its_easy#IPA


Hood

1995
General Mach Discussion / Re: new button and led
« on: March 09, 2015, 03:54:33 PM »
ok,
hard road,
open your screen in screedesigner (witch ever your use).
go to bottom of this vb macro,(by double click on the vb code,)
and enter setoemled(whateveryouwhanttosetoemled).

LIVE IS DIFFICULT.

Thomas

1996
General Mach Discussion / Re: Toggle output from button input?
« on: March 09, 2015, 10:38:49 AM »
Have you macropump enabled in general config ?
is your macropump macro in the wright folder ?
is your input1 working in diagnostic screen ?

1997
CS-Lab / Re: Csmio/IP-A drives
« on: March 09, 2015, 10:36:48 AM »
Hi,

http://www.cs-lab.eu/en/upload/pdf/User_Manual_CSMIOIPA_1.1_EN.pdf

how to read a specific Input using the GETOEMLED or GETUserLET??

chapter 4.13.3

how I can activate a digital Output??

chapter 4.7.3

if my VFD is +/-10V how I can set it up ??

chapter 4.13.4

come on Ghantos, the CSMIO manuals are realy good.

1998
General Mach Discussion / Re: Toggle output from button input?
« on: March 09, 2015, 08:58:19 AM »
Hi,

don't think its gona work in macropump because you have to create a rising edge of the input.

this may work:

If not IsActive (Input1)  = True Then
  LED = GetOEMLED(78)  ' LED looks at state of Output 5 LED
End If

If IsActive (Input1) And LED = True Then  ' looking at input 1 and LED of Output 5
  DeActivateSignal (OutPut5)
Else
 If IsActive (Input1) And LED = False Then
   ActivateSignal (OutPut5)
 End If
End If







made a small document how it should work, not the easy way, but it's working here.
sorry for the german windows, but you should find them in the english version.

Thomas

1999
General Mach Discussion / Re: new button and led
« on: March 09, 2015, 04:17:48 AM »
Hi,

I think there must be other parts to the code telling the macro what button34 actually is.

Hood

it's not button34.

code 34 in the screendesigner means to do a basic script, with is
in (dont know how to say) this button.

so the led needs to be turned on in ths button script.

Thomas


2000
Brains Development / Re: Brains writing wrong values to DRO's
« on: March 09, 2015, 03:23:11 AM »
Hi Bob,

you asked:
--->How did you arrive at that formula?

ok i try to explain in my bad english:

we have the value from the knob, witch is 0->15
we want a outgoing value from 40->250, so we have a range
of 210.

210/15 = 14, so we multiply the origal value by 14 and add
the 40 for the beginning value, thats it.

Regards Thomas