Hi all,
I am having an issue with strings sent from my L32E to my PanelView Plus where the string displayed in RSLogix5000 is right but the message displayed is not right.
The goal is to have a list of messages in an array, and depending on the circumstances I grab one of those message and store it in another string to send it to the touchscreen. There are however possible situations where more than one of these circumstances maybe true so I have prioritized the messages by their position in the ladder. What this means is I need to delete what is currently in the string being sent to the HMI and then push the new string in.
I am using the two instructions delete, to clear the string being sent to the HMI (SYSTEM.STATUS_TS), and insert, to load the new message.
Below are two images, one of the string as seen in the PLC and one of the same string being displayed within FactoryTalk View Studio.
As you can see the strings do not match! I am assuming it may be a memory issue? I should note there is another message called "RC01-RC04 are in fault" which the intended message seems to have concatenated with.
Any help or insight in a different way of doing what I want would be greatly appreciated!
I should note previous to this project I would have these messages hard coded in the HMI program, and simply send a number to the screen which calls upon the hard coded messages. This method means it's simpler to change messages as it can be done via the PLC instead of the HMI program.
Thanks!!!
I am having an issue with strings sent from my L32E to my PanelView Plus where the string displayed in RSLogix5000 is right but the message displayed is not right.
The goal is to have a list of messages in an array, and depending on the circumstances I grab one of those message and store it in another string to send it to the touchscreen. There are however possible situations where more than one of these circumstances maybe true so I have prioritized the messages by their position in the ladder. What this means is I need to delete what is currently in the string being sent to the HMI and then push the new string in.
I am using the two instructions delete, to clear the string being sent to the HMI (SYSTEM.STATUS_TS), and insert, to load the new message.
Below are two images, one of the string as seen in the PLC and one of the same string being displayed within FactoryTalk View Studio.
As you can see the strings do not match! I am assuming it may be a memory issue? I should note there is another message called "RC01-RC04 are in fault" which the intended message seems to have concatenated with.
Any help or insight in a different way of doing what I want would be greatly appreciated!
I should note previous to this project I would have these messages hard coded in the HMI program, and simply send a number to the screen which calls upon the hard coded messages. This method means it's simpler to change messages as it can be done via the PLC instead of the HMI program.
Thanks!!!