
Operation
Use CODESYS function blocks
204
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Create the required instances for the function block: Map inputs and outputs directly to
the addresses of the corresponding module registers.
Activate the function block.
In the following example 128 bytes can be read or written via the function block. The input and
output data and the write and read data is assigned in the example as follows:
Byte
Meaning
IB100
Start address of the process input data
QB100
Start address of the process output data
IB116
Address of the read data as array
QB116
Address of the write data as array
Fig. 116: Activate the FB_Extended function block (example: Read or write 128 bytes)