Nand, Examples – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual

Page 152

Advertising
background image

130

User Variables and Arithmetic • Boolean Operators

Publication 1398-PM601A-EN-P — October 2000

TUTORIAL

NAND

F3 = F1 NAND F2;F3 is OFF if F1 and F2 are ON; otherwise, F3 is ON

F1

F2

F1 NAND F2

OFF

OFF

ON

OFF

ON

ON

ON

OFF

ON

ON

ON

OFF

OR

F3 = F1 OR F2;F3 is ON if either F1 or F2 are ON; otherwise F3 is OFF

F1

F2

F1 OR F2

OFF

OFF

OFF

OFF

ON

ON

ON

OFF

ON

ON

ON

ON

NOR

F3 = F1 NOR F2;F3 is OFF if either F1 or F2 are ON; otherwise F3 is ON

F1

F2

F1 NOR F2

OFF

OFF

ON

OFF

ON

OFF

ON

OFF

OFF

ON

ON

OFF

XOR

F3 = F1 XOR F2;F3 is ON if F1 and F2 are different
;F3 is OFF if F1 and F2 are the same

F1

F2

F1 XOR F2

OFF

OFF

OFF

OFF

ON

ON

ON

OFF

ON

ON

ON

OFF

NOT

F3 = NOT F1;F3 is ON if F1 is OFF; F3 is OFF if F1 is ON

F1

F1 NOT F2

OFF

ON

ON

OFF

Examples

F2 = F4 AND I11

F2 = F4 OR I11

F10 = F1 XOR F12

F7 = ATHOME NAND F3

F7 = I9 NOR F11

O1 = I7 AND I8 AND NOT I9

O1 = NOT F3

Advertising