Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 - Definition Assistant Description, Operator's Guide and Reference


4.5.2 Method for defining the schedule rule

When you define a schedule rule in JP1/AJS3 - Definition Assistant, use the export function. For details about the export function, see 2.2 The export function.

This subsection describes how to define the schedule rule.

Organization of this subsection

(1) Defining the schedule rule

You can define schedule rules by using the batch definition function or individual definition function.

(a) Defining consecutive schedule rules

To define schedule rules in consecutive rule number order, enter the rules in the cells, without being separated by any blank line.

For example, to define schedule rules with rule number 1 through 3, enter values from the first line through the third line within the cells, as shown in the following figure.

Figure 4‒13: Defining consecutive schedule rules

[Figure]

(b) Defining non-consecutive schedule rules

To define schedule rules in non-consecutive rule number order, clear the lines within the cells, so that the lines for schedule rules with rule numbers that are not defined are left blank.

For example, to define schedule rules with rule number 1 and 4, enter the values in the first and fourth lines within the cells and leave the second and third lines blank, as shown in the following figure.

Figure 4‒14: Defining non-consecutive schedule rules

[Figure]

(c) Defining a schedule rule with default values

To define a schedule rule with default values, clear all the cells used for defining the schedule rule and leave them blank.

By doing so and then exporting the cells with the batch definition or individual definition function, the same definition as a new jobnet created by JP1/AJS3 - View can be created. In this case, a schedule rule with rule number 1 is defined.

Figure 4‒15: Schedule rule with default values

[Figure]

(d) Setting a schedule rule as undefined

To set a schedule rule as undefined, set Type under Start day in the Schedule definition information section to Unspecified, and leave the values in the cells for Year/Month and Day blank.

Figure 4‒16: Schedule rule set as undefined

[Figure]

(2) Modifying the schedule rule

This subsection describes how to modify the schedule rule by using Change export.

(a) When the export destination does not have a schedule rule

Using Change export to export a schedule rule into a jobnet with no schedule rule can add the schedule rule to the jobnet. To do this, mark Type, Year/Month, and Day under Start day in the Schedule definition information section for change and then perform Change export.

When the schedule rule is added:

Marking Type, Year/Month, and Day under Start day in the Schedule definition information section for change and performing Change export will add the schedule rule.

Figure 4‒17: Change export in which the schedule rule is added

[Figure]

When the schedule rule is not added:

Performing Change export without marking Type, Year/Month, and Day under Start day in the Schedule definition information section for change will not add the schedule rule.

The following figure shows an example of performing Change export with only Start time marked for change.

Figure 4‒18: Change export in which the schedule rule is not added (when Start time is marked for change)

[Figure]

(b) When the export destination has a schedule rule

If Change export is used to export the schedule rule into a jobnet with a schedule rule, it is performed as described in the subsequent paragraphs, depending on the number of rules in each schedule rule.

When both schedule rules have the same number of rules:

If the number of schedule rules in the export destination is equal to the number of rules (the number of lines in the cells) in JP1/AJS3 - Definition Assistant, performing Change export will result in the change in the schedule rules stored in the export destination, applying the values in the cells.

In the example shown in the following figure, the value of the first line in each cell is applied to rule number 1, and the value of the second line, rule number 2.

Figure 4‒19: Change export when the export destination has the same number of rules

[Figure]

When the export destination has more rules:

If the number of schedule rules in the export destination is more than that in JP1/AJS3 - Definition Assistant, performing Change export will result in a change in the schedule rules stored in the export destination (the application of the values in the cells), and the rest of the rules that are not in the cells will not be modified.

In the example shown in the following figure, the jobnet in the export destination has two schedule rules, and JP1/AJS3 - Definition Assistant has one schedule rule line. In this case, the values of the first line are applied to rule number 1.

The values in rule number 2 are not modified because there is no value in the second line of JP1/AJS3 - Definition Assistant.

Figure 4‒20: Change export when the export destination has more rules

[Figure]

When JP1/AJS3 - Definition Assistant has more rules:

