Help RTA 435NBX

oscar131313

Member
Join Date
Jul 2016
Location
Matamoros
Posts
2
I am using a 435NBX module with a compact logix to send data to a Zebra printer. its around 12 strings that i need to send, but the code that i sent has a timer, if this value is less than 100 ms the code has missing information, if is more than 100 ms the code has a repeated strings.

PLC.jpg
 
It is hard to tell what you are doing from that screenshot, but have you tried using the CONCAT instruction to get all 12 strings into 1 UDT string type? I have 30 strings that I send to a Zebra Printer using a 435USB. Once all of my part details are entered into the required elements of my first string array, I concatenate everything into a string tag of length 2480. It's a big boy, but I am sending a lot of data; roughly 2400 characters.

Something like this (Ladder image below: Capture):
Code:
CONCAT(RTAStringToPrinter,RTAPrintString[0],RTAStringToPrinter)CONCAT(RTAStringToPrinter,RTAPrintString[1],RTAStringToPrinter)CONCAT(RTAStringToPrinter,RTAPrintString[2],RTAStringToPrinter)
I start with an empty "RTAStringToPrinter" and add each element of "RTAPrintString[*]" until I have all of my data in "RTAStringToPrinter". The 435USB sees this tag change and sends the data to the printer. I have an Inter-Message Delay of 500ms set on the 435USB so the PLC has time to concatenate the entire message, and then send all of the ASCII characters at the same time. Capture2 shows my PLC setup on the 435USB.

I hope this helps.

Capture.PNG Capture2.PNG
 
Mikey thank you for your support, we increase the length of the string and concatenate all of them in just one and change the length of the copy instruction to a constant number and works ok.
 

Similar Topics

Hello everyone. Could someone please assist me? I am using Citect version 7.2 service pack 5 and Windows 7. I have created a project...
Replies
0
Views
70
Hello, I'm not sure if anyone can help me. I made a big mistake by pulling out the battery to swap it with the machine turned off, and as a...
Replies
0
Views
54
I've adjusted the IP of the Panelview Plus as well as the DNS servers; the screen does not show up in the search when I go to the transfer utility...
Replies
4
Views
117
Hi Everyone, I own a GE Versamax controller that I purchased for a class at Long Beach City College a couple of years ago. I lost the use of my...
Replies
11
Views
253
I was wondering if anyone could help i am trying to use a SLC 500 with a 5/05 processor to set up an incremental encoder to a HSCE2 card? The card...
Replies
2
Views
181
Back
Top Bottom