Need to send STRING to HMI

Tom, good point. I guess I am assuming that he is not using inTouch anymore, otherwise why change? I typically do the same thing - let the HMI manage the display interpretation for the data. I am OK with bulky HMI code, as long as the PLC is efficient.
 
If you have three messages in tags STRING[1], STRING[2] and STRING[3] then set aside another string (HMI_STRING)which the HMI will read.

In the PLC code use COP STRING[1] HMI_STRING 1

Note the '1' as the length in the COPy command. You are copying one string.

And you can save some memory by making HMI_STRING an ALIAS tag, aliased to STRING[0].

Note also you can create your own STRING data-types : the pre-defined one allows for 82 characters. If you have an upper limit of, say, 30 characters, create a STRING30 data-type. Use this UDT for HMI tags that are limited to 30 charcters.
 

Similar Topics

I have a 120V signal coming out of this hardware to go to something, which can either be wired or wireless on its own network or connected to our...
Replies
7
Views
3,604
I'm looking for documentation for the functions PDAT_CY, PCD_SEND and PCD_RECV that are part of an existing Step-7 program. The best I can find so...
Replies
1
Views
2,394
Dear All, I have a project with SLC 541 and RSView32. The client want to send alarm massages (SMS) to mobile phone. Can anybody advice me the...
Replies
8
Views
3,204
So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
46
I've got this 3-phase 575V motor that we're controlling with a VFD (Variable Frequency Drive), which has been quite the learning curve in itself...
Replies
10
Views
280
Back
Top Bottom