Jump to content

Reading Data Tables


vlitomsk

Recommended Posts

Hello again.

I've tried to read data tables from the PLC. I wrote program in Java, and it doesn't work. Query was created by myself, checksums was calculated by myself. This program worked successfully , when I tried to read one MI. But when I run this program, and sometimes it throws exception (Connection reset), sometimes it doesn't write something to the screen few minutes, and I have to stop that. Can you help me? There isn't problems in the cable/etc.

Here is the source: http://pastebin.com/GkFssHiG .

I've Vision V570 model, and when entered to the Ethernet monitor from the INFO MODE, saw that RX and TX count = 0. But on the PC, RX and TX count increases when running program.

Where is the problem?

Link to post
Share on other sites

Here is hex dump:

TCP header (for communication over Ethernet): 01 00 66 00 3B 00

Header section: 2F 5F 4F 50 4C 43 01 FE 01 00 00 00 04 00 00 00 00 00 00 00 20 00 19 FD

Details section: 04 00 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Footer section: F7 00 5C

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...