TiaPortal from %IWxxxx to String

cagliostro

Member
Join Date
Feb 2007
Location
vi
Posts
106
Hi All,

through a PN / PN coupler, receive a series of data from another Siemens PLC.

An area of 32bytes (From% IW840 To% IW870) has been reserved in the exchange data which contains the name of the recipe to be displayed on a TP1200 Comfort HMI.

My problem is that I don't know how to take the 32 bytes and convert them as a string to be displayed in the HMI
The CPU I am using is a FailSafe 1510.
Thanks in advance for your support
 
You never answered this:
L D[AR2 said:
]Are the bytes actually characters?
If the data being received are already formatted as a string, then you dont have to convert anything.

It would be illogical to transfer as array of bytes. The partner PLC is a Siemens S7, which supports strings natively.
 

Similar Topics

Does anyone know if there's a technical reason why Siemens HMIs can't have the program uploaded from them into TIAPortal as a project file, or is...
Replies
5
Views
773
I have a nice project in Visilogic that I have been asked to re-create in Tiaportal/Siemens. (Bosses / maintenance want to standardise on one...
Replies
2
Views
1,282
Hi All, which the best way to do the indirect addressing in an optimize DB? Ccurrently this is my partial code inside an FB...
Replies
7
Views
2,252
Hello everyone, I dont know if this is a common error or if im wrong but whenever i create a screen i am allways afraid of my life with this...
Replies
4
Views
2,030
Hello everyone, I am currently trying to build a HMI(KTP400 basic) for myself. I have some UDT data and use these UDT data for 20~...
Replies
7
Views
1,238
Back
Top Bottom