D-30
D.4.3 Value, Constant [K] / [H]
Constant
K
Decimal
K-32,768 ~ K32,767
H
Hexadecimal H0000 ~ HFFFF
There are five value types for DVP-PLC to use by the different control destination. The
following is the explanation of value types.
1.
Binary Number (BIN)
It uses binary system for the PLC internal operation or storage. The relative information of
binary system is in the following.
Bit
: Bit is the basic unit of binary system, the status are 1 or 0.
Nibble
: It is made up of continuous 4 bits, such as b3~b0. It can be used to represent
number 0~9 of decimal or 0~F of hexadecimal.
Byte
: It is made up of continuous 2 nibbles, i.e. 8 bits, b7~b0. It can used to represent
00~FF of hexadecimal system.
Word
: It is made up of continuous 2 bytes, i.e. 16 bits, b15~b0. It can used to represent
0000~FFFF of hexadecimal system.
Double
Word
: It is made up of continuous 2 words, i.e. 32 bits, b31~b0. It can used to
represent 00000000~FFFFFFFF of hexadecimal system.
The relations among bit, nibble, byte, word, and double word of binary number are shown as
follows.
NB0
NB1
NB2
NB3
NB4
NB5
NB6
NB7
BY3
BY2
BY1
BY0
W1
DW
W0
Double Word
Word
Byte
Nibble
Bit
2.
Octal Number (OCT)
The numbers of external input and output terminal of DVP-PLC use octal number.
Example:
External input: X0~X7, X10~X17
…
(device number)
External output: Y0~Y7, Y10~Y17
…
(device number)