Jump to content

vlitomsk

Members
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by vlitomsk

  1. Hi.

    I have some problems with connection between V570 and PC. I can't communicate via Ethernet with v570. But my program written in Java without any problems works with v280.

    Earlier, I worked without problem when I have Visilogic 8.6.0.1, but after programming Unitronics with Visilogic 8.6.1, my program stopped its properly work.

    My program connects to the PLC (opening socket), writing to socket, but when trying to read from it, there isn't any answer from PLC.

    The same problem was when I used another v570, 100% Ethernet card is working successfully.

    Can you help me?

    • Upvote 1
  2. 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

  3. 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?

  4. Hi guys.

    I've question about calculating checksum in binary format. Authors of 'VisionCommunication.pdf' said: Calculate the accumulated sum of the bytes in the vector.

    I suppose, vector is full binary query containing header, details and footer sections. Is it true? And what kind of sum have I to calculate? ASCII sum of full query, or maybe length of query? Can you help me?

×
×
  • Create New...