6. Function blocks
6.2 Interrupt function blocks
If an output is defined as a physical output on base device in the parameters for the
interrupt program, the output will be assigned an identifier of QP01 – QP04 and will act
directly on device output Q1 – Q4.
Zur Verarbeitung des Interrupt-Programmes hat der Funktionsbaustein einen eigenen
Merkerbereich von 32 Merker-Bits.
Available functions within an interrupt program
Interrupt programs are not available when using the EDP programming language.
Action KOP FBS ST
New network √ √ √
Input/output inverter √ √ √
Contacts Make, Break, Constant 1, Constant 0
Coils Contactor, Negated contactor, Set, Reset
Jump functions Jump if 1, Jump if 0, Return if 1, Return if 0
Logic gates AND, AND NOT, OR, OR NOT, XOR, XNOR
Conditional statement – – √
Simple alternative – – √
Multiple alternatives – – √
6.2.1.3 The function block and its parameters
Function block inputs
Description Note
(Bit)
EN 1: Activates the function block. The checkbox for the
Function block release by EN is neces-
sary
parameter must first be enabled
RE 1: Sets the actual counter value to zero
I1 The states of the bit inputs from the main pro-
gram will be provided to the interrupt program
I2
I3
I4
(DWord)
SV Setpoint Integer value range:
-2,147,483,648 to +2,147,483,647
Assigning operands
You can assign the following operands to the function block inputs that are numeric
inputs.
Operands Value inputs
Constant, timer constant x
MD, MW, MB - Markers x
NB, NW, ND - NET markers x
nNB, nND, nND- NET markers x
easyE4 11/18 MN050009 EN www.eaton.com
407