pquiring / javaforce

JavaForce library for building powerful Apps and Services (Native Bindings for Camera, OpenGL, ffmpeg). Includes VoIP stack, PLC I/O and many apps.
http://pquiring.github.io/javaforce
GNU Lesser General Public License v3.0
55 stars 24 forks source link

JfDatalogger 0.29 ( W10-64) #6

Closed SuperJerry69 closed 2 years ago

SuperJerry69 commented 3 years ago

This program look nice but with Modbus TCP or Siemens S7 iso on TCP : i have no request on ethernet ( on wireshark traces ) For modbus tags : what is the syntax ? MW , HR or something else ?

pquiring commented 3 years ago

There is some help here: http://jfdatalogger.sourceforge.net/help.php

pquiring commented 3 years ago

Try disabling IP6 on your network cards.

SuperJerry69 commented 3 years ago

Thanks for the update ot the help file !

I haven’t tcp ip V6 enabled on my network card, but I have a lot of network card on my laptop ( vpn / virtualBox … ) so I try on a VM with one ethernet card .

It works with easymodbus dll , snap7 library ( siemens ) and I can see on wireshark traces the modbus TCP or s7 TCP traffic.

But with jfdatalogger : nothing goes out … ( so nothing come back … 😊 )

For the modbus , I use tcp port 502 and unit identifier 1 , but it’s a standard …

I try on windows 10-64 , windows 7-64

In the settings , there is socks4 server ( unchecked )

I ‘m on the same network than the PLC , I don’t have to use a socks4 server?

Thanks !

pquiring commented 3 years ago

You shouldn't need the sock4 setting. For siemens, you put in a host (ip address) and tag right? Once you have added the tags click on "Run". Do you see values in the table (right top side) and a graph building (right bottom side) ? I've only tested on Siemens S7-300 series PLCs (400 series should work too). Maybe your firewall is blocking the app, try disabling it.

pquiring commented 3 years ago

You can run the app from the command line to view log messages. Install Java from https://adoptopenjdk.net/ Run cmd.exe Run these commands:

  cd c:\program files\jfdatalogger
  java -cp javaforce.jar;jfdatalogger.jar App

Paste the output here.

pquiring commented 2 years ago

No comment in 3 months, closing issue.