2 Functions of Devices in DVP-PLC
DVP-PLC Application Manual
2-7
External output: Y0 ~ Y7, Y10 ~ Y17…(device No.)
3. Decimal value (DEC)
Occassions of using decimal values in DVP-PLC:
Set value in timer T and counter C, e.g. TMR C0 K50 (constant K)
No. of device S, M, T, C, D, E, F, P, I, e.g. M10, T30. (device No.)
Operands in application instructions, e.g. MOV K123 D0 (constant K)
4. Binary code decimal (BCD)
A decimal datum is presented by a nibble or 4 bits. Therefore, a continuous 16 bits can be presented as a 4-digit
decimal value. BCD is mainly used on reading the input value from the DIP switch or the data output to a 7-section
display.
5. Hexadecimal value (HEX)
Occassion of using hexadecimal values:
Operands in application instructions, e.g. MOV H1A2B D0 (constant H)
Constant K:
“K” is normally placed before a decimal value in the PLC. For example, K100 refers to a decimal value, 100.
Exception:
K and bit devices X, Y, M and S can combine into data in bit, byte, word or double word, e.g. K2Y10, K4M100.
Here K1 refers to a 4-bit data and K2 ~ K4 refer to 8-bit, 12-bit and 16-bit data.
Constant H:
“H” is normally placed before a hexadecimal value in the PLC. For example, H100 refers to a hexadecimal value,
100.
Reference table:
Binary
(BIN)
Octal
(OCT)
Decimal
(DEC)
Binary Code Decimal
(BCD)
Hexadecimal
(HEX)
For PLC internal operation
No. of device
X, Y
Constant K,
No. of device M, S, T, C,
D, E, F, P, I
For DIP switch and 7-section
display
Constant H
0 0 0 0 0 0 0 0
0
0
0
0
0
0 0
0
0
0
0
0 0 0 0 0 0 0 1
1
1
0
0
0
0 0
0
0
1
1
0 0 0 0 0 0 1 0
2
2
0
0
0
0 0
0
1
0
2
0 0 0 0 0 0 1 1
3
3
0
0
0
0 0
0
1 1
3
0 0 0 0 0 1 0 0
4
4
0
0
0
0 0
1
0
0
4
0 0 0 0 0 1 0 1
5
5
0
0
0
0 0
1
0
1
5
0 0 0 0 0 1 1 0
6
6
0
0
0
0 0
1 1
0
6
0 0 0 0 0 1 1 1
7
7
0
0
0
0 0
1 1 1
7
0 0 0 0 1 0 0 0
10
8
0
0
0
0 1
0
0
0
8
0 0 0 0 1 0 0 1
11
9
0
0
0
0 1
0
0
1
9
0 0 0 0 1 0 1 0
12
10
0
0
0
1 0
0
0
0
A
0 0 0 0 1 0 1 1
13
11
0
0
0
1 0
0
0
1
B
0 0 0 0 1 1 0 0
14
12
0
0
0
1 0
0
1
0
C
0 0 0 0 1 1 0 1
15
13
0
0
0
1 0
0
1 1
D
0 0 0 0 1 1 1 0
16
14
0
0
0
1 0
1
0
0
E
0 0 0 0 1 1 1 1
17
15
0
0
0
1 0
1
0
1
F
0 0 0 1 0 0 0 0
20
16
0
0
0
1 0
1 1
0
10
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...