Connect function blocks
If you need do several things in a program, you need several function blocks (FBs) to work and these FBs need to be connected. To connect FBs, you need to switch to the Connection mode.
- Add another FB and right-click an empty area in the source editor. In the context menu, click Connection mode.
- The mouse pointer attaches a connection symbol. Move the pointer to the MoveAbsolute1's Axis output.
- The mouse pointer becomes a cross when it contacts the output. Drag a line to MoveAbsolute2's AxisIn input.
- Both FBs's Axis are connected.
NOTE: You can also enter the Connection mode through the FBD Bar. By default, the FBD bar is displayed. If not, on the View menu, click Toolbars > FBD Bar.