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

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

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

Post by BoozZzilla » Fri Dec 02, 2011 12:33 pm

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: 259
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 » Wed Dec 07, 2011 9:04 am

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 » Wed Dec 07, 2011 12:05 pm

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: 259
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 » Wed Dec 07, 2011 1:20 pm

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 » Wed Dec 07, 2011 1:40 pm

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 » Thu Dec 08, 2011 6:30 pm

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 » Tue Dec 13, 2011 8:47 am

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

Post Reply