News:

  • June 27, 2026, 12:01:11 PM

Login with username, password and session length

Author Topic: DMLogger on PC with 2 networks  (Read 10144 times)

kc7kc

  • Newbie
  • *
  • Posts: 5
DMLogger on PC with 2 networks
« on: November 15, 2016, 05:20:46 PM »
I need to send data to the Do More Logger on a PC with two Ethernet ports.  One of my computer's Ethernet ports connects to the company domain network and the other is for what I call a tool level sub-network.

If I disable my PC's Domain port, I get data to Do More Logger through my tool level Ethernet port.  However, with the Domain port enabled, no data shows up.  Apparently, Do More Logger is just interested in the Domain port when it is on.

I have tried specifying the IP Address on Do More Logger's 'accepting packets' field.  That doesn't help

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: DMLogger on PC with 2 networks
« Reply #1 on: November 18, 2016, 10:45:37 AM »
The STREAMOUT to Device @DMLogger in Do-more just causes it to send a broadcast out the Ethernet port. Thus your Do-more's built-in port is sending a UDP/IP telegram to 255.255.255.255, from your Do-more's built-in Ethernet port IP address. It is sent to a destination port number of 29,298 (7272 hex).

So, if there is anything configured in your PC (or network) that rejects broadcasts for whatever reason, it will not see the telegram. Or if it has its ears closed to the port number above, it may reject the broadcast telegram. You might want to download Wireshark (free Ethernet packet sniffer) install it on your PC, and see if you can see the telegrams coming from your Do-more.
There are two types of people in the world; those that can extrapolate from incomplete data sets.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: DMLogger on PC with 2 networks
« Reply #2 on: November 18, 2016, 11:02:22 AM »
If one of the NIC's in your computer is set to 'Home', and the other is set to 'Work' or 'Public', then they will be operating on an entirely different stet of Windows Firewall rules. This may help you with diagnosis.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

kc7kc

  • Newbie
  • *
  • Posts: 5
Re: DMLogger on PC with 2 networks
« Reply #3 on: December 07, 2016, 08:35:01 AM »
Thanks Greg and PLCNUT.  Good advice.  Thanks for your help!

Here are two conditions I tested with regard to network category setting.

LAN 1 - Domain Network
LAN 2 - Public Network
PLC on LAN 2 using STREAMOUT to Device @DMLogger
Results; No LAN 2 data comes to DMLogger or Wireshark.  However, I can connect to the PLC on LAN 2 using DoMore Designer.

LAN 1 - Public Network
LAN 2 - Public Network
PLC on LAN 2 using STREAMOUT to Device @DMLogger
Results; Good data comes to DMLogger and Wireshark.  I can connect to the PLC on LAN2 using DoMore Designer.

Does this indicate that there is a firewall issue?  I am confused by the fact that I can connect to the PLC using Designer when the data logger is not functioning.  Apparently the connection is not being blocked entirely.

I have not been able to change LAN 2 to something other than Public.  I need IT for that.

Any further advice would be appreciated.

kc7kc

  • Newbie
  • *
  • Posts: 5
Re: DMLogger on PC with 2 networks
« Reply #4 on: December 07, 2016, 08:51:27 AM »
One more question.

Perhaps port 0x7272 is in use by the Domain port.  I can see how to change the port number on DMLogger, but not on the PLC side.  The device @DMLOGGER has no settings.  Can this port number be changed?

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: DMLogger on PC with 2 networks
« Reply #5 on: December 07, 2016, 09:07:33 AM »
One more question.

Perhaps port 0x7272 is in use by the Domain port.  I can see how to change the port number on DMLogger, but not on the PLC side.  The device @DMLOGGER has no settings.  Can this port number be changed?

No, but yes. The DMLogger device is basically just a pre-defined UDP. You can do the same thing by creating a UDP device and doing a PACKETOUT to the desired port.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

kc7kc

  • Newbie
  • *
  • Posts: 5
Re: DMLogger on PC with 2 networks
« Reply #6 on: December 07, 2016, 10:29:55 AM »
Thanks BobO,

Problem solved.  Created a UDP device at port 0x2000 (8192) and used the packetout command.  I set Do-More Logger to listen at that port and it took off.

Thanks again