The window 'GRAFCET-Engine'

The GRAFCET-Engine window is the interface to the device or the simulator:

The following options are available in this section:

  • Make a selection from a list of devices that you want to use
  • Add new devices
  • Delete the device from the list
  • Establish the connection to the device
  • Drop the connection to the device

See previous section

This section contains the following information of the device when it's connected to GRAFCET Studio.

Element Description
GRAFCET Engine Does the GRAFCET Engine exist in the device?
Device Order number or device ID
Properties Properties of the GRAFCET Engine (limitations)
Version Version of the GRAFCET Engine
Errors If no errors are present, "0-0" is displayed. Left-hand digit: [Error detection] (../grafcet-engine-error-detection) right-hand digit: Additional Information
Active Counter If the GRAFCET Engine is enabled, this value is always incremented by 1.
Cycle Counter If the GRAFCET Engine is in RUN status, this value is always incremented by 1.
Monitoring Bytes How many bytes are processed in monitoring mode?
Cycle time Total cycle time
GRAFCET Which GRAFCET components are located in the device: Number of steps/Number of transitions/Number of actions/Number of words in the GRAFCET command stack
RUN PLC? Is the device (PLC) in RUN status and is the GRAFCET Engine called?

Init and Delete buttons:

Button Description
Init The GRAFCET is returned to the initial state. All steps are reset. Only the initial steps are set.
Delete The entire GRAFCET is deleted in the device. (The GRAFCET-Engine in the device will remain.)

The Write button writes all GRAFCET pages of the current project to the connected device.

The Read button loads the GRAFCET pages from the device and writes them to the current project. This function is only available if the device supports it.

Time-stamp information: The time stamp for the GRAFCET logic is displayed in the device here. If this time stamp corresponds to the offline time stamp, then the Online GRAFCET corresponds to the Offline Grafcet.

This feature is possible with Grafcet-Studio version 1.0.3.4 or higher.

In these options you can define which steps are active after writing the grafcet logic. Normally these are always the initial steps. If the machine/hardware has a specific position, it can make sense to set specific steps after downloading the grafcet chart. Exactly this can be configured here.

In the Grafcet standard, the state of the steps is also called situation. The situation determines which steps are active and which are not.

With a mouse click on Options the settings can be opened. See picture:

Then the following mask appears:

No Description
1 Selection of the situation to be set after writing. This selection is only displayed if situations have been defined. The situation {Init} is always present in this list. This situation activates all initial steps after writing the grafcet.
2 Select the situation you want to edit.
3 Delete selected situation.
4 Add situation.
5 Name of the situation.
6 Definition of the situation. Here you can define the steps that should be active after writing the grafcet.
7 Save current situation.
8 In watch mode, this icon can be used to insert the currently active steps into the input field. Only visible in watch mode.
9 Open this help page.

Procedure if a new situation is to be inserted:

  1. Press the Plus button (No. 4)
  2. Define the name of the situation (no. 5)
  3. In field no. 6, specify the steps that should be active in this situation after writing the grafcet. The steps must be separated by a comma.

Example: In the following grafcet, the initial steps 1 and 5 are normally activated after writing. However, if you want steps 3 and 7 to be active after writing, the situation can be set: 3,7. After writing, the grafcet logic will run from steps 3 and 7.

The setting of the situations is project-related and is saved in the project file.