Time Constraint MIN Expression, Time Constraint MAX Expression, Resource L time buffer expression, Resource R time buffer expression


Time Constraint MIN, Time Constraint MAX, and Resource L time buffer and Resource R time buffer can be registered as expressions. (Ver. 15 restricted feature)

These settings can also be made with a string.


Order of calculation of time constraints

When calculating the earliest start time from the assignment position of the previous process, do so in the following order.

Resource R time buffer
Resource R time buffer expression
Time Constraint MIN, Time Constraint MAX
Time constraint MIN expression, Time constraint MIN expression
Resource L time buffer
Resource L time buffer expression

When calculating the latest end time of the previous process operation from the assignment position of the next process operation, calculate in the reverse order.


Argument ME

The time constraint expression argument object assigned to argument ME of the expression is a virtual pegged object under assignment.
This object has the following properties.
For the following properties, the assigned values can be acquired when the pegged partner is also assigned together using Time Constraint MAX, Resource Lock, Group assign option.

Peg  Pegged object
PrevOp  Previous process operation
NextOp  Next process operation
PrevOrder  Next process operation order
NextOrder  Previous process operation order
Dir  Assignment Direction (Forward, Backward)
ET  Output instruction time
ST  Input instruction time
PrevMainR[n]  Main resource of previous process operation
NextMainR[n]  Main resource of next process operation
PrevTaskR[n]  Resource of previous process If there is a main resource, it can be acquired with 1. All other resources are sub resources.
NextTaskR[n]  Resource of following process task. If there is a main resource, it can be acquired with 1. All other resources are sub resources.

For details on time constraint expression class, please see this topic.

 

Below is a setting example of the Time Constraint MIN expression.

Time constraint MIN expression

30 30 minutes If you enter the value as an integer, the unit is assumed to be a minute.
30.5 30 minutes and 30 seconds If you enter the value as a real number, the unit is assumed to be a minute.
3600 3600 minute = 60 hours.
30m 30 minutes
3600m 3600 minute = 60 hours.
'H1D' The break-off time of the next day. If you enter the value as a character string, the type is considered to be Time constraint MIN.
'H1D';'3H’ or 'H1D;3D' Three hours after the break-off time of the next day. The same applies for H1D;3D'.
1m*ME.PrevOP.OperationOutMainItemQty 1 minute * Production quantity of the previous process. This is like 1mp.
1m*ME.NextOP.OperationOutMainItemQty 1 minute * Production quantity of the previous process. This is like 1mp.
TRUE or FALSE 0 seconds
IF(ME.NextR.Spec1=='A',3h,FALSE) If specification 1 of resource on next process side is A, 3 hours
IF(ME.Dir=='F',#2020/10/01 08:00:00#,0) You can specify an expression that returns the time, but it will be ignored if it is the time that is returned for the earliest start time or the latest end time at that time.
For example, in the example on the left, this expression is ignored if the earliest start time at that time is already more in the future than 2020/10/01 08:00:00.
Also, please be careful with the assignment direction. In the example on the left, the time for forward assignment is specified, and nothing for backward assignment is specified.

 

Time constraint MAX expression

If you specify both the time constraint MAX property and the time constraint MAX expression property for the same master input instruction or master use instruction , the time constraint MAX property is ignored. (The back color on the Integrated Master table turns yellow as a warning)

Basically, this is the same as the time constraint MIN expression, but it differs in the following points.

1. Bool

TRUE or FALSE No constraints are imposed.
IF(ME.NextR.Spec1=='A',3h,FALSE) If specification 1 of resource on next process side is A, 3 hours; Otherwise, no constraints are imposed.
1d;FALSE;2d If more than one expression is specified, the other expression will be ignored and no constraints will be imposed if at least one Boolean value is returned.

2. Time type

IF(ME.Dir=='F',#2020/10/01 08:00:00#,FALSE) Do not specify an expression that returns a time. If a time is returned, it is assumed to be 0 seconds.

 

Resource L time buffer expression, Resource R time buffer expression

Basically, this is the same as the time constraint MIN expression, but it differs in the following points.

1. String type

This is regarded as a resource buffer time type.

'150$R1' (Before ) If main resource of next process operation is R1, then 150 minutes
(After) If main resource of next process operation is R1, then 150 minutes
'#12.5' (Before) Time during which 12.5 quantity was produced using the main resource of the next process operation
(After) Time during which 12.5 quantity was produced using the main resource of the previous process operation


HelpNo.:754020
© Since 1994 Asprova Corporation, All rights reserved.