Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: emulein on January 09, 2007, 05:13:31 PM

Title: output register (1040) over Modbus and VB
Post by: emulein on January 09, 2007, 05:13:31 PM
Hi all,

it´s my first post on the Forum, up to now I had in each case along-read.
To my person, I am German and am very bad with my English.
I am 36 years old and my hobby am cnc and electric.
I use a self-built modboard for mach3mill (of base the Homannboard) and have there a problem.
If I want to use the digital ones of digital-out´s  in a macro, I make with e.g. “aktivateSignal (output1)”
Then is in the address 1040 (Peter´s Protocol) bits 3 set (low byte of the integer Variable).
It possible also the upper bits (8-15) in the address is to be used 1040?.
I have it with aktivateSignal (output10) tried however without success.
I need this to use more as 8 LED on my MPG.
Is this possible, if how??

I hope it know which I write here and can help me.

thanks many !!!!

greeting Frank
Title: Re: output register (1040) over Modbus and VB
Post by: Brian Barker on January 09, 2007, 07:18:41 PM
Are you using the ModIO plugin? Or are you doing this in VB?
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on January 10, 2007, 01:35:29 AM
Hi Brian,

I have with VB (macropump.m1s) tried.
The LCD output (20x4) the MPG and
the lower 8 Bit´s of the Adress 1040
are working correctly. The Macrocode for
the LCD is from the ModIO script (Peter´s Board)

thanks for helping

greetings Frank
Title: Re: output register (1040) over Modbus and VB
Post by: Brian Barker on January 11, 2007, 11:10:37 AM
I think you would be better off to use the plugin that John P did.. Pete H should have a copy, John did a GREAT job on it!
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on January 11, 2007, 12:43:23 PM
Hi Brain,

I want to try it

greetings frank
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on January 11, 2007, 04:13:38 PM
Hi Brain,

with the Modbus Plugin too heavy for me, no function.
there is a documentation there ?
there is to make no possibility over VB?, is better for me.

greetings Frank
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on January 13, 2007, 05:57:37 AM
Hi Brian,

you have an example (e.g.Picture) which I must write there.

Greetings Frank
Title: Re: output register (1040) over Modbus and VB
Post by: Brian Barker on January 13, 2007, 09:28:41 AM
John P. did a macro pump on the wiki to run a modio... did you have a look at that?

Here are some links:
http://www.machsupport.com/MachCustomizeWiki/index.php?title=Mach_specific_Subs/Funcs_-_deprecated#Modbus
http://www.machsupport.com/MachCustomizeWiki/index.php?title=Touch_Screen_and_panel_controls_using_ModIO
http://www.machsupport.com/MachCustomizeWiki/index.php?title=Using_the_Analog_Inputs_on_ModIO_to_replace_numerous_digital_inputs/switches
http://www.machsupport.com/MachCustomizeWiki/index.php?title=Axis_DROs_and_other_info._on_ModIO_LCD

Title: Re: output register (1040) over Modbus and VB
Post by: emulein on January 14, 2007, 02:02:12 PM
Hi Brian,

yes i´m see this, but i found no info´s of this Plugin.
the links which you sent me, do not show not like the Plugin are adjusted.
I have problems thereby.
A Pic of Setup-Window of this plugin, how see the adjusted
would be greatly .

thangs

greetings Frank
Title: Re: output register (1040) over Modbus and VB
Post by: Brian Barker on January 14, 2007, 09:32:19 PM
To get the plugIn you will have to mail Peter H. ... I don't have a copy, I just know there was one done.
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on January 18, 2007, 12:39:23 PM
Hi Brian,

I do not get ahead, i find no infos of the Modbus plug over mach3.
can you me say what I type into the fields.

thangs!!
 (http://www.magix-photos.com/permamedia?exportclassid=89E64020A67E11DB9F5E9AC254A69EC7)  (http://www.magix-photos.com/permamedia?exportclassid=89E64020A67E11DB9F5E9AC254A69EC7">)


greeting Frank
 
Title: Re: output register (1040) over Modbus and VB
Post by: Brian Barker on January 20, 2007, 06:52:09 AM
At this time could you please use the old modbus config? Art and I are working on a better way totake in all the IO at this point.

Thanks
Brian
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on January 20, 2007, 12:59:11 PM
Hi Brian,

Thangs for helping, i will wait

Greeting Frank
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on March 22, 2007, 02:26:53 PM
Hi,
I postet here yesterday,  is the post was deleted ? , if why have i which wrong written?

Greeting Frank
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on March 23, 2007, 03:07:14 PM
Hi Brian,

thus still another attempt, my hardware is finished. Is there somewhat new with the register 1040 of the Modbus?

greeting Frank

(http://www.magix-photos.com/permamedia?exportclassid=EEB7AE00D19C11DB9036B26454A69263)

(http://www.magix-photos.com/permamedia?exportclassid=B0D03010CAA511DB981D302054A6BB0A)
Title: Re: output register (1040) over Modbus and VB
Post by: Hood on March 23, 2007, 07:39:47 PM
Hi,
I postet here yesterday,  is the post was deleted ? , if why have i which wrong written?

Greeting Frank

The forum was  moved to a different server and a few days of posts were lost, it was nothing to do with what you had written.
Hood
Title: Re: output register (1040) over Modbus and VB
Post by: Chaoticone on March 23, 2007, 09:40:47 PM
That's a good looking pendant.  ;D

Brett
Title: Re: output register (1040) over Modbus and VB
Post by: emulein on March 24, 2007, 07:59:43 AM
Hi Hood,

Quote
The forum was  moved to a different server and a few days of posts were lost, it was nothing to do with what you had written.


to hear well

Thangs !

and thangs Brett

greeting Frank