![background image](http://html1.mh-extra.com/html/eaton/easy800/easy800_manual_3950236216.webp)
5 Function blocks
5.18 JC, conditional jump
212
Control Relay easy800
11/11 MN04902001Z-EN
www.eaton.com
In the function block list a jump label must be positioned downstream, i.e.
towards the end of the list when viewed from associated function block
“conditional jump”. If it is placed in front of the associated jump location
(backward jump), the program branches to the end of the function block list
and fault contact JC..E1 of function block “conditional jump” closes. If no
associated jump label is set in the function block list, the program jumps to
the end of the list and fault contact JC..E1 also closes.
Example
A jump is to be made downstream of a table function block when marker
M01 has the state 1.
Figure 151:Example of conditional jump
Enter the function block editor via <PROGRAM…, PROGRAM ->
FUNCTION RELAYS>.
▶
In this menu use the cursor buttons
ÍÚ
to move to the location from
where the jump is to be made and press OK.
▶
Then use the cursor keys
ÍÚ
to select function block JC01 and close the
input dialog with two clicks on OK.
▶
Insert table function block TB01 into then next position in the function
block list, configure it and complete your input with ESC.
▶
Use the cursor keys
ÍÚ
to navigate to the next position in the function
block list and insert the jump label LB01 described below there.
During processing, the program branches to jump label LB01 for as long as
JC01EN is 1.
Memory
28
Byte
Cycle time [
μ
s]
easy800 standard
easy800-SWD
20
8
M 01---------------------------
Ä
JC01EN
JC01 +
TB01 -
LB01
L:031 B:6488
→
For subsequently inserting function block JC.. in the function
block list to skip other, existing function blocks, the use of the
easySoft-Pro programming software is recommended.
This software allows function blocks to be moved into any
position.
→
For subsequently inserting function block JC.. in the function
block list to skip other, existing function blocks, the use of the
easySoft programming software is recommended .
This software allows function blocks to be moved into any
position.