6. Function blocks6.1 Manufacturer function blocks6.1.7.6 JC - Conditional jumpGeneralThis function block is only available when using the EDP (easyDevice Programming) programming language.easyE4 base devices provide 32 conditional jump function blocks,JC01 through JC32. You can use JC function blocks to branch off for-ward to an LB jump label function block within the function block dia-gram and skip several function blocks while doing so.The JC function block is used in the circuit diagram, while the LB func-tion block is used in the function block diagram. You can use thisapproach to structure a program.Operating principleIn order for a jump to be executed, function block input EN must have a state of 1.The jump target is defined using an LB jump label function block.JC.. and LB.. must always be used in pairs.When EN = 1, the program jumps forward over one or several function blocks. The nextfunction block to be processed by the program is the first one following the jump labelLB.. in the function block diagram.When EN = 0, the next function block that the program processes is the one that youhave added behind JC.. in the function block diagram.If the associated jump label is not present for an activated jump or is positioned in frontof the jump label (backward jump), the program jumps to the end of the function blockdiagram.In both cases, the function block output will be set to state E1 = 1.Please note that if there is a timing relay function block thathas been started in the circuit diagram, the time will keepcounting up even if the timing relay is skipped in the functionblock diagram with JC..Display of function blocks in the function block diagramActive function blocksDuring simulation, the function block status display shows a red frame around an activ-ated function block that is being processed in the program.An inactive function block that is not being processed, for example, because the enablecoil is set to 0, is shown in a black frame.The following figure shows the function block JC.. as an example of an active functionblock. This functions here as the active jump label.386 easyE4 11/18 MN050009 EN www.eaton.com