Siemens Simatic S7-200 System Manual page 293

Programmable controller
Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

And, Or, and Exclusive Or Instructions Example
I4.0
VW100
And Word
AC1
0001 1111 0110 1101
AC0
1101 0011 1110 0110
AC0
0001 0011 0110 0100
Figure 10-49
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02
LAD
WAND_W
EN
AC1
IN1
OUT
AC0
AC0
IN2
WOR_W
EN
AC1
IN1
OUT
VW100
IN2
WXOR_W
EN
AC1
IN1
OUT
AC0
AC0
IN2
Application
Or Word
AC1
0001 1111 0110 1101
AND
VW100
1101 0011 1010 0000
equals
VW100
1101 1111 1110 1101
Example of the Logic Operation Instructions
STL
LD
I4.0
ANDW
AC1, AC0
ORW
AC1, VW100
XORW
AC1, AC0
Exclusive Or Word
AC1
0001 1111 0110 1101
OR
AC0
0001 0011 0110 0100
equals
AC0
0000 1100 0000 1001
Instruction Set
XOR
equals
10-105

Advertisement

Table of Contents
loading

Table of Contents