Data type
The following table lists the data type that can be specified in an MES interface module according to the data category and the
data type classification.
Numerical value
■RD81MES96N
Data category
Device tag component
Variable
Constant
Macro
Access field
Access procedure argument
DB field
Oracle
DB procedure
argument
Microsoft SQL
Server
Microsoft
Access
MySQL
PostgreSQL
■RD81MES96
Data category
Device tag component
2 SPECIFICATIONS
44
2.4 Data Specifications
Numerical value
Integer
• Bit
• Word [unsigned]/Bit string [16-bit]
• Double word [unsigned]/Bit string [32-bit]
• Word [signed]
• Double word [signed]
• 16bit BCD
• 32bit BCD
• Bit
• Word [unsigned]/Bit string [16-bit]
• Double word [unsigned]/Bit string [32-bit]
• Word [signed]
• Double word [signed]
Integer
Any of the data types of the device tag component or variable is determined for each macro.
Integer
Integer
*1
• bit
• tinyint
• smallint
• int
• bigint
• Yes/No type
• Number: Byte
• Number: Integer
• Number: Long
Integer
• TINYINT
[UNSIGNED]
• SMALLINT
[UNSIGNED]
• MEDIUMINT
[UNSIGNED]
• INT [UNSIGNED]
• BIGINT
[UNSIGNED]
• smallint
• integer
• bigint
Numerical value
Integer
• Bit
• Word [unsigned]/Bit string [16-bit]
• Double word [unsigned]/Bit string [32-bit]
• Word [signed]
• Double word [signed]
• 16bit BCD
• 32bit BCD
Real number
• Single-precision real number
• Double-precision real number
• Single-precision real number
• Double-precision real number
Real number
Real number [floating point]
Real number
• NUMBER(p)
• NUMBER
• NUMBER(p, 0)
• BINARY_FLOAT
• BINARY_DOUBLE
• decimal
• real
• numeric
• float
• decimal(p)
• numeric(p)
• decimal(p, 0)
• numeric(p, 0)
• Number: Decimal
• Number: Single
• Number: Double
• DECIMAL[(M[,0])]
• FLOAT [UNSIGNED]
[UNSIGNED]
• DOUBLE [UNSIGNED]
• numeric(p[,0])
• numeric[(p,s)]
• real
• double precision
Real number [fixed point]
*2
• NUMBER(p, s)
• decimal(p, s)
• numeric(p, s)
*2
• Number: Decimal
• DECIMAL(M,D)
*2
[UNSIGNED]
*2
• numeric(p, s)
Real number
• Single-precision real number
• Double-precision real number