Using The Function Block - turck IO-LINK MASTER User Manual

Table of Contents

Advertisement

Connection to a Siemens Step 7 - usage of the TURCK- example program

Using the function block

The IO-Link function block IOL_Call is specified in the IO-Link Specification.
The TURCK FB102 only differs from the specification in some variable names (the variable
names acc. to the specification are written in brackets behind those of the example project).
Input variables
Table 16:
DO_IT (REQ)
Input variables
ID
Index_CAP
RD_WR
PORT (ENTITY_PORT)
IOL_INDEX
IOL_SUBINDEX
LEN _WRITE
LEN_ READ_MAX
Output variables
Table 17:
DONE_VALID
Output variables
BUSY
ERROR
STATUS
IOL_STAUTS
LEN_READ
4-10
BOOL
A rising edge activates the send command.
WORD
Starting address of the input data of the IO-
Link master module (slot 1).
In the example program address 8
INT
Specification of the function block instance:
251 to 254 (see also
BOOL
0 = read access
1 = write access
INT
Address of the IO-Link port, which has to be
accessed
INT
Specification of the number of the IO-Link
index, which has to be read or written
INT
Specification of a possible subindex.
Specification of the length of the data to be
written
Maximum number of data to be read during a
read-access
BOOL
The read or write access has been executed.
BOOL
The read or write access is actually executed.
BOOL
An error occurred during the read and/or write
access.
DWORD
PROFIBUS-DPV1 error message (acc. to
PROFIBUS-DP Specification), which show
errors in the acyclic communication.
Busy = 0xFFFFFFFF
DWORD
IO-Link error message (acc. to IO-Link Specifi-
cation), which concern the communication
between IO-Link master and connected
devices.
INT
Length of the read data
(Figure
page
3-24).
D301171 - IO-Link master 1108
21:).

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IO-LINK MASTER and is the answer not in the manual?

This manual is also suitable for:

Sdpx-iol4-0001

Table of Contents