Can a Siemens TP1200 Comfort use string8 tags with AB L8 PLC

dev67

Member
Join Date
Jun 2016
Location
Michigan
Posts
19
I've got a whole bunch of L8's and a whole bunch of UDTs that use custom string lengths, but can't seem to figure out how to get these to communicate with this Siemens panel. My only option right now seems to be moving all of my string data into default 82 char strings and talk with the panel that way. Is there really no way to use custom strings with these panels?
 
In Siemens, in the String properties, you can define a string length. It defaults to 10, but the help file says it supports anything from 1 to 82. I don't know if that changes the actual data type though for the comms, or just how the string is stored/displayed.



It's been a while since I looked at custom strings. My recollection from diving into a L5X file long ago is that custom string lengths in AB end up implemented as a UDT with a Length tag and an array of characters or something like that, and the HMI only supports arrays of numbers (int/real/etc).



Might be worth calling Siemens tech support to ask, if no one else has a better idea.
 
There's an underlying attribute of all Logix UDTs that indicate whether it represents a string family type. The Siemens panel might be looking for the de-facto Logix string (i.e. STRING) with type code 0xAFCE. A packet capture may reveal this. In this case, mk42 is right, and it expects STRING only.
 
It's been a while since I looked at custom strings. My recollection from diving into a L5X file long ago is that custom string lengths in AB end up implemented as a UDT with a Length tag and an array of characters or something like that, and the HMI only supports arrays of numbers (int/real/etc).

All strings in Logix are UDTs with attribute FamilyType == 1. All others are 0.

This is why you can create UDTs that are structurally STRING, but code won't compile if you treat it as a string.
 
Last edited:
fwiw

Not too long ago I was trying to read a custom string length in a Logix into an AD C-More.

I was unable to get it to work with the PLC memory type set as String. Fortunately the C-More allows you to read into a string tag with the memory type set as SINT and by directly addressing the .DATA array I got it working.

I don't know if something similar is possible in your panel, but I can say that simply changing the string length to match did *not* work for me; it definitely seems like custom lengths are handled differently by Logix in some fashion.
 

Similar Topics

I need to confirm that the can we convert the KTP1200 Basic PN to TP1200 Comfort HMI. I am using TIA Ver 14 and it shows the Device change option...
Replies
1
Views
2,238
Hi all, On my project I have a TP1200 Comfort Panel (6AV2 124-0MC01-0AX0). Unfortunately I don't get to see the hardware until I get to site. I...
Replies
1
Views
4,458
Guys, Is this touch panel limiting the types and size of SD/MMC card for data logging?
Replies
0
Views
2,533
Good day, May I ask, what do I need to perform MIGRATION of HMI program from Siemens MP277 10" Touch hmi to TP1200. I already have WinCC Flexible...
Replies
0
Views
162
I've got TIA portal v18, KTP1200 HMI. I want to add a slider bar (if that's the correct name for it) to an HMI screen. Baslcally, like a...
Replies
8
Views
1,120
Back
Top Bottom