Show TOC

 Type 0: Definition of Automatic Value Assignment Locate this document in the navigation structure

Use

You can use this function to determine the point of time (date and time) at which a process instruction was processed in the browser-based PI sheet or in the process manufacturing cockpit . In a process instruction, you can automatically assign a value to the date and time once for each message category block.

Features

You can automatically assign the date or time as values to the following standard characteristics:

  • PPPI_EVENT_DATE: date of the event

  • PPPI_EVENT_TIME: time of the event

The system determines the date and time when you maintain the process instruction in the PI sheet.

Activities

When defining automatic value assignment, you specify the following information in the process instruction:

  • A variable that refers to the characteristic whose value is to be assigned automatically if you want to use the date and time in another process instruction of the same process order

Caution Caution

  Note that you may use global variables in PI sheets only.

End of the caution.
  • The message characteristic whose value is to be assigned automatically

  • The characteristic PPPI_OUTPUT_CHARACTERISTIC that you can use to display the date and time in the PI sheet

Note Note

You can also mark the date and time as input values. The system then proposes the current date and time in the possible entries. Unlike automatic value assignment, however, you can still change the value.

End of the note.

To enter this information, you assign the following characteristics to the process instruction in the order specified below:

Characteristic

Meaning

Value

Variable definition for the characteristic whose value is to be assigned automatically

< PPPI_VARIABLE

In PI sheets only:

< PPPI_GLOBAL_VARIABLE

Variable

Global variable

New variable name

New variable name

PPPI_AUTOMATIC_VALUE

Message characteristic whose value is to be assigned automatically

PPPI_EVENT_DATE

PPPI_EVENT_TIME

PPPI_OUTPUT_CHARACTERISTIC

Characteristic to be output

PPPI_EVENT_DATE

PPPI_EVENT_TIME