Logical AND - OR combination equivalent in ladder language