3 Devices
The relation among bits, nibbles, bytes, words, and double words in the binary system is shown below.
b31b30b29b28b27b26b25b24b23b22 b21b20b19b18b17b16b15b14b13b12b11 b10
b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
NB0NB1NB2NB3NB4NB5NB6NB7
BY3 BY2 BY1 BY0
W1
DW
W0
Double word
Word
Byte
Nibble
Bit
2. Octal number (OCT)
The external input terminal numbers and the external output terminal numbers on a DVP-20PM series
motion controller are octal numbers.
External input terminals: X0~X7, X10~X17… (Device numbers)
External output terminals: Y0~Y7, Y10~Y17… (Device numbers)
3. Decimal number (DEC)
A decimal number can be used as the setting value of a timer, or the setting value of a counter, e.g.
TMR T0 K50 (K indicates that the value following it is a constant.).
A decimal number can be used as an S/M/T/C/D/V/Z/P device number, e.g. M10 and T30.
A decimal number can be used as an operand in an applied instruction, e.g. MOV K123 D0 (K
indicates that the value following it is a constant.).
4. Binary-coded decimal number (BCD)
A decimal value is represented by a nibble or four bits, and therefore sixteen consecutive bits can
represent a four-digit decimal value. A binary-coded decimal number is mainly used as the input value
of a DIP switch, or the value displayed on a seven-segment display.
5. Hexadecimal Number (HEX)
A hexadecimal number can be used as an operand in an applied instruction, e.g. MOV H1A2B D0
(H indicates that the value following it is a constant.).
Constant (K): A decimal number in a DVP-20PM series motion controller is generally preceded by K. For
example, K100 represents the decimal number 100.
Exception:
If K is used with an X/Y/M/S device, a nibble device, a byte device, a word device, or a
double word device will be formed.
Example:
K1Y10 represents a device composed of 4 bits, K2Y10 represents a device composed of
8 bits, K3Y10 represents a device composed of 12 bit, and K4Y10 represents a device
composed of 16 bits. K1M100 represents a device composed of 4 bits, K2M100
represents a device composed of 8 bits, K3M100 represents a device composed of 12
bit, and K4M100 represents a device composed of 16 bits.
Constant (H): A hexadecimal number in a DVP-20PM series motion controller is generally preceded by H.
For example, the hexadecimal number H100 represents the decimal number 256.
Floating-point number (F): A floating-point number in a DVP-20PM series motion controller is generally
preceded by F. For example, the floating-point number F3.123 represents
3.123.
DVP-20PM Application Manual
3-5