Vai al contenuto

Inserting and Connecting Blocks

This paragraph shows you how to build a network.Add a block to the blank network, by applying one of the following options:
  • Click the Scheme>Object>New>Function Block, which causes a dialog box to appear listing all the objects of the project, then choose one item from the list. If the block is a constant, a return statement, or a jump statement, you can directly click the relevant buttons in the FBD toolbar.
  • Drag the selected object to the suitable location. For example, global variables can be taken from the Workspace window, whereas standard operators and embedded functions can be dragged from the Libraries window, whereas local variables can be selected from the local variables editor.
Repeat until you have added all the blocks that will make up the network.Then connect blocks:
  • Click Edit>Connection mode, or simply press the space bar of your keyboard. Click once the source pin, and then move the mouse pointer to the destination pin: the FBD editor draws a logical wire from the former to the latter.
  • If you want to connect two blocks having a one-to-one correspondence of pins, you can enable the auto connection mode by clicking Scheme>Autoconnect. Then take the two blocks, drag them close to each other so as to let the corresponding pins coincide. The FBD editor automatically draws the logical wires.
Inserting and Connecting Blocks-image_0 Inserting and Connecting Blocks-image_0 Inserting and Connecting Blocks-image_0If you delete a block, its connections are not removed automatically, but they become invalid and they are redrawn red. Click Scheme>Delete invalid connection.