
Originally Posted by
saman4389
what does libnodave show me ?
i load very small program too plc, it is just a start/stop circuit (with address Q0.0 )
It's a little test-program that does nearly the same as when you start WinCC with configured variables with addresses MD0, MD4 and MD8.
If the testprogram is able to read out the variables from nettoplcsim, then the setup of plcsim/nettoplcsim and your network is OK. Then the problem is your missing WinCC license.
If you have no program loaded into plcsim, it should show an error when reading variables from DB1 (because not available) and show the values of zero for the marker-words.
Your output seems like this:
Code:
E:\libnodave-0.8.4.6\win>testISO_TCP.exe 192.168.1.10
openSocketw.c: Connected to host: 192.168.1.10
Connected.
Trying to read 64 bytes (16 dwords) from data block 1.
failed! (10)
Trying to read 16 bytes from FW0.
FD0: 0
FD4: 0
FD8: 0
FD12: 0.000000
Finished.
Bookmarks