I think that the number of Logic are limited by the two line space!

But you can do the and Logic with nested if/then like this:

If a>B then
If c>d then
If e>F then
.
.
If x>z then

Code for the Action necessary If all the ands are satisfied

ENDIF
.
.
ENDIF
ENDIF
ENDIF

This type of construct is shorter in terms of ram usage and is much faster than the corresponding "line construct"
With the same approch you can make the OR construct.

Naturaly here the limitation is the ram size of your mcu.

Cheers
Al.