EasyManua.ls Logo

Xinje XD5 - Page 149

Xinje XD5
389 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
148
2. Operands
Operands
Function
Data Type
S
The source data address
16 bits, BIN
D
The decode result head address
16 bits, BIN
n
The decoding soft element bit quantity
16 bits, BIN
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
M includes M, HM, SM; S includes S, HS; T includes T and HT; C includes C and HC.
< When is bit unit > n≤16
DX0DECO M10 K3
X10
n
S· D·
1 0 1
0 1 0 0 0 0 0
X2 X1 X0
M17 M16 M15 M14 M13
M12
M11 M10
7 6 5 4
2
1 0
4
0
2
1
3
N = 3, so the decoding object is the lower three bits in DX0, which are X2 ~ X0.
N = 3, so the decoding results need to be expressed by 2
3
= 8 bits, which are M17 ~ M10.
When X2 = 1, X1 = 0, X0 = 1, the value it represents is 4 + 1 = 5, so M15 in the fifth place
from M10 changes to 1; when X2 ~ X0 is all zero, the value is 0, so M10 is 1 (M10 is the 0th
place).
If n = 0, the instruction will not be executed. If n is the value out of 0 ~ 16, the instruction
will not be executed.
When n = 16, if the decoding command is a bit soft component, the number of points is
2 ^ 16 = 65536.
When the driver input is OFF, the instruction is not executed, and the decoding output of the
action is maintained.
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S
n
Word
Operand
System
X
Y
M
*
S
*
T
*
C
*
Dn.m
D
Bit
Description
D·
D·

Table of Contents

Related product manuals