Hello Guest it is April 18, 2024, 05:59:49 PM

Author Topic: Can someone explain how to map input on my MC-01  (Read 3316 times)

0 Members and 1 Guest are viewing this topic.

Can someone explain how to map input on my MC-01
« on: February 22, 2011, 08:26:27 PM »
Just would like to know how to map input and output on my ModIO.

I need all 8 inputs and output address

As an example, if input 1 is active, want to jog the X axis.

For the 4 X 4 matrix, I do not understand how to find address for specific input also.

I know mostly nothing about address , try to follow manual but I'm missing something and have trouble understanding.

Thanks for any help.


Jeff
Re: Can someone explain how to map input on my MC-01
« Reply #1 on: February 22, 2011, 09:19:14 PM »
Hi Jeff,

It comes down to what interface you are using in Mach3 to communicate via Modbus. Are you using the new Plugin Serial Modbus interfaceheers,

Peter.
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com
Re: Can someone explain how to map input on my MC-01
« Reply #2 on: February 22, 2011, 10:51:54 PM »
Hi, Peter

Are you talking about the Modio.dll found at: 
 
http://finance.groups.yahoo.com/group/modio/files/MC-01%20ModIO%20Information/

that you were talking in another thread.

If this is the one, the answer in no.

I have written the macropump for analog input and it work great.

I have watched some video (about modio brain) and discover that brain will only work when the plug in is installed, is that true?

In the video, they give an address to an input, how can I find what is the address on input 1 for example or output 2.

I know you must be tired to be asked always the same question again and again but I really would like to make it work.

If you can write some examples, I could go on by myself for the rest of it.

Again, thank you very much for your time.


Jeff





 
Re: Can someone explain how to map input on my MC-01
« Reply #3 on: February 23, 2011, 08:20:39 AM »
Hi Jeff,

No not the ModIO.dll. Is just gone Midnight, so this answer will be brief. And tomorrow I'm away in Ballarat.

Mach has 2 Modbus interfaces. One that works with plugins (Brains is a plugin) and the older legacy one. If you are doing all your modbus work in the macro pump then you are probably using the older one.

I did a modbus presentation. The slides are here http://www.machsupport.com/forum/index.php/topic,16347.msg110522.html#msg110522

Unfortunately it is an example that uses the latter modbus interface. It still may be of use to explain how modbus works with mach.


What you need to do in the meanwhile  is look through the macropumps in the customisation section of the wiki. It has examples of what you want to do. I'll answer properly when I return.

http://www.machsupport.com/MachCustomizeWiki/index.php?title=Modbus_in_Mach#Ports_.26_Pins
http://www.machsupport.com/MachCustomizeWiki/index.php?title=Modbus_in_Mach#Direct_access_to_Modbus_registers
http://www.machsupport.com/MachCustomizeWiki/index.php?title=Customization_case_studies

Cheers,

Peter.



----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com