Omron PLC data type
Address of a binary bit – a logical Boolean on or off state. This type is typically used for contacts or coils.
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).
Address of a signed, double binary word.
Address of a signed, single binary word.
Address of a signed, quad binary word.
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 operands.
Note: when used as BCD number operands, the value is treated as a hexadecimal value (e.g. using a NUMBER E234Eis equivalent to typing E1234Eas the operand, so that the decimal interpretation is made of the value). The value of a NUMBER data type is assumed to be decimal, unless it is prefixed with ‘#’ for a hexadecimal value.
Address of a double word floating point value (IEEE format – use the UDINT type for the BCD, FDIV format).
Address of a long word floating point value (IEEE format – use the ULINT type for the BCD format).
Address of an unsigned, double binary word.
Address of an unsigned, double BCD word.
Address of an unsigned, single binary word.
Address of an unsigned, single BCD word
Address of an unsigned, quad binary word.
Address of an unsigned, quad BCD word.
Address of a bit string of 16 bits.
Address of a bit string of 32 bits.
Address of a bit string of 64 bits.