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

I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
97
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
22
Views
461
this a program to send data to barcode printer I want to integrate a new printer in a new machine and i wanted to adapt the old prgram on it but I...
Replies
4
Views
173
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
67
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
26
Views
559
Back
Top Bottom