Help with visualisation - text field input

shrimper

Member
Join Date
Jun 2015
Location
Warsaw
Posts
4
Hi,

I would like to put a text field in my visualisation, where user can put some data (string or int). Then, after clicking a button, this data would be saved into MAIN(PRG) variable.

It seems that "Text field" is capable of only displaying text and variables. After I login and run program, placeholder %s disappears and variable from "Text variable" is displayed - but user cannot modify it.

I would like to give the user opportunity to edit content of this Text field by clicking on it and typing data from the keyboard.

I use TwinCAT 3 in Visual Studio 2013 Shell. There appears to be no alternative to "Text field" - maybe I miss some libraries? How do I add them?

Please answer :)

Regards,
shrimper
 
You just have to set your input configuration. Just go to your element property and set your input configuration for example to "one mouse click", then choose "Write a variable" and so on...
 
Thank you, it worked like a charm. I thought "write variable" just saves some predefined value into a variable, and was so sure about it that I never checked it out :)

Another curious thing is that after I click any button, the text I wrote a moment ago just disappears, although nothing in my code is capable of reseting it...
 
assoon as you entered the text, you will need to save it, as the program will keep running, it will overwrite what you typed.
 

Similar Topics

Hi all, hope you are having a great day, I am in need of your help to create a AOI or program that does this kind of job: I have a IO Link...
Replies
0
Views
18
please help me . I have to make this ladder diagram and I can’t figure it out :(
Replies
12
Views
270
Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
11
Views
188
Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
13
Views
207
Back
Top Bottom