There is a lot of data used in PLC internal structures and user applications. The data from the structure or number system has the following forms.
(1) decimal number
Decimal number in the PLC also known as word data. It mainly exists in the timer and counter set value K; auxiliary relay, timer, counter, status relay, etc. the number; timer and counter current value and so on.
(2) binary number
Decimal number, octal number, hexadecimal number, BCD code in the PLC are within the binary number of the existence of the form. But the use of peripheral equipment for monitoring the system running, will be restored to the original number system. A binary number is called bit data in the PLC. It mainly exists in all kinds of relays, timers, counter contacts and coils.
(3) octal number
FX series PLC input relay, the output relay address number using octal.
(4) Hexadecimal number
The hexadecimal number is used to specify the operand or the specified action in the application instruction.
(5) BCD code
BCD code is a 4-bit binary number that corresponds to a decimal number of the method. PLC in the decimal number often BCD code form, it is also commonly used in the form of BCD digital switch or seven-segment code display control and so on.
(6) Constant K, H
Constant is part of PLC internal timer, counter, application instruction is an integral part. The constant K is used to represent the decimal number, the range of 16-bit constants is -32768 to 32767, and the range of 32-bit constants is -2147483648 to 2147483647.
The constant H is used to represent the hexadecimal number, hexadecimal includes 16 digits from 0 to 9 and A to F, the range of 16-bit constants is 0 to FFFF, and the range of 32-bit constants is 0 to FFFFFFFF.

Leave a Reply