Fnc 26 - Wand / Logical Word And - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
10.7
FNC 26 – WAND / Logical Word AND
Outline
This instruction executes the logical product (AND) operation of two numeric values.
1. Instruction format
W
FNC 26
D
P
AND
2. Set data
Operand type
S
1
S
2
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
1
S
2
D
: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (WAND and WANDP)
The logical product (AND) operation is executed to the contents of
transferred to
D
Command
input
FNC 26
WAND
• While the command input is OFF, the data of the transfer destination
• While the command input is ON, the data of the transfer sources
• When a constant (K) is specified in the transfer sources
format.
• The logical product operation is executed in units of bit as shown in the table below (1 ∧ 1 = 1, 0 ∧ 1 = 0, 1 ∧ 0 = 0,
0 ∧ 0 = 0).
Logical operation
(unit: bit)
Mnemonic
16-bit Instruction
7 steps WAND
WANDP
Data used for logical product or word device number storing data
Data used for logical product or word device number storing data
Word device number storing the logical product result
Digit Specification
/FX
3U
3UC
.
S
S
D
1
2
S
1
0
1
0
1
10 Arithmetic and Logical Operation (+, −, ×, ÷) – FNC 20 to FNC 29
10.7 FNC 26 – WAND / Logical Word AND
Operation Condition
32-bit Instruction
Continuous
13 steps
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Index
Unit
V
Z Modify K H
PLCs.
S
and
1
S
S
D
1
2
D
S
and
1
S
and
S
, it is automatically converted into binary
1
2
S
2
0
0
1
1
Mnemonic
Operation Condition
Continuous
DAND
Operation
Pulse (Single)
DANDP
Operation
Data type
16- or 32-bit binary
16- or 32-bit binary
16- or 32-bit binary
Others
Con-
Real
Charac-
stant
Number
ter String
E
" "
S
in units of bit, and the result is
2
does not change.
S
do not change.
2
1: ON, 0: OFF
D
WAND (FNC 26) instruction
0
0
0
1
1
2
3
4
Pointer
5
P
6
7
8
9
10
285

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents