Hello Guest it is April 25, 2024, 04:52:36 AM

Author Topic: mach3V3.00 modbus Problems  (Read 5220 times)

0 Members and 1 Guest are viewing this topic.

mach3V3.00 modbus Problems
« on: January 07, 2008, 03:55:38 AM »
Hi everybody,

I have some questions to you about modbus in mach3.
In the last weeks I built my own modbus pendant.

http://festplatte.aon.at/a/filemanager.get/395362/handrad.bmp

It works very well at mach3 V2.01.
In mach3 V3.00 I have many problems.
In the Yahoo board I found out that the timer of
Tickctr was changed to a 200µs 16bit wrap-around timer.
That all I programmed also on my pendant.
But now to the Problems:
When I uncheck the "modbus plugin supported" I get a big step
at the velocity by a rollover.
Here is a short video , there you can see the big step.
http://festplatte.aon.at/a/filemanager.get/714339/rollover.avi

In a email , Art wrote to me that i should enable the
"modbus plugin supported" checkbox.
When I do this , the rollover step is ok but then my
macropump is not working.

2 examples:

Dim fro as Integer
    fro = GetInput (64)        'Analog_1 read
   fro = fro /4.13 -3
   SetOEMDRO 821, fro

Of course this I can do with Brain contol
but for the next example I can't find a solution in BrainControl .

'X-Dro Value to modbus
Display = ""
   SVal = Right("       " & Format(GetDro(0), strFmt),9)
   Display = "X" & SVal
SetModIOString (1,0,0, Display)   

I found the "sendstring" Commando in BrainControl . Using this Commando I can send a
text but not a value of a DRO to modbus.

Have somebody a answer to my questions ?
Sorry for my english , it's very bad

Best regards from austria
Gerhard




Re: mach3V3.00 modbus Problems
« Reply #1 on: January 27, 2008, 07:34:17 PM »
Gerhard,

I can not help you with your problem but you can help me with my problem if you like.
Since you are an advance user of the Modbus you can help me with my plug in problem, I haven a Modbus board from cnc4pc and it works ok when I test but I can not communicate like what they show in the setup video. Is there a way I can setup inputs and outputs with out the plug in? when not where can I find the plug in for the Modbus Config.

Thanks in advance,

Robert
Re: mach3V3.00 modbus Problems
« Reply #2 on: March 15, 2008, 04:01:45 PM »
i have notice the same thing that the macropump stops working when you enable the modio support. is their are fix coming can any one reply to this
Re: mach3V3.00 modbus Problems
« Reply #3 on: March 17, 2008, 03:54:52 AM »
Hi,

I installed the old version V2.1
There all the things o.k.
I will not install a newer version in next time .