Host Engineering Forum

General Category => General Discussion => Topic started by: PLCGuy on August 25, 2017, 01:19:57 PM

Title: send data out
Post by: PLCGuy 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.
Title: Re: send data out
Post by: BobO 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.
Title: Re: send data out
Post by: ADC Product Engineer on August 25, 2017, 04:42:10 PM
Help topic DMD0283 tells how to do it step by step.
Title: Re: send data out
Post by: plcnut on August 25, 2017, 05:18:15 PM
Also make sure that your firewall is not blocking it on your computer.
Title: Re: send data out
Post by: PLCGuy 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.
Title: Re: send data out
Post by: plcnut 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?
Title: Re: send data out
Post by: PLCGuy 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.
Title: Re: send data out
Post by: plcnut 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)?
Title: Re: send data out
Post by: BobO on August 28, 2017, 02:04:08 PM
And the next thing I would recommend is Wireshark on the laptop.
Title: Re: send data out
Post by: PLCGuy 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!