You can create a new system configuration in the FBEditor by:
FLASHER_TEST.sys, FLASHER_TESTL.sys, FLASHER_TESTD.sysor
You open the system diagram for editing by clicking on the corresponding element with the system name in the navigation tree. On this diagram you can add, edit and delete device instances as well as network segments and links.
The figure below shows the result of opening the system diagram for the TEST_NW example in the fbdk/src/testdirectory (the examples in this directory are used mostly for regression testing when changes are made to the FBDK).
You can add, edit and delete device instances in a system diagram in the same manner as for FB instances in a function block diagram.
You can open devices for editing by clicking on the corresponding device in the navigation tree.
When a device diagram is open for editing, you can add, edit and delete resources, FB instances and connections in the device in the same manner as for devices in a system diagram. However, you cannot edit or delete resources that are defined as part of the device type.
You can edit a resource's function block diagram in the normal way after opening the diagram for editing by clicking on the resource in the navigation tree. However, you cannot edit or delete FB instances that are defined as part of the resource type.
TEST_NWexample shown above, the segments are the horizontal arrows and the links are the vertical lines between Devices and Segments.
src/netfolder contains a few "starter" Segment types to use in creating Segments.
You can map a function block instance from an application to a device or resource with the New Mapping item of the popup menu for the function block instance in its application diagram. The destination of the mapping operation is chosen from the sub-menu of the Map item. All feasible event and data connections are also copied at the same time. Any errors detected during the mapping operation are displayed in the status line at the top of the editor pane.
Once a mapping has been established, you can navigate back and
forth between the function block's occurrence in its Application and its
containing Device or Resource by using the popup menu of the Mapping
label at the bottom of the FB. This is illustrated below for the
configuration in the FBDK's
|Mapping of a FB instance|
See the separate documentation on Testing System Configurations.
When your editing is complete, save your work with the Save As...
Of course, it is a good idea to save your work from time to time while editing, too!