Download onlinecomponents.com

Transcript
8 ISFP
8.1.3.1 Structure of the Functions
The functions are realized in function blocks (FB). Different parameters are assigned to the
function blocks depending on their functions. The INTERBUS data block (IBDB) is to be
specified as the first parameter. The IBDB is a data block which is used as main memory by
the software. It has a length of 200 data words.
The RETURN bit is always the last parameter of the activation blocks. This RETURN bit has
the value ZERO (RET = 0) when the block has been run without errors. It is set to ONE
(RET = 1) should an error occur.
m
Errors may result, for example, from invalid parameters or a ’jamming’ of the communication
between the PLC and the controller board. This is monitored by a timeout. If the timeout has
elapsed, the TIMEOUT bit is also set when the RETURN bit is set.
on
l
in
ec
om
po
ne
nt
s.
co
The function blocks in the cyclic program area are activated by the activation bit (BUSY bit).
This bit must be set once by an edge flag. It is reset by the called function block. As the
function blocks may be active for more than one cycle, termination of a function is
recognized by virtue of the fact that the activation bit (BUSY bit) is reset.
8-18
5003B