The expression returns TRUE
when one of the two specified operators returns TRUE
. <operator>
can be one of the operators described here.
example
Requirement: The two applications App1
and App2
exist. The POU PLC_PRG1
exists in App1
and App2
, and the POU CheckBounds
exists only in App1
.
{IF defined (pou: PLC_PRG1) OR (defined (pou: CheckBounds))} (* the following code is only processed in App1 and in App2 *) bORTest := TRUE; {END_IF}