Show TOC

 XStep: Functions that can be Executed Automatically Locate this document in the navigation structure

Use

You can use this function to define conditions that automatically trigger the execution of functions such as Deactivate process instruction or Lock process step in the context menu.

Example Example

You want to specify, for example, that the quantity recording for a certain material depends on the current pH value of the mixture in the vessel. This means that the material quantity may not be recorded until the process operator has measured a pH value of less than seven (< 7).

Using this function, you define this condition in the process order or master recipe. When the PI sheet is opened, the input field for material quantity recording would first be locked. The lock for the input field for material quantities would only be removed after a pH value of less than seven was entered in the preceding input field. The material quantity field would become ready for input.

End of the example.

Prerequisites

OPC Events

To use events of the service OAE (OPC Alarms/Events), you must first have created a subscription in Customizing.

To do so, go to Customizing for Process Management and choose SAP ODA (OPC Data Access).

For more information about SAP ODA, see SAP OPC Data Access .

Features

You can define conditions to automatically execute the following functions:

- Save document- Document report data

- Activate process step- Deactivate process step- Lock process step- Unlock process step- Complete process step

- Activate process instruction- Deactivate process instruction- Lock process instruction- Unlock process instruction- Complete process instruction

- Activate table- Deactivate table- Lock table- Unlock table- Complete table

- Add table line- Activate table line- Deactivate table line- Lock table line- Unlock table line- Complete table line

Conditions

You can define conditions for the automatic execution of functions as follows:

Activities

  1. You create an XStep process instruction of type Control Data -> Command.

  2. In the process instruction on the Command tab page, you specify the following:

    • The command that is automatically executed, displayed or hidden once the conditions have been met.

    • An action, which specifies whether the command should be executed, displayed or hidden once the conditions have been met.

  3. On the Trigger tab page, you specify a trigger type.

    • Enter a calculation formula for trigger type Formula

    • Specify a function module for trigger type Function

    • Specify a manufacturing event for trigger type Event

Example

The following example shows, how it is possible to define the example described above:

  1. You create a standard XStep in the SXS repository.

  2. You create an XStep for the XStep tree.

  3. You create the following XStep parameters for the XStep:

     ( )

  4. You assign values to the XStep in the following way:

     ( )

  5. Assign a Control Recipe Destination to the XStep .

  6. You create a process instruction.

  7. You create an XStep process instruction of type Input -> Parameter Value for parameter P1 for the XStep node  ( ) .

  8. You create additional process instructions.

  9. You create the following XStep process instructions for this XStep node  ( ) :

    • Enter parameter value for parameter P2

    • Control Command

      • Command: Process instruction locked

      • Action: Execute

      • Trigger: Formula

      • Formula: P2>7

    • Control Command

      • Command: Remove process instruction lock

      • Action: Execute

      • Trigger: Formula

      • Formula: P2<7

        Your standard XStep should now have the following structure:

         ( )

  10. You check and simulate the XSteps.

  11. You release the SXS version.