Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Blok kódu
languageesl
{ SV.Channel[0]^Input\VLD } ?           ; if the value is valid
[
  {SV.Channel[0]^Input =-32768} ?       ; -32768 is defined as invalid
  [%SetInvalid(0)]                      ; invalid
  :
  [SV.Channel[0]^Input * %Power(10, SV.Channel[0]^Exponent)]  ; normal value
]
:
[%SetInvalid(0)]                        ; invalid value (communication is not ok)


Info
titleTip

Debugging the eval tags:

A listing of detailed tuning information for a specific eval tag(s) can be shown with the SHOW_DYN_INFO <mask> command.

For structured eval tags, it is possible to compare the values of destination columns (structured variables) configured in eval tags with calculated values using the CHECK_DESTID_VALUES tell command.

Pre štruktúrované počítané body je možné porovnanie hodnôt cieľových stĺpcov (štruktúrovaných premenných) nakonfigurovaných v počítaných bodoch s vypočítanými hodnotami pomocou tell príkazu CHECK_DESTID_VALUES.