4-72 L60 LINE PHASE COMPARISON SYSTEM – INSTRUCTION MANUALFLEXLOGIC DESIGN USING ENGINEER CHAPTER 4: INTERFACES44.4.1.6 Connect two logic diagramsWhen the logic is complex and requires two sheets, for example, these two sheets can be connected. By connecting them,the logic is continuous from one sheet to the next.To connect two logic diagrams:1. In the first sheet, click the I/O Tokens tab.2. Scroll to the bottom, and click and drag the Tag Out element to the sheet where the next sheet is to connect.3. Double-click the element and in the window that opens, give it a name, such as "To Sheet 2" or "To IO Sheet 2."Figure 4-80: Connecting sheet 1 to sheet 24. In the second sheet, click and drag the Tag In element to the sheet where the first sheet is to connect.5. Double-click the element and in the window that opens, select the first sheet from the drop-down list to connect thetwo sheets.6. Save the work.4.4.1.7 Optimize the logicThe number of available FlexLogic entries depends on firmware, for example 515 or 1024 lines. The software canautomatically optimize a logic diagram to reduce space and free up entries.To optimize the logic:1. In Engineer, under File > Preferences, select the Compiler option. Ensure that the Optimize Compiled Output option isenabled.2. Run the compiler again, for example by clicking the Compile button at the bottom left of the software. The resultsdisplay in the Optimization Summary. Changes also display when the FlexLogic Equation Editor is accessed. The logicdiagram does not change. In the example shown, no lines were saved to free up space.Figure 4-81: Code optimization results