xLadder user manual-V2.0.0.6

6.10.5 WAND - W 、 WOR - W 、 WXOR - W

Input/output Operand

Data type

IN1, IN2

VW, IW, QW, MW, SW, SMW, T, C, AC, LW, AIW,constant, *VD, *AC, *LD word

OUT

VW, IW, QW, MW, SW, SMW, T, C, LW, AC, *VD, *AC, *LD

word

WAND - W: The instruction performs “And calculation”

on IN1 and IN2.Then puts the result in out.

WOR - W: The instruction performs “OR calculation” on

IN1 and IN2.Then puts the result in out.

WXOR - W: The instruction performs “XOR calculation”

on IN1 and IN2.Then puts the result in out.

error condition:

0006

Indirect address

Special memory bit:

SM1.0

Zero result

Example:

154

Made with FlippingBook - Online magazine maker