EasyManua.ls Logo

turck TBEN-RFID Series - Page 236

turck TBEN-RFID Series
288 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operation
Use CODESYS function blocks
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com
07.00 | 2022/09 | 236
Create program in which the function block can be called.
Add Box from the CODESYS ToolBox to the project.
Add FB_BusMode, FB_Compact or FB_Extended function block.
Fig.144: Calling the CODESYS function block
Example: Connecting the FB_Extended function block (Ch0, read or write 128 bytes)
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 from or to Ch0 via the function block.
The input and output data and the write and read data is assigned in the example as follows:
Status bit 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

Table of Contents

Other manuals for turck TBEN-RFID Series

Related product manuals