Chapter 8 Logic Instructions
8-295
Precautions for Correct Use
The input variables are not allowed to omit. An error will occur during the compiling of the software if
the input variables are omitted. But the output variable is allowed to omit.
Programming Example
The FIND_In1 string is ’AaBbCcDd’ and the FIND_In2 string is ’Cc’. As FIND_EN is TRUE, the
value of Out1 is 5.
The variable table and program
Out1
UINT
1
FIND
EN ENO
In1 Out
FIND_EN
FIND_In1 Out1
In2
FIND_In2