Hello Guest it is April 19, 2024, 08:08:26 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 - Ivan_The_Red

Pages: « 1 2 3 4 »
21
Modbus / Really Strange ModBus and Jogging Behavior
« on: May 23, 2012, 06:20:48 PM »
I have created a brain that interfaces Mach3 through Modbus. Sometimes when I try to STEP jog an axis, the move will not always complete. It seems odd that Mach will initiate the
movement, just like pushing a key on the keyboard, but it wont finish the move. It seems to happen about 30% of the time and I could really use some help.

22
Brains Development / Re: Whats wrong with this brain ???
« on: April 20, 2012, 07:56:33 PM »
Well heres another weird thing, I created a separate brain based on what BR549 provided and it worked as expected. I dont
know if its possible to corrupt a brain or if there are other unknown bugs with the brain functionality , but at this
point I'll chalk it up as a victory .......

I cant say thanks enough , I dont think I would have figured this out without everyone's help.
a special thanks to BR549

23
Brains Development / Re: Whats wrong with this brain ???
« on: April 20, 2012, 06:05:09 PM »
Thanks for the design help ....... but check out what the brain does on my machine - its the same Mach version that you have installed and my
formula does not calculate like yours did. I have no other brains running at this point.

Can you think of any other reasons for this ? my god this is weird

Thanks

24
Brains Development / Re: Whats wrong with this brain ???
« on: April 19, 2012, 09:46:08 PM »
I just changed the signs as was suggested and the characteristics of the multiplication process does not change, it still multiplies 10 by 10 ( the modbus inputs, not the results
of the boolean logic and one modbus value) .As for my Mach version, i am using 3.043.022.

Could you post a picture of the brain portion that works for you so I can duplicate what you have to eliminate version issues etc. ?

I am new to brains and I am getting the impression that they are buggy, is this an accurate assessment in your opinion ?
Its really unfortunate that somebody or a team of people wrote the functionality of brains but the available documentation
and lack of brain examples is ashamed it makes them almost a "learn by mistake" or "trial and error" process.

25
Brains Development / Re: Whats wrong with this brain ???
« on: April 19, 2012, 07:56:12 PM »
Hey guys

View the image posted....

I tried building a brain based on the previous discussions and I dont understand why this brain is not using a 1 in the multiplication portion instead of 10 . I believe the logic
should be to take the "1" ( because the modbus value is less than the comparison  - which would return a 1 ) and multiply it by the other duplicate modbus value of 10
and calculate a value of 10 ..... not 100. Is this an error in my brain design or an error in Mach ?

or

If anybody  has a "pictoral" image of a brain that does work , could you please post it ?

As always thanks

26
Brains Development / Re: Whats wrong with this brain ???
« on: April 18, 2012, 09:12:32 PM »
thanks for the information, I did not know that a compare resulted in a '0' or '1' output. I thought that a comparison would either allow or stop a continuation in the processes
after the comparison, not an output of '0' or '1'. Another one of those things in life that make you go hhhhhhhmmmmmmmmmmm...

27
Brains Development / Whats wrong with this brain ???
« on: April 18, 2012, 07:16:05 PM »
My modbus device is sending a value that the brain can recognize ( which is 40 in this case  - see the picture ) but the brain doesnt continue calculating the value as i would expect.
Since the value of 40 is less than 32767 i would expect to see a value of .004" in the "formula" box as well as the tool dia output.

It seems so simple that I'm probably missing something stupid or i've missed some documentation somewhere, any advise or guidance would really be appreciated.


Thanks

Ivan

28
Scott,

Thanks for your guidance, I gave it alot of thought over the Easter weekend and that's all I could come up with also.

I'll have to go that route

Thanks Alot

29
All,

I am trying to write a negative value generated from a modbus device into a DRO.  I have no problems doing this with positive values but what I try to pass
a negative value it ends up with a value around 65535. I know this has to do with the register size but I need help figuring out
how to deal with it......any help sure would be appreciated.

Thanks and Happy Easter

30
Modbus / Modbus Carriage Return
« on: March 21, 2012, 10:32:21 PM »
I am currently working on a project using Modbus. I am trying to write a value into a DRO and I am having an issue that I cannot figure out. The value that I am trying to write into the
DRO flashes momentarily and then the DRO returns back to its previous value. The same behavior happens when I enter a value from the keyboard into the same DRO but do not hit the enter key.

Do I need a carriage return when dealing with Modbus and DRO values ? If so does anybody have a solution that they could share?

Thanks

Pages: « 1 2 3 4 »