Infosys在阅读器中打开 / AI 翻译

PLC Control · 0 次阅读

NE

Not equal to

A Boolean operator that returns that value TRUE when the operands are not equal. The operands can be BOOL, BYTE, WORD, DWORD, SINT, USINT, INT, UINT, DINT, UDINT, REAL, LREAL, TIME, DATE, TI-ME_OF_DAY, DATE_AND_TIME and STRING.

Example in IL:

LD 40

NE 40

ST Var1 (* Result is FALSE *)

Example in ST:

VAR1 := 40 <> 40;

Example in FBD:

NE 1: