Delta Electronics VFD037CH23A-21 — основы числовых систем в PLC: октальная, десятичная и шестнадцатеричная [474/638]

Превью страниц Страница 474 / 638
Delta Electronics VFD037CH23A-21 Руководство по эксплуатации онлайн [474/638] 460294
Chapter 16 PLC Function CH2000 Series
16-21
NB0NB1NB2NB3NB4NB5NB6NB7
BY3 BY2 BY1 BY0
W1
DW
W0
Double Word
Word
Byte
Nibble
Bit
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)
Decimal Number, DEC
The suitable time for decimal number to be used in DVP-PLC system.
To be the setting value of timer T or counter C, such as TMR C0 K50. (K constant)
To be the device number of M, T, C and D. For example: M10, T30. (device number)
To be operand in application command, such as MOV K123 D0. (K constant)
Binary Code Decimal (BCD)
It shows a decimal number by a unit number or four bits so continuous 16-bit can use to represent the
four numbers of decimal numbers. BCD code is usually used to read the input value of DIP switch or
output value to 7-segment display to be display.
Hexadecimal Number (HEX)
The suitable time for hexadecimal number to be used in DVP-PLC system.
To be operand in application command. For example: MOV H1A2B D0. (constant H)
Constant K:
In PLC, it is usually have K before constant to mean decimal number. For example, K100 means 100
in decimal number.
Exception: The value that is made up of K and bit equipment X, Y, M, S will be bit, byte, word or
double word. For example, K2Y10, K4M100. K1 means a 4-bit data and K2~K4 can be 8, 12
and 16-bit data separately.
Constant H:
In PLC, it is usually have H before constant to mean hexadecimal number. For example, H100
means 100 in hexadecimal number.

Содержание

1610

Изучите различные числовые системы, используемые в PLC, включая октальную, десятичную, двоичную и шестнадцатеричную. Понимание этих систем поможет в программировании и настройке устройств.