欧姆龙PLC的数据类型

来源:百度知道 编辑:UC知道 时间:2024/05/15 00:45:26
欧姆龙PLC的数据类型都有那些?分别是什么?可以拿CJ1M或CP1H来举例,如INT和UINT有什么区别?
谢谢.
还有其他类型的呢?
能不能逐个讲下呢,谢谢

BOOL
Address of a binary bit - a logical Boolean on or off state. This type is typically used for contacts or coils.

CHANNEL
This is a special data type, for backward compatibility. It is an address (non-bit) to data of any type (unsigned or signed, one or more words), so can be used in place of any of the above data-types except NUMBER and BOOL. The data type is weak, and so checking is limited (e.g. CX-Programmer cannot check if the address is being used for BCD or binary values).

DINT
Address of a signed, double binary word.

INT
Address of a signed, single binary word.

LINT
Address of a signed, quad binary word.

NUMBER
A literal numeric value. Not an address. The value can be signed, or floating point. NUMBERs are used for any literal value or for timer/counter identifiers (in this case, only unsigned integer values are allowed). Floating point values are only suitable within IEEE REAL type