5 Categories & Use of Application Instructions
DVP-PLC Application Manual
5-12
M0
BIN K2X4
D0
The BCD value composed of X4 ~ X13 will be converted to BIN
value and sent to D0.
You can choose any No. for bit devices, but please make the 1s digit of X and Y “0”, e.g. X0, X10, X20, …Y0, Y10…,
and the 1s digit of M and S “8’s multiple” (“0” is still the best choice), e.g. M0, M10, M20….
Designating continuous device No.
Take data register D for example, continuous D refers to D0, D1, D2, D3, D4….
For bit devices with specifically designated digit, continuous No. refers to:
K1X0 K1X4 K1X10 K1X14…
K2Y0 K2Y10 K2Y20
Y2X30…
K3M0 K3M12 K3M24
K3M36…
K4S0 K4S16 K4S32
K4S48…
Please follow the No. in the table and do not skip No. in case confusion may occur. In addition, if you use K4Y0 in
the 32-bit operation, the higher 16 bits will be regarded as “0”. For 32-bit data, please use K8Y0.
The operations in DVP-PLC are conducted in BIN integers. When the integer performs division, e.g. 40 ÷ 3 = 13
and the remainder is 1. When the integer performs square root operations, the decimal point will be left out. Use
decimal point operation instructions to obtain the decimal point.
Application instructions revelant to decimal point:
API 49 (FLT)
API 110 (D ECMP)
API 111 (D EZCP)
API 112 (D MOVR)
API 116 (D RAD)
API 117 (D DEG)
API 118 (D EBCD)
API 119 (D EBIN)
API 120 (D EADD)
API 121 (D ESUB)
API 122 (D EMUL)
API 123 (D EDIV)
API 124 (D EXP)
API 125 (D LN)
API 126 (D LOG)
API 127 (D ESQR)
API 128 (D POW)
API 129 (INT)
API 130 (D SIN)
API 131 (D COS)
API 132 (D TAN)
API 133 (D ASIN)
API 134 (D ACOS)
API 135 (D ATAN)
API 136 (D SINH)
API 137 (D COSH)
API 138 (D TANH)
API 172 (D ADDR)
API 173 (D SUBR)
API 174 (D MULR)
API 175 (D DIVR)
Binary Floating Point
DVP-PLC represents floating points in 32 bits, following the IEEE754 standard:
S
exponent
mantissa
8 bits
23 bits
b
31
b
0
Sign bit
0: positive
1: negative
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...