I'm setting up a Sensopart code reader. Followed the Ethernet/IP instructions to the letter. Got everything working. I can read a bar code and get the number into my program.
Only problem is, the AOI that Sensopart set up seems to have a strange problem. There is a String Tag for the actual bar code, and their AOI uses structured text to transmit a portion of the input buffer one character at a time. They seem to be doing it the way Rockwell's ASCII Manual says to. here is the portion of their code:
Fairly simple and straightforward. Only problem is I get the following result:
The numbers are all there, but the main string is only showing the first character. By the way, this is running on a Softlogix Processor v.21
Only problem is, the AOI that Sensopart set up seems to have a strange problem. There is a String Tag for the actual bar code, and their AOI uses structured text to transmit a portion of the input buffer one character at a time. They seem to be doing it the way Rockwell's ASCII Manual says to. here is the portion of their code:
Code:
for intx:=0 TO 81 DO
DetectorResult_STR.DATA[intx] := strValueChar_implicit.DATA[intx];
end_for;
Fairly simple and straightforward. Only problem is I get the following result:
The numbers are all there, but the main string is only showing the first character. By the way, this is running on a Softlogix Processor v.21