If the number of schedule rules in the export destination is less than that in JP1/AJS3 - Definition Assistant, performing Change export will result in the addition of, and the change in the schedule rules in the export destination (the application of the values in the cells).

In the example shown in the following figure, the export destination has one schedule rule, and JP1/AJS3 - Definition Assistant has two schedule rule lines. In this case, the values of the first lines are applied to rule number 1, and those of the second lines are added as rule number 2.

The schedule rule is added only when Type, Year/Month, and Day under Start day in the Schedule definition information section are marked for change.

Figure 4‒21: Change export when JP1/AJS3 - Definition Assistant has more rules

[Figure]

(3) Removing the schedule rule

The following describes how to remove the schedule rule.

(a) Removing part of the schedule rules

To use Change export to remove part of the schedule rules, under Start day in the Schedule definition information section, delete the values in the cells of the line that corresponds to the rule number to be removed and leave the line blank.

Removing the schedule rule with the rule number in the middle of the list:

For example, as shown in the following figure, the jobnet in the export destination defines the schedule rules with rule number 1 through 3. In this case, to use Change export to remove the schedule rule with rule number 2, delete the values for Type, Year/Month, and Day in the second line and leave it blank, then perform Change export.

Figure 4‒22: Removing the schedule rule with the rule number in the middle of the list

[Figure]

Removing the schedule rule with the last rule number:

For example, as shown in the following figure, the jobnet in the export destination defines the schedule rules with rule number 1 through 3. In this case, to use Change export to remove the schedule rule with rule number 3, delete the values for Type, Year/Month, and Day in the third line and leave it blank, then perform Change export.

Figure 4‒23: Removing the schedule rule with the last rule number

[Figure]

(b) Removing all schedule rules

To remove all schedule rules, use either of the following ways:

  • In Type, Year/Month, and Day under Start day in the Schedule definition information section, create the same number of blank lines as the total number of rules in the export destination, and then perform Change export.

    For example, as shown in the following figure, the jobnet in the export destination defines the schedule rules with rule number 1 through 3. In the cells under the Type, Year/Month, and Day columns, deleting the values from the first through third lines, leaving them blank, and then performing Change export will remove all the schedule rules.

    Figure 4‒24: Removing all schedule rules (by leaving lines in the Start day cells blank)

    [Figure]

  • Set Type under Start day in the Schedule definition information section to Unspecified, delete the values in Year/Month and Day and leave the cells blank, and then perform Change export.

    For example, as shown in the following figure, the jobnet in the export destination defines the schedule rules with rule number 1 through 5. Setting Type to Unspecified, deleting the values in Year/Month and Day and leaving the cells blank, and then performing Change export will remove all the schedule rules.

    Figure 4‒25: Removing all schedule rules (by setting Type to Unspecified)

    [Figure]

(4) Schedule rule with Depends on upper-level jobnet enabled

For nested jobnets and nested remote jobnets, the Depends on upper-level jobnet option can be enabled. The following explains how to enable the Depends on upper-level jobnet option in JP1/AJS3 - Definition Assistant.

(a) Enabling the option with the batch or individual definition function

To enable the Depends on upper-level jobnet option by using the batch definition function or individual definition function, set Depends on upper-level jobnet in the Schedule definition information section to y, empty the cells from Rule number to link to Start condition: Period, and then perform the export.

If the cells from Rule number to link to Start condition: Period columns contain values, the Depends on upper-level jobnet option is enabled.

Figure 4‒26: Enabling Depends on upper-level jobnet (for export through the batch or individual definition function)

[Figure]

(b) Enabling the option with the modification function

To use the modification function to enable the Depends on upper-level jobnet option for the unit in the export destination, set Depends on upper-level jobnet in the Schedule definition information section to y, and then perform the export.

When the Depends on upper-level jobnet option is enabled with Change export, all the defined schedule rules are removed from the unit in the export destination.

Figure 4‒27: Enabling Depends on upper-level jobnet (by Change export)

[Figure]