Handling blocks ► HB-S7-L2DP ► Integration handlingblock
FB 12 is a updated version of FB 11. In FB 12 it is possible to use different input
and output adresses. Also is it possible to use datawords in a datablock.
FB12:
Parameter
Example
ADR_IN
Startadress Input
EB 70, DB31.DBX20.0
ADR_OUT
Startadress Output
AB 80, DB31.DBX40.0
T
Timer
T 1 or another arbitrary free timer
MODE
Not in use
W#16#0 (entry needed)
BUSY
Info-Byte
if "0" no communication
if "1" communication ok
MB10
FB11:
Startadress Input / Output
adress for input and output must be the same
only the startadressnumber you use in the slave properties
Don't forget to transfer the program to the cpu of the plc.
<< return