[?]: Function for IO-Field change (Newbie`s question)

ProTool, WinCC flexible, WinCC, PP/OP/TP/TD/MP
BoozZzilla
Posts: 8
Joined: Fri Dec 02, 2011 12:13 pm

[?]: Function for IO-Field change (Newbie`s question)

Post by BoozZzilla »

Task is to create a counter for passed parts, and i have no problem with realising it at PLC.
But there is an OP270, and i made a new screen for existing project at this panel.
When i tried to use Input/Output IO-Field at touch screen there was no problem - changing of this field starts when you touch it.
And which function can i use to change Input/Output IO-Field at this key panel?
Set_Value is setting preselected value, but i need a direct input.
Sorry for my crappy english and for so silly question, but i don`t know when i can ask it.
Homeroid_BL
Posts: 258
Joined: Fri Apr 03, 2009 3:24 pm
Location: Bosnia and Herzegovina

Re: [?]: Function for IO-Field change (Newbie`s question)

Post by Homeroid_BL »

Sorry, it is hard to understand what you realy needed.
Try to be more specific.
BoozZzilla
Posts: 8
Joined: Fri Dec 02, 2011 12:13 pm

Re: [?]: Function for IO-Field change (Newbie`s question)

Post by BoozZzilla »

i need a function to activate IO-Field(set focus on it), so i can input value with the keyboard in needed Field
i press first button - first field is focused
second - second field
Homeroid_BL
Posts: 258
Joined: Fri Apr 03, 2009 3:24 pm
Location: Bosnia and Herzegovina

Re: [?]: Function for IO-Field change (Newbie`s question)

Post by Homeroid_BL »

Use TAB on keyboard :)
Previously TAB sequence has to be created as you needed.
BoozZzilla
Posts: 8
Joined: Fri Dec 02, 2011 12:13 pm

Re: [?]: Function for IO-Field change (Newbie`s question)

Post by BoozZzilla »

This is my current solution, i`ve already did so (navigation with TAB, CursorUp/Down works too).
But you want to say that there is no such function to activate object that i need?
Lepes9
Posts: 17
Joined: Fri Sep 24, 2010 10:03 pm

Re: [?]: Function for IO-Field change (Newbie`s question)

Post by Lepes9 »

Hi BoozZzilla,

Maybe you can try this:
The function "ActivateScreen" has two parameters: Screen name and object number. Use the same screen with your io-field for the screen name and the number of your io-field which you want to have the focus on it for the object number.
You can get the number of your objects on a screen by activating tab sequence in "View".


Regards
Lepes9
BoozZzilla
Posts: 8
Joined: Fri Dec 02, 2011 12:13 pm

Re: [?]: Function for IO-Field change (Newbie`s question)

Post by BoozZzilla »

Thanks a lot
Activate screen it`s exactly what i`ve been looking for.