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
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
• Character string, date and time
Data category
Device tag component
Variable
Constant
Macro
Access field
Access procedure argument
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 type of the device tag component/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
Character string
• Character string [Unicode]
• Character string [ASCII/SJIS]
• Character string [Unicode]
• Character string [Unicode]
Any of the data type of the device tag component/variable is determined for each macro.
• Character string
[Unicode(NCHAR)]
• Character string [Unicode]
• NUMBER(p)
• NUMBER(p, 0)
• decimal
• numeric
• decimal(p)
• numeric(p)
• decimal(p, 0)
• numeric(p, 0)
• Number: Decimal
• DECIMAL[(M[,0])]
[UNSIGNED]
• numeric(p[,0])
Date and time
• Character string
Date and time [without
[Unicode(CHAR)]
time zone]
Date and time [without
time zone]
2.4 Usable Data for MES Interface Module
Real number
• FLOAT[Single Precision]
• FLOAT[Double Precision]
• FLOAT[Single Precision]
• FLOAT[Double Precision]
Real number
Real number
Real number
• NUMBER(p, s)
• NUMBER
• BINARY_FLOAT
• BINARY_DOUBLE
• real
• float
• Number: Decimal
• Number: Single
• Number: Double
• DECIMAL(M,D) [UNSIGNED]
• FLOAT [UNSIGNED]
• DOUBLE [UNSIGNED]
• numeric[(p,s)]
• real
• double precision
Date and time [with time
zone]
2 SPECIFICATIONS
35
2