News:

  • June 10, 2026, 09:03:52 AM

Login with username, password and session length

Author Topic: send data out  (Read 13559 times)

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
send data out
« on: August 25, 2017, 01:19:57 PM »
Can someone explain step by step how to send out data to the pc to dmlogger?

I did the print string box, then doing the streamout, all goes down hill. Streamout defaults to @dmlogger, so I created my own device but it does not appear in the drop down box. So I left it @dmlogger, but then have no glue how to fill out all the other things. I tried create new device but did not get too far.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: send data out
« Reply #1 on: August 25, 2017, 01:27:12 PM »
Can someone explain step by step how to send out data to the pc to dmlogger?

I did the print string box, then doing the streamout, all goes down hill. Streamout defaults to @dmlogger, so I created my own device but it does not appear in the drop down box. So I left it @dmlogger, but then have no glue how to fill out all the other things. I tried create new device but did not get too far.

All you can do is STREAMOUT to @DMLogger, there are no other devices. Just run DMLogger and the messages should show up.
"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

ADC Product Engineer

  • Hero Member
  • *****
  • Posts: 270
Re: send data out
« Reply #2 on: August 25, 2017, 04:42:10 PM »
Help topic DMD0283 tells how to do it step by step.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: send data out
« Reply #3 on: August 25, 2017, 05:18:15 PM »
Also make sure that your firewall is not blocking it on your computer.
Circumstances don't determine who we are, they only reveal it.

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

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
Re: send data out
« Reply #4 on: August 28, 2017, 05:59:33 AM »
How would I trouble shoot this. In the program it shows success. I am sending a string to SS1. I am on the same network. A message asked to allow access and I said okay. I run dmlogger and left everything default since I was told all I have to do is run the program. I would not know what to change anyhow.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: send data out
« Reply #5 on: August 28, 2017, 08:05:22 AM »
Are you on a private network? Is the switch you are connecting to a managed switch?
When I have these types of problems, I will temporarily disable my windows firewall and run a test. I then turn the firewall right back on, and then focus on either the firewall, or on the PLC end.
Could you post a screenshot of the STREAMOUT?
Circumstances don't determine who we are, they only reveal it.

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

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
Re: send data out
« Reply #6 on: August 28, 2017, 12:53:23 PM »
The plc and notebook are plugged into a non-managed switch. I run the plc program then on my notebook ran logger.

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: send data out
« Reply #7 on: August 28, 2017, 01:19:24 PM »
That looks to be fine, except the STREAMOUT is only triggered on rising edge.
Have you tried putting it on a contact that you can trigger (or do you have it in a stage)?
Circumstances don't determine who we are, they only reveal it.

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

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: send data out
« Reply #8 on: August 28, 2017, 02:04:08 PM »
And the next thing I would recommend is Wireshark on the laptop.
"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

PLCGuy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 677
Re: send data out
« Reply #9 on: August 30, 2017, 06:31:26 AM »
plcnut, i changed the trigger to a one second, and yes it was just a few rungs for testing.
It turned out to be the firewall. There were two entries for DMLogger. I changed a few tick boxes and it works. I was surprised I have the brx on 192.168.1.10 and was able to get dmlogger to work on 10.20.133.30. I have two cards in my computer. I set the second one to 192.168.1.25 this way i can mess with the plc and not have it on the company network and work on my desktop. I just ran the dmlogger on my desktop and there it was. Getting some ideas!