Can a PLC detect user inactivity in mappView?

Hello,

I would like to ask if there is a way for the PLC to evaluate user activity in mappView, so that PLC can perform a certain operation after a specified period of inactivity?

Thank you,

Luboš

You could transfer the clientInfo.activityCount system variable of mappView to the PLC via OPC UA and react to that.

Automation Help: mapp View System variables

3 Likes

Hello Tommi,

That’s precisely it!

I did struggle a bit with the expression for EventBinding:

As the Event, I used SYSTEM:clientInfo.activityCount ValueChanged.

Initially, for the Action, I assigned an opcUA TAG with the method SetValueNumber and the expression: =newValue=clientInfo.activityCount.

This did not work, so I switched the method to AddValue with a static value of 1—and this suits my needs perfectly.

Thank you for the guidance. Sometimes, certain topics are difficult to locate in the Help documentation, and fortunately, this forum is here to assist.

Luboš

1 Like

I would add only that the points that you asked here will help others who will search for a similar issue :slight_smile: so thanks for asking and using the Community :slight_smile: