Troubles with 1769-ASCII and Labview

Join Date
Nov 2013
Location
Michigan
Posts
532
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 PLC just fine, but for some reason, when Labview sends an acknowledgement back, the ASCII module doesn't get it.

He has a serial port sniffer program up when he does this and it does send data. After some working last night, I was able to get a transmission from the Laptop to the ASCII module working, but only via YAT, a terminal program. We looked at the hex values being sent with the sniffer, and there's nothing about what YAT sends that looks any different than what Labview is sending, but clearly since YAT is working and Labview isn't, something is different.

I've tried every setting combination in the ASCII module. My baud rates are right. The code I'm using is the A-B sample code rung for rung.

I know absolutely nothing about Labview and I don't really want to. What puzzles me though is that Transmitting works with YAT but not with Labview, but Labview can receive a line just fine.
 
I'd start with a loopback cable on the serial port. Transmit your data on the loopback using both LabView and YAT. See if they are the same.
 
Is Labview sending a delimiter (e.g., carriage return) character to signal end of transmission? If so, and you are using a 1734-232ASC module, you will want to define the specific delimiter on the Configuration tab in the Receive Data frame. If not, I expect the program will need to be set up for a fixed length transmission.
 
As Mispeld pointed out, this is likely a termination character issue. LabVIEW doesn't send a termination character by default. It need to be appended programmatically. The YAT program is probably sending CR/LF when you hit the Enter button.
 

Similar Topics

I copied a panel in factory talk HMI for an identical system. The label names are still the same as the original panel but I am trying to change...
Replies
0
Views
58
  • Locked
  • Sticky
Hi folks, If you're having any login issues kindly send an email to [email protected] or use the 'contact us' link on the bottom of every page to get...
Replies
0
Views
738
Hello all, I am currently addressing a failing screen on a PV550. The first thing I did was upload the program onto an Allen Bradley memory card...
Replies
29
Views
7,255
Hey Folks. I'm having a little issue with a Kinetix350. Long story short. I have burned 2 2097-V34PR5-LM in the past few months on the same...
Replies
6
Views
2,709
Hello! I'm a complete beginner to programming and i have a project i'm working on in TwinCAT 3 since i'm using a Beckhoff PLC. One of the...
Replies
4
Views
2,316
Back
Top Bottom