
Application EKS
Integration of EKS with PROFINET interface in BECKHOFF TwinCAT 3
18
(Application) AP000240-01-01/19
8.2.2. Description of the block interfaces
Parameter
Data type
Description
Device_ready_for_operation
BOOL
After completion of the configuration of the device, ready for operation is signaled.
Electronic_Key_detected
BOOL
Indication that an Electronic-Key is detected.
Job_finished
BOOL
Provides feedback on the successful completion of a write process.
Job_in_progress
BOOL
Indicates that a write process is in progress.
Receive_data
ARRAY [0...123] OF BYTE
Electronic-Key data
Table 1: Read block interface
Parameter
Data type
Description
Write_Electronic_Key
BOOL
Set this bit to issue the write command.
Start_address
BYTE
Defines the first byte to be written in the memory in the Electronic-Key.
Number_of_bytes
BYTE
Defines the number of bytes of data to be written in the memory in the Electronic-Key.
Transmit_data
ARRAY [0...115] OF BYTE
The content of this byte is written to the Electronic-Key.
Table 2: Write block interface
8.2.3. Complete EKS data type call
Figure 20: Complete call in
PROGRAM MAIN