属性:monitoring_display
宣言におけるこのプラグマ ファンクションブロック または 構造 指定されたメンバーの現在の値(財産 oder Variable)もモニタリングに表示されます。
次に、機能ブロックまたは構造体メンバーの値が、機能ブロックまたは構造体のタイプの変数の監視の最上行に表示されます。
構文:
{attribute 'monitoring_display' := '<component name>'}
挿入場所:宣言の最初の行の上
例 279. 例

{attribute 'monitoring_display' := 'stMonitoring'}
TYPE ADUT :
STRUCT
val1: INT;
val2: INT;
stMonitoring: STRING := 'to be monitored';
END_STRUCT
END_TYPE
PROGRAM PLC_PRG
VAR
mydut: ADUT;
nTest: INT;
END_VAR
nTest:= iCounter + 1;
mydut.stMonitoring := INT_TO_STRING(nTest);
