Hello Guest it is June 08, 2024, 05:26:22 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 - david_webb

Pages: 1
1
Brains Development / Re: screen4 to brain button on/off vacuum table
« on: February 06, 2009, 03:39:04 AM »
Hi Poppabear,

Thanks for the help.
I did not end up using the script you sent me but it did send me down the right road of VB.
I found hot topic 4208.

I did not know that I had to edit the button from within Mach3 itself.
and ended up writing this:

If (GetUserLed( 2010 )) Then
SetUserLed( 2010,0 )
Else
SetUserLed( 2010,1 )
End If
End

I then look at LED2010 with A brain.

Every thing looks like it is going to work well so thanks again and I hope to help
someone ealse some time.

Regards
David.




2
Brains Development / screen4 to brain button on/off vacuum table
« on: February 04, 2009, 04:54:20 AM »
Hi All,

I am sorry to write to you but I have watched all the videos and look at most of the posts.

I have made A button in screen4 and put an LED behind it to turn my vacuum table on and off.
I under stand modbus and how to write brains (I think quite well as I am controlling my VSD and displaying torque, amps and real speed on the mach screen)
but I can't find how to link the new button and LED to the brain (ie oem number etc)

I want the button on the screen  to momentary switch the brain and pass on to the PLC, and the PLC to send back status and light the LED.

Maybe this should be in the screen4 forum?? but we will give it A try.

Kind regards,
David.

Pages: 1