1769-ASCii data receive "backwards"

JZerb

Member
Join Date
Oct 2016
Location
Here
Posts
423
so, Micrologix 1500. 1769-ASCii module. Bringing data in over the Channel 0 serial port. Setup is attached below. As is a snippet of the code. So I send 'testing' to the PLC from my PC and it comes into the string backwards. am i missing something?

Channel0.JPG Testing.JPG
 
What's really odd is that the first three character pairs are reversed and read right to left, but the final g and \00 (assumed terminator?) are ordered left to right.
 
Also the values for the I:1 file don't make any sense: "te" is either 0x7465 or ox6574, which is either 29797 or 25972; but I:1.8 is showing 13617, which is 0x3531, which would be either "51" or "15"


And the other I values are all zero.


huh.
 
Also the values for the I:1 file don't make any sense: "te" is either 0x7465 or ox6574, which is either 29797 or 25972; but I:1.8 is showing 13617, which is 0x3531, which would be either "51" or "15"


And the other I values are all zero.


huh.

If I could I would add a disclaimer to the original post. What I did was enter those manually offline once I got home and realized that I didn’t save the online values. It was just a show of what I saw going on while live with the controller.

I will try it with swap mode set to 16-bit. The options are disabled like I have it now, 16-bit or 32-bit.
 

Similar Topics

Firstly some background: I have to add a 1769-ASCII module to an existing plc installation done by another company some years ago. The...
Replies
5
Views
5,857
I am using a AB CompactLogix 1769-ASCII module to read values from scales into the PLC buffers via the ASCII module word 8 to 107 (characters 0 to...
Replies
3
Views
4,257
This is maddening. I'm developing a new application where a 1769-L32E with a 1769-ASCII module is communicating with a Tegam micro-ohmmeter...
Replies
2
Views
1,586
I tried searching but either there aren't any answers out there for my Google-fu isn't up to snuff. My customer has a laptop with Labview set up...
Replies
0
Views
1,555
Working with a customer who wants to do some ASCII handshaking between the PLC (a 1769-L24ER) and Labview on a laptop. I can send data from the...
Replies
4
Views
1,865
Back
Top Bottom