Example 3.2. Machine Edition Variables in CimEdit/CimView

Note: Machine Edition variables can be selected in CimEdit directly or through CIMPLICITY device points to be viewed and set in CimView.

A CIMPLICITY CimView screen is required for users to view and set the car wash Code and stages of the wash, e.g. Rinse, Wash, Dry and Wax.

An authorized screen designer creates a CimEdit screen to include Machine Edition data.

The screen designer configures and tests objects on the screen as follows.

Text object to display the CIMPLICITY MCode device point data.

Text objects to display Machine Edition variable data.

Other objects to complete the screen.

CimView/View  runtime test.

  1. Text object to display the CIMPLICITY MCode device point data.

The screen designer:

  1. Places a text object on the screen.

  2. Opens the text object's Properties dialog box.

  3. Configures the Text tab as follows.

1

Enters MCODE as the default string.

2

Selects the point MCODE as the expression.

3

Enables Setpoint action.

  1. Text objects to display Machine Edition variable data.

The screen designer:

  1. Places several text objects on the screen that will display Machine Edition variable values.

  2. Opens the Properties dialog box for one text object.

  3. Configures the Text tab as follows.

1

Enters R7 as the default string.

2

Selects the fully qualified Machine Edition variable \\MECAR\Rinse_7X as the expression.

Note: The designer selects the variable as follows.

  1. Selects Browse Point ID on the Expression field's Popup menu

  2. Uses the Select a Point browser to select the variable.

3

Enables Setpoint action.

  1. Other objects that complete the screen.

The screen designer adds graphics and text to enhance the screen.

Note: The designer could use the Machine Edition variables:

In Basic scripts.

CimEdit actions, e.g. Toggle Setpoint

Other CIMPLICITY features in which a CIMPLICITY point can be used.

Result: The CimEdit screen is now ready use the CIMPLICITY points and Machine Edition variables during runtime.

  1. CimView/View Runtime test

During runtime an authorized operator can:

Set the wash code or any of the car wash phases.

The value is changed in the Machine Edition project.

Note: Consult Machine Edition documentation to review details about viewing variable values in Machine Edition.

Monitor a car's progress through the car wash based on values that were generated in the Machine Edition project.

More information

Step 3. View/set/log Machine Edition variable data through CIMPLICITY.