Creating own control program by using existing signals and control onboard I/O

In the Programming editor, you can create your own control program with the functionality you want. As a basis, you can use existing signals and control onboard I/Os.

Create an own control program

  1. In Project navigation view, click room segment folder %RSegm%.
  2. In Room segment editor, click Add control program.
  3. Type an Application name and Myname in the dialog and confirm with OK.
  4. The new chart is placed below the room segment folder %RSeg% and the Room programming editor is opened.

Create a chart interconnection

There are two ways to create a chart interconnection:

Via split window:

  1. Go to Library, select a function block and drag it onto the Room programming editor.
  2. In Project navigation view, go to the room folder Resources, right-click an existing signal and select Show in program from the context menu.
  3. Navigate to the toolbar on the top and select Split window.
  4. The Room programming editor view is split into two separate windows.
  5. Drag another chart onto the second window you want to interconnect the first one with.
  6. Select a pin on function block 1 and drag it onto function block 2.
  7. A chart interconnection is created.

Via context menu:

  1. Go to Library, select a function block and drag it onto the Room programming editor.
  2. In Project navigation view, go to room folder Resources, right-click an existing signal and select Show in program from the context menu.
  3. On the function block, right-click an output and select Interconnection to chart from the context menu.
  4. Open the drop-down menu next to the input.
  5. A new window opens showing all available charts.
  6. Select your control program on the left side and the Input signal on the right side.
  7. Confirm with .
  8. A chart interconnection is created.

Assign control onboard I/Os to signals

  1. A chart interconnection is created.