PARAM_FB (FB110)
TR-Electronic GmbH 2008, All Rights Reserved
Printed in the Federal Republic of Germany
Page 20 of 23
TR - EMO - TI - DGB - 0067 - 02
03/20/2020
3.2 Input and output parameters of the FB
FB parameters
Declaration
Data type
Description
I_O_address
INPUT
DWORD
(HW_IO)
Start address from HW configurator
SIMATIC Manager
or
HW identification slot 1 Std. telegram 100,
see device configuration TIA PORTAL
DB_Write
INPUT
BLOCK_DB
(DB_ANY)
Number of instance data block for SFB53
(WRREC). This is DB112 (DB2) in the
example project.
DB_Read
INPUT
BLOCK_DB
(DB_ANY)
Number of instance data block for SFB52
(RDREC). This is DB111 (DB1) in the
example project.
Number
INPUT
INT
Number of the parameter to be read or
written
Index
INPUT
BYTE
Index of the parameter to be read or written.
Read
INPUT
BOOL
0/1: Read parameter instruction
Write
INPUT
BOOL
0/1: Write parameter instruction
Save
INPUT
BOOL
0/1: Remanent storage of current parameters
in drive
Factory_
default
INPUT
BOOL
0/1: Load factory default setting in drive
Value
IN_OUT
DWORD
Parameter to be read or written
Error
OUTPUT
BOOL
Instruction could not be successfully
executed. An error is present.
Error_Code
OUTPUT
BYTE
Error number according to Table 2
Done
OUTPUT
BOOL
Instruction executed and ended. If Error =
False instruction was successful.
Table 1: Overview and description of FB input and output parameters