General

In order for GRAFCET Studio to be able to transfer the GRAFCET logic to the device, the GRAFCET Engine must be installed in the device. The GRAFCET-Engine is included in the scope of delivery of GRAFCET-Studio. How to install the GRAFCET-Engine on the device is explained for each device in a separate section (see menu on the left).

The following steps are necessary to load the GRAFCET into a device:

  1. Install the GRAFCET Engine in the device (one-time operation)
  2. Expand the GRAFCET-Engine window within GRAFCET-Studio
  3. Add and configure the device. The device is selected here and the connection parameters (e. g. IP address) are set.
  4. Connect to the device (Connect button)
  5. Transfer the GRAFCET logic (Write button)
  6. Press the Watch button to display the current state of the GRAFCET (Debugging)

In the GRAFCET Engine window, press the Add button (see picture). In the Add Device dialog select the device and define the name as you like. Press the OK button. In the following settings dialog you can set the connection parameters (here IP address and network adapter).

If the digital inputs and outputs in the device do not start at 0, you can change the default value accordingly in the PLC address column. If you have analog signals, then also set the start addresses of the analog values correctly.

If your device has several modules for inputs/outputs, one type of modules (e.g. digital inputs) should be addressed in one range without gaps. Otherwise you can't access all signals with the Grafcet Engine.

You can change the address settings at any time via the Device Settings button. In the symbol table, the absolute address in the device (PLC) is displayed in the Address column. Check whether the displayed absolute address is correct. You can adjust the start address in the device settings (top, middle picture).

The addresses of the symbols are calculated from top to bottom. You can't edit the addresses directly.

Via Drag and drop you can move rows and adjust the addresses

Make sure that the displayed addresses match the absolute addresses of the device (PLC). Otherwise, there is a risk that the outputs will be set incorrectly and your peripherals will be damaged.

Press the Connect button to establish a connection to the device. If no connection can be established, a corresponding error message follows. Then check the connection settings again (e. g. IP address and network card) You can only connect to the device, if the Grafcet-Engine is installed on the device.

Press the Write button in the GRAFCET Engine window. The button can only be pressed if the connection to the device is established.

Press the 'Watch' button in the toolbar of GRAFCET-Studio. If the GRAFCET logic in the project (Offline) is identical with the GRAFCET logic in the device (Online) then the GRAFCET is displayed in watch mode. If there are differences, the current GRAFCET logic must be transferred to the device.