FactoryTalk Studio String Input

40mpg

Member
Join Date
Dec 2021
Location
Oakland, CA
Posts
82
Hello All,


I need your advice to see if the following solution is viable and if there is a better way of doing things:


1. I am using FactoryTalk ME Studio v11.0


2. Using Studio 5000 v.32 with a ControlLogix PLC




On the HMI application I used a "String Input Enable Box" to capture a string from the operator (.e.g. size4). I then store that string into a tag on the PLC, inputString.


In the PLC logic, I compare inputString using EQU with another known string, if they match then I set a testTag to a value.




Is there a better way of doing this, let's say on the HMI? as I did not see the "expression" is enabled for "string input enable"
 
That is what I have always done in the past. But some of the older PanelView would stick a CR-LF at the end of the string. For those in the PLC I use the FIND instruction instead. The EQU will fail if it is not an exact match. But new V11 should be fine.
 

Similar Topics

Hello, I am currently trying to get my string display to show a value (I will provide an example below), but I am struggling to get the value. So...
Replies
0
Views
3,055
Hello, I made a change in alarm setup in factory view studio, where I changed a alarm message text. After that I made a run application and...
Replies
0
Views
70
Hi all, I'm having an issue with connecting View Studio emulation to a real PLC. I am running View Studio 8.01 on a Hyper-V virtual machine...
Replies
0
Views
233
Hello. I have a Project I'm doing in Factorytalk View Studio. One of my displays I created has a bunch of red x's on all of the objects I created...
Replies
5
Views
510
So, I'm new to the PLC world (fresh graduate) and at my job I've been pretty much only helping out the other programmers with simpler tasks while...
Replies
1
Views
583
Back
Top Bottom