FUDforum
My FUDforum

Home »  » DeviceMaster UP » Virtual Com Port with DeviceMaster UP
Virtual Com Port with DeviceMaster UP [message #1061] Tue, 30 October 2018 10:16 Go to next message
katcharovski is currently offline  katcharovski
Messages: 4
Registered: October 2018
Junior Member
Is there any way to connect a serial device with DeviceMaster UP thru the network as a virtual com port on a computer?
I know that DeviceMaster RTS and DM can do it, but not sure about the "UP" unit.
Do I need to upgrade the firmware to a certain version?
Thank you
Re: Virtual Com Port with DeviceMaster UP [message #1062 is a reply to message #1061] Tue, 30 October 2018 11:01 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 228
Registered: July 2016
Location: Minnesota
Power User
Hi,

The DeviceMaster UP is strictly a socket based device (non com port).
However, we do have an application that will generate a virtual com port and send data via socket to a DeviceMaster.
I've not tried it with a DM-UP, but theoretically it should work as long as you've got the port number.

The program is called Secure Port Redirector
http://downloads.comtrol.com/dm_freewire/redirector/secure-p ort-redirector.msi

The instructions are written with a DeviceMaster RTS/PRO in mind, but the applicable part for you would be setting up SPR.
The instructions are here:
http://downloads.comtrol.com/contribs/devicemaster/help_file s/devicemaster_and_secureportredirector_setup.pdf

Thanks,
Kurt



Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Re: Virtual Com Port with DeviceMaster UP [message #1063 is a reply to message #1062] Tue, 30 October 2018 11:06 Go to previous messageGo to next message
katcharovski is currently offline  katcharovski
Messages: 4
Registered: October 2018
Junior Member
Kurt, thank you.
I will give it a try and report back the result.
Re: Virtual Com Port with DeviceMaster UP [message #1064 is a reply to message #1063] Tue, 30 October 2018 11:08 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 228
Registered: July 2016
Location: Minnesota
Power User
One other note-

A lot of this depends on the firmware.
If you want SocketServer, then this will behave just like a DeviceMaster RTS.

Kurt


Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Re: Virtual Com Port with DeviceMaster UP [message #1088 is a reply to message #1064] Wed, 21 November 2018 12:28 Go to previous messageGo to next message
katcharovski is currently offline  katcharovski
Messages: 4
Registered: October 2018
Junior Member
Just uploaded the socket server in to the DeviceMasterUP and was able to configure the virtual com port on PC.
The serial port of the device is connected to Bristol 30xx PLC. This allows Primary SCADA to see the Bristols directly over the virtual COM.
Kurt: thank you very much for the help.

If I could make a Backup SCADA also seeing the same PLC (same port) it would be ideal. Unfortunately it looks the TCP connection can't be shared between 2 IP addresses. Can't visualize the port over UDP. Probably the only way is to physically wire the second RTS port with the PLC.

Re: Virtual Com Port with DeviceMaster UP [message #1089 is a reply to message #1088] Wed, 21 November 2018 12:40 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 228
Registered: July 2016
Location: Minnesota
Power User
Hi,

UDP might still be a viable option, it is tricky to setup.
If you have a serial input via the serial port, you can send the data to another UDP equipment and specify other ports on the DeviceMaster to output data. If you are using Com Ports, you will not be able to use the same port to send UDP. You will need to run a null modem cable from (for example) port 1 to port 2 where by port 1 is getting data via com port. Port 2 can send the data via the configured IP Addresses and port numbers. You will have to enable serial to ethernet and ethernet to serial for 2 way communications.

Kurt


Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Re: Virtual Com Port with DeviceMaster UP [message #1090 is a reply to message #1089] Wed, 21 November 2018 12:42 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 228
Registered: July 2016
Location: Minnesota
Power User
As an added note, here are some UDP Configuration examples.
http://downloads.comtrol.com/contribs/devicemaster/help_file s/udp/

Kurt


Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Re: Virtual Com Port with DeviceMaster UP [message #1091 is a reply to message #1090] Wed, 21 November 2018 16:35 Go to previous messageGo to next message
katcharovski is currently offline  katcharovski
Messages: 4
Registered: October 2018
Junior Member
Looks like I need a second DeviceMaster to achieve the UDP messaging so 2 PCs could connect. I can't make it work with 1 DeviceMaster only, as it has only 2 serial ports. Since port 1 is already physically wired to a PLC, the second port can't be connected with NULL modem cable to the first one.
Re: Virtual Com Port with DeviceMaster UP [message #1092 is a reply to message #1091] Wed, 21 November 2018 16:50 Go to previous message
Kurt is currently offline  Kurt
Messages: 228
Registered: July 2016
Location: Minnesota
Power User
Hi,

That is true, unless you used a USB to serial cable to connect to port 1 of the DeviceMaster directly to it's serial port.
Then you can attach the PLC to port 2 and point port 1 data via UDP to its own port 2 (use DeviceMaster's IP address in the port 1 UDP configuration.)

The following UDP config would be to the IP Address / UDP port of the other devices assuming they can recieve UDP.

If they can't use UDP, then they would need to directly attach to a serial port and in that case you would need another DeviceMaster with enough ports to accommodate the additional peripherals.

Kurt




Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Previous Topic: Duplex Speed
Next Topic: Multiple Connections To DM-2304
Goto Forum:
  


Current Time: Fri Apr 10 13:25:44 CDT 2020

Total time taken to generate the page: 0.00541 seconds