Hello Guest it is April 16, 2024, 12:14:47 AM

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 - dirktheeng

Pages: 1
1
General Mach Discussion / Re: How do I make a DRO show an input value?
« on: September 28, 2011, 11:02:50 PM »
Great man!!!  ;D ;D ;D  That fixed it!  I would not have thought about that, but it works!

2
Machscreen Screen Designer / DRO setup question
« on: September 28, 2011, 10:42:27 PM »
All,

I'm having a bit of an issue.  If I put a user DRO on a screen it displays zero.  If I put my mouse on it the pointer turns to a hand and I can click on it to highlight it.  I can type in a value and I see the value.  When I hit enter, the value doesn't remain in the field... it returns to zero.

I can hook this thing up to a brain and the value gets passed through, but the DRO doesn't keep the value I assigned.  Is there somethign special I have to do to make this work?  I want it to function like the axis DROs when the machine co-ordinates are turned off.  you can change the DRO value and have it stay that way.  That way I know what it is set at.

3
General Mach Discussion / Re: How do I make a DRO show an input value?
« on: September 28, 2011, 10:03:20 PM »
I checked machscreen for any other OEM codes that shared 1001 and didn't find any.  Just to be sure I changed it to 1011 and it had the same behavior.  I cant help but think I have to code the value into some variable and then write it to the DRO, but I don't know how to do that.

Anyhody got any other suggestions?

4
General Mach Discussion / Re: How do I make a DRO show an input value?
« on: September 28, 2011, 09:14:46 PM »
I'm not using any code other than the code that was generated by screendesigner.  In screen designer I set it to be User DRO 1001.  I have a brain set up with an input node that is a DRO set to OEM 1001.  That goes through a pass through lobe to a termination which is set to send the value to the modbus register.

So there isn't any code related to hitting enter.  Should there be?  ::)  :-\ :D

Basically, it behaves the same way that the DRO would behave if I just placed a new user DRO on one of the screens with nothing else behind it.  I can turn the brain off and it behaves the same way.

I want it to behave like the DRO's for the axis when it is not in machine co-ordinate mode.  I can manually set that DRO and the value stays there after hitting enter. 

5
General Mach Discussion / How do I make a DRO show an input value?
« on: September 28, 2011, 08:50:55 PM »
All,

I am a relatively new Mach3 user and I am beginning to customize it for my needs.  I set up an arduino with an open source modbus IO code to read a flow meter and send a value back to Mach3 to display the flow rate.  I created a user DRO to display the result and I got that working fine.  I also wanted to send back a control to set the speed of the pump.  I created another user DRO and used that value and a brain and send back through the modbus to set a PWM value.  I got the functionality that I wanted, but I can't get the user DRO to display the value I set.  When I click on the DRO, it lightens up some and allows me to set a value (it actually displays the value when I type in it), but when I hit enter, the DRO goes back to zero.  It actually transmits the right information through the brain to the arduino and sets the PWM to the right value, but the DRO always says zero.  I would like to set the value and have it say what it is after hitting enter.  What am I missing here?

Pages: 1