
Application EKS
Integration of EKS with PROFINET interface in BECKHOFF TwinCAT 3
16
(Application) AP000240-01-01/19
8.2.
Calling the library and description of the block interface
8.2.1. Calling the library
1.
To be able to use the library, the blocks from the library must be called in the main program (MAIN). For this purpose,
open the block and select the programming section. You can select the blocks with the aid of the
Input Assistant
that
can be opened using the right mouse button or the F2 key.
Figure 16: Opening the
Input Assistant
2.
You will find the library on the
Categories
tab. Select
Function Blocks
. You will find the EUCHNER library in the window
on the right. You can select two
function blocks
from the library.
EKS_Read
is required to read the Electronic-Key data
and
EKS_Write
to write data to the Electronic-Key.
Figure 17: Selecting the blocks (
function blocks
)