omron — 2. Data Type Table

2. Data Type Table Both Global variables (NA) and Local variables (declared in a subroutine) are referenced. The local variables declared in a subroutine cannot be assigned to onscreen components or conditional expressions.

31 Type Description/Value range Boolean True(other than 0) or False(0) Short 16-bit signed integer -32,768 to 32,767 (signed) Integer 32-bit signed integer -2,147,483,648 to 2,147,483,647 (signed) Long 64-bit signed integer -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807(9.2...E+18) (signed) UShort 16-bit unsigned integer 0 to 65,535 (unsigned) Char UInteger 32-bit unsigned integer 0 to 4,294,967,295 (unsigned) Ulong 64-bit unsigned integer 0 to 18,446,744,073,709,551,615(1.8...E+19) (unsigned) Single Single-precision (32-bit) floating point number -3.4028235E+38 to -1.401298E-45 (negative values) 1.401298E-45 to 3.4028235E+38 (positive values) Double Double-precision (64-bit) floating point number -1.79769313486231570E+308 to -4.94065645841246544E-324 (negative values) 4.94065645841246544E-324 to 1.79769313486231570E+308 (positive values) String 0 to approx.

billion Unicode characters SByte 8-bit signed integer -128 to 127 (signed) Byte 8-bit unsigned integer 0 to 255 (unsigned) TimeSpan A structure that expresses time interval。 Date 0:00:00 on January 1, 0001 through 23:59:59 on December 31, 9999 Decimal 16-byte 0 to +/-79,228,162,514,264,337,593,543,950,335 (+/-7.9...E+28) (without a decimal point) 0 to +/-7.9228162514264337593543950335 (down to 28 decimal places) Min. number other than 0: +/-0.0000000000000000000000000001(+/-1E-28)