Attribute monitoring, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual
Page 1002

L-force | PLC Designer
Programming Reference
1000
DMS 4.1 EN 03/2011 TD29
Attribute Monitoring
A property may be monitored in online mode either with help of Inline Monitoring (not
yet implemented) or with help of a Watch List.
The monitoring can be activated by adding the "monitoring" attribute pragma in the
line above the property definition. Then in online view of the POU using the property
resp. in a watch list the name, type and value of the variables of the property will be
displayed. Therein you may also enter prepared values to force variables belonging to
the property.
Abb. 539 Example of property prepared for variable monitoring
Abb. 540 Example of monitoring view
There are two different ways to get monitored the current value of the property
variables. For the particular use case consider carefully which attribute is suitable to
actually get the desired value. This will depend on whether operations on the variables
are implemented within the property:
1. Pragma '{attribute 'monitoring':='variable'}'
An implicit variable is created for the property, which will get the current property
value always when the application calls the Set or Get method. The value of this
implicit variable will be monitored.
Syntax:
{attribute 'monitoring':='variable'}