Momentary Push Button in WinCC

hagos

Member
Join Date
Oct 2004
Location
Africa
Posts
244
Dear sparkies,

I wounder if there is a way in WinCC to have a momentary P.B, I know that this is possible in WinCC Flex (SET BIT WHILE KEY IS PRESSED), but couldn't find the same function in WINCC.

Appreciate your help

Hagos
 
In the button properties, the fourth tab is "Events". Under "Events", the second option is "Press". That is where you assign a tag to (SetBitWhileKeyIsPressed).
 
Thanks kbpatton for the reply,

I know that is possible in WinCC Flex, but I'm looking for the similar function in WinCC.

Rgards
Hagos
 
You have:

Events > Button > Mouse > Press left/Release left/Press right/Release right

All you need to make it work.
Set bit on press, reset bit on release.
 
You have:

Events > Button > Mouse > Press left/Release left/Press right/Release right

All you need to make it work.
Set bit on press, reset bit on release.

One thing to watch out for using this method is that if you're using a touchscreen then some of them timeout after a few seconds. I've seen this happen where the press event is registered ok then the screen times out and you loose the release event so the bit is never reset. This can be a real problem if, for example, the button in question was a "Speed UP" function then the machine continues to speed up when you take your finger off the button.

If using a touch screen, check the driver settings and test thoroughly.

Nick
 
Then this leads me to the following options:

C-Action
VBS-Action
Direct Connection

What option should I go for?, I'm asking this because I tried Direct Connection , but it didn't work.

Regards
Hagos
 

Similar Topics

Hello everyone, Does anybody know if there is a way of simulating the behaviour of a FTV momentary push button on iFix? I am trying to create a...
Replies
5
Views
1,766
Hi All Could anyone advise me on how to protect the push button on the screen from occasional touch? I've faced up the problem that I can't...
Replies
22
Views
6,510
Do you need to use scripting to have a momentary push button in IFIX 5.8?
Replies
14
Views
6,589
Is there any way to have factorytalk automatically turn off multistate buttons when the screen is changed? In other words, I have a testing screen...
Replies
2
Views
1,617
Hi Everybody, is there anyway to use Goto Display button as a Momentary push button ? When Goto display button is pressed, i need to change the...
Replies
5
Views
5,035
Back
Top Bottom