Macro
The data, of which a value is not determined at the job setting such as a date and time when the trigger condition is satisfied,
is set with a macro name and replaced to data in an MES interface module.
The following tables show the specifications for a macro according to the classification.
Macro list
Time at trigger monitoring
Data type
Date and time
Time at trigger ON
Data type
Date and time
Job execution start date and time
Data type
Date and time
Server date and time
Data type
Date and time
Failure Action No.
Data type
Word [unsigned]/Bit string [16-bit]
Date and time character string
Data type
Character string [Unicode]
Up to 64 characters
Description
A date and time when the monitoring of a trigger condition starts.
Description
A date and time when the trigger condition of a job is satisfied.
Description
A date and time when the first action of a job starts.
Description
A server date and time at DB field insertion/update.
• Outputs the value as an identifier of the macro to DB Connection Service.
• There is no data type, because values are not used in an MES interface module.
• It is treated as a date and time when checking the setting for the data assignment function in MES
Interface Function Configuration Tool.
• It can be used when selecting "Connection via Service" for "Access Type."
Description
An action number executed when a processing failed.
Upper 8 bits (processing type)
• 1: Pre-processing
• 2: Main processing
• 3: Post-processing
Lower 8 bits (action number)
• 1 to 20: Action number
Description
A character string converted the time, when the trigger condition is satisfied, based on the specified
format.
Specifies a format character string when using a macro.
The following characters in the format character strings are replaced with numerical values.
(Example) YYYY-MM-DD hh:mm:ss.fff OFFSET 2015-02-01 13:05:43.532 +09:00
Characters to
Values to be replaced (When a value has a small number of the digits, '0' is
be replaced
added to the head.)
• YYYY
• Year (4 digits)
• YY
• Year (last 2 digits)
• MM
• Month (01 to 12)
• DD
• Day (01 to 31)
• hh
• Hour (00 to 23)
• mm
• Minute (00 to 59)
• ss
• Second (00 to 59)
• fff
• Decimal part of second: Millisecond (000 to 999)
• OFFSET
• UTC offset [+|-]xx:xx
2 SPECIFICATIONS
51
2.4 Data Specifications
2