![FATEK FBs Series Скачать руководство пользователя страница 270](http://html1.mh-extra.com/html/fatek/fbs-series/fbs-series_manual_3764826270.webp)
Advanced Function Instruction
7 -1 0 6
FUN123
P
MXNR
MATRIX EXCLUSIVE NOR
(
XNR
)
FUN123
P
MXNR
Ma :
EN
Operation control
Ladder symbol
123P.MXNR
Mb :
L :
Md :
Ma : Starting register of source matrix a
Mb : Starting register of source matrix b
Md : Starting register of destination matrix
L : Length of matrix (Ma, Mb and Md)
Ma, Mb, Md may combine with V, Z,P0~P9 to serve
indirect address application
WX
WY
WM
WS TMR CTR
HR
IR
OR
SR
ROR
DR
K
XR
Range
Ope-
rand
WX0
∣
WX240
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3840
∣
R3903
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
2
∣
256
V
、
Z
P0~P9
Ma
○
○
○
○
○
○
○
○
○
○
○
○
○
Mb
○
○
○
○
○
○
○
○
○
○
○
○
○
Md
○
○
○
○
○
○
○
○
*
○
*
○
○
L
○
○
*
○
○
z
When operation control "EN" = 1 or "EN
↑
" (
P
instruction) has a
transition from 0 to 1, will perform a logic XNR operation (if the 2
bits are the same, then the result will be 1, otherwise it will be
0)between 2 source matrixes with a length of L, Ma and Mb. The
results will then be stored into the destination matrix Md, which
also has the same length (the XNR operation is done by bits with
the same bit numbers). For example, if Ma
0
= 0, Mb
0
= 1, then Md
0
= 0; Ma
1
= 0, Mb
1
= 0, then Md
1
= 1; etc, right up until XNR
reaches Ma
16L-1
and Mb
16L-1
.
L
Ma
Mb
Md
XNR
X0
EN
Ma :
Mb :
R 10
L :
5
R 10
R 0
Md :
123P.MXNR
z
When operation control "EN" = 1 or "EN
↑
" (
P
instruction)
goes from 0 to 1, will perform a XNR operation between Ma
matrix comprised by R0~R9 and Mb matrix comprised by
R10~R19. The results will then be stored into the
destination matrix Md comprised by R10~R19. The results
are shown at right in the diagram below.
Ma
15
↓
Ma
Ma
0
↓
Mb
15
↓
Mb
Mb
0
↓
Md
15
↓
Md
Md
0
↓
R0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R10 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
R20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
R11 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
R21 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R2 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
R12 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
R22 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
R3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R13 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
R23 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
R4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
R14 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
R24 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
↑
Ma
79
↑
Ma
64
↑
Mb
79
↑
Mb
64
↑
Md
79
↑
Md
64
Before execution
After execution
Содержание FBs Series
Страница 78: ...MEMO ...
Страница 111: ...4 6 X0 X1 Node A Y0 Y1 Node B differential down Incerse differential up t Scan time Inverse t t ...
Страница 141: ...Basic Function Instruction 6 16 FUN 2 SKP SKIP START FUN 2 SKP Y2 Y1 Y0 T201 10S X0 X1 X2 0 10 0 ...
Страница 305: ...MEMO ...
Страница 348: ...MEMO ...