Host Engineering Forum
General Category => General Discussion => Topic started 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.
-
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.
-
Help topic DMD0283 tells how to do it step by step.
-
Also make sure that your firewall is not blocking it on your computer.
-
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.
-
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?
-
The plc and notebook are plugged into a non-managed switch. I run the plc program then on my notebook ran logger.
-
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)?
-
And the next thing I would recommend is Wireshark on the laptop.
-
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!