Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 12:02:42 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  output register (1040) over Modbus and VB
Pages: 1 2 »   Go Down
Print
Author Topic: output register (1040) over Modbus and VB  (Read 2990 times)
0 Members and 1 Guest are viewing this topic.
emulein
Active Member

Offline Offline

Posts: 11


View Profile
« 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
Logged
Brian Barker
Administrator
*
Offline Offline

Posts: 3,383



View Profile
« Reply #1 on: January 09, 2007, 07:18:41 PM »

Are you using the ModIO plugin? Or are you doing this in VB?
Logged

Fixing problems one post at a time Wink

www.newfangledsolutions.com
www.machsupport.com
emulein
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #2 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
Logged
Brian Barker
Administrator
*
Offline Offline

Posts: 3,383



View Profile
« Reply #3 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!
Logged

Fixing problems one post at a time Wink

www.newfangledsolutions.com
www.machsupport.com
emulein
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #4 on: January 11, 2007, 12:43:23 PM »

Hi Brain,

I want to try it

greetings frank
Logged
emulein
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #5 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
Logged
emulein
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #6 on: January 13, 2007, 05:57:37 AM »

Hi Brian,

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

Greetings Frank
Logged
Brian Barker
Administrator
*
Offline Offline

Posts: 3,383



View Profile
« Reply #7 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

Logged

Fixing problems one post at a time Wink

www.newfangledsolutions.com
www.machsupport.com
emulein
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #8 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
Logged
Brian Barker
Administrator
*
Offline Offline

Posts: 3,383



View Profile
« Reply #9 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.
Logged

Fixing problems one post at a time Wink

www.newfangledsolutions.com
www.machsupport.com
Pages: 1 2 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!