Jump to content

vlitomsk

Members
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    1

vlitomsk last won the day on November 2 2010

vlitomsk had the most liked content!

vlitomsk's Achievements

Newbie

Newbie (1/4)

1

Reputation

  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?
  2. Yeah!!! Thanks you a lot!! It works on V280!! Maybe there are some problems in Ethernet card in V570.
  3. Today I checked communication over ASCII format between PC and V280. It works Tomorrow, I'll try write program with your recommendations(checksum calculation), and write results here.
  4. Because there is something wrong in the controller/etc, because working program using ASCII protocol doesnt' work. Today I'll try do it with the V280, I think it must work
  5. 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
  6. Or maybe can you give me full datatable read/write query example to understand it?
  7. 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?
  8. 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...