Hmi->plc Data Transfer

TOMC

Member
Join Date
Apr 2002
Location
Niagara Falls
Posts
58
I have a Moeller MV4 HMI conected to an AB SLC 5/04 PLC. Everything is working fine. I have programmed in a Recipe object so the customer can load different part numbers (5 so far) and the data to go along with each part number. A selection is made from the screen and downloaded to the PLC. This works great I am very happy with the result. Now heres the problem. The recipe object saves the recipe names as string data. This is ok except for the fact that the HMI software does not recognize that the 5/04 can accept string data. I have had to address an integer file. Now what can I do to get this string data that is an integer to be an integer.
 
--This is ok except for the fact that the HMI software does not recognize that the 5/04 can accept string data.

Please explain??? You cannot use a ST type variable???

--I have had to address an integer file. Now what can I do to get this string data that is an integer to be an integer.

Even if it is written to an integer file the HMI should still read out the string has a string if the HMI objects data fromat i set to string, Am I missing something??
 
It has been my experience that when you connect cross platform HMI's
and PLC's that you are limited to the types of address types. With AB I have found that it is usually integer files and bit files. The HMI can read and write the string data to the integer file no problem. It is sending the data and recieving the same data. The PLC on the other hand will not manipulate the integer data as string data. Now I could be wrong on this, I am not sure. I have not done alot of sting manipulation. I want to log this part number with the rest of the data for the production run. Maybe I am all backwards I dont know. I have put an email into Germany to see if they can give me an answer.
 
If you want to manipulate the data in a string file, do a COP from the integer file to the string file. You will need to specify length in the number of integers you want to copy and there are two characters per integer. Thus, you will probably want to fill that area of the integer file with nulls (0's) before you transfer the informaiton from the HMI.
 

Similar Topics

hi there, I'm a beginner pls help when transferring pc to hmi there's an error message on shihlin hmi written com1 station 1: communication...
Replies
1
Views
66
Hello, I have a Mitsubishi FX3G 14M PLC and a E615 HMI from Mitsubishi/Beijer. I'm using GXWorks 2 to do the programming and I have no problem...
Replies
4
Views
147
Good people of PLCs.net, I am currently working with an HMI that is advantech 1250H, that communicates with a 1769 Compact logix and Currently...
Replies
2
Views
78
Hello all, I know its not good practice to have duplicate destructive bits when writing plc code, but I'm wondering about writing to the same tag...
Replies
2
Views
121
Hi All, As a precaution my company has been collecting copies all the HMI and PLC programs. I have recorded copies of most of our sites...
Replies
0
Views
76
Back
Top Bottom