属性:displaymode
プラグマは、個々の変数の表示モードを定義します。この定義は、監視変数の表示に関するグローバル設定を上書きします。この設定は、 表現-2進数、10進数、16進数 メニュー
構文:
{attribute 'displaymode':= <display mode> }
以下の定義が可能です
バイナリ形式
{attribute 'displaymode':='bin'}
{attribute 'displaymode':='binary'}
10進形式
{attribute 'displaymode':='dec'}
{attribute 'displaymode':='decimal'}
16進形式
{attribute 'displaymode':='hex'}
{attribute 'displaymode':='hexadecimal'}
挿入場所:対応する変数が宣言されている行の上の行。
例 263. 例
VAR {attribute 'displaymode':='hex'} dwVar1: DWORD; END_VAR