Hello Guest it is July 08, 2025, 11:37:18 AM

Author Topic: com1 & com2 modbus  (Read 16291 times)

0 Members and 1 Guest are viewing this topic.

Offline jve

*
  •  128 128
com1 & com2 modbus
« on: September 26, 2009, 11:44:04 AM »
i have a mill working with mach3 and it has a toolchanger working with A/B plc via modbus on com1 i was wondering if it is possible to connect a peter homann modio on com2  ???
thanks in advance
jekran
Re: com1 & com2 modbus
« Reply #1 on: September 26, 2009, 06:15:10 PM »
Hi,

No you can't use 2 com ports in Mach3 with Modbus.

What you can do is use RS485 to talk to the PLC and the ModIO through a single com port. This is how most talk to multiple modbus devices.

The ModIO can use RS232, RS485 two wire, or RS485 four wire.

You can also use the ModIO as a RS232 to RS485 converter as well.

Does your PLC haave a RS485 port?
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com

Offline jve

*
  •  128 128
Re: com1 & com2 modbus
« Reply #2 on: September 27, 2009, 06:17:23 AM »
Hi,

No you can't use 2 com ports in Mach3 with Modbus.

What you can do is use RS485 to talk to the PLC and the ModIO through a single com port. This is how most talk to multiple modbus devices.

The ModIO can use RS232, RS485 two wire, or RS485 four wire.

You can also use the ModIO as a RS232 to RS485 converter as well.

Does your PLC haave a RS485 port?
yes the plc has a rs485 port
my intention is to leave the plc doing the atc stuff and then i would like to have a modio to controll the mpg,analog feed rate, start the spindle and controll it via analog 0-10v i would like to have the mpg handheld
do i need another port on the pc with rs485 port cause as far as i know the serial port cannot be a rs485?
Re: com1 & com2 modbus
« Reply #3 on: September 27, 2009, 07:56:35 AM »
You have 2 options here.

1.  Use an RS232 to RS485 converter and run the PLC and the ModIO off that.
2. Use the RS232 to RS485 on the ModIO and run the PLC off the ModIO's RS485 connectors.

Have a look at these 2 engineering notes;
http://www.homanndesigns.com/EN007-MC01R1.pdf
http://www.homanndesigns.com/EN007-MA02R1.pdf

Cheers,


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

Offline jve

*
  •  128 128
Re: com1 & com2 modbus
« Reply #4 on: September 27, 2009, 09:27:07 AM »
You have 2 options here.

1.  Use an RS232 to RS485 converter and run the PLC and the ModIO off that.
2. Use the RS232 to RS485 on the ModIO and run the PLC off the ModIO's RS485 connectors.

Have a look at these 2 engineering notes;
http://www.homanndesigns.com/EN007-MC01R1.pdf
http://www.homanndesigns.com/EN007-MA02R1.pdf

Cheers,


Peter.
which one do you think i should use ?
Re: com1 & com2 modbus
« Reply #5 on: September 27, 2009, 05:12:33 PM »
If the ModIO is in a handheld pendant, use a separate RS232 to RS485 converter. If the ModIO is mounted into a CNC controller box then use the ModIO's onboard RS232 to RS485 converter.


If you are putting the ModIO into a handheld pendant as you stated earlier, it would not be very efficient to have the RS232 commms from the computer run up to the ModIO, get converted to RS485 and be sent back down the cable, then to the PLC.

Cheers,


Peter.

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