4 syslibdpv1hilscher.lib function library, 1 v1state structure, Syslibdpv1hilscher.lib function library – Lenze PROFIBU PC-based Automation User Manual
Page 50: V1state structure, Syslibdpv1hilscher.lib function library ( 50), Control technology | profibus communication manual

Control technology | PROFIBUS communication manual
Function libraries
SysLibDPV1Hilscher.lib function library
50
L
DMS 2.2 EN 07/2011 TD17
8.4
SysLibDPV1Hilscher.lib function library
The SysLibDPV1Hilscher.lib function library supports the acyclic PROFIBUS DPV1 - class 1
write and read services for data transfer between the master and the slaves. The data is
addressed within the slave stations via slot and index (for this see the PROFIBUS-DP
standard).
If the target system is supported, the following function blocks are available:
DPV1_Read / DPV1_ReadEx function block
DPV1_Write / DPV1_WriteEx function block
8.4.1
V1State structure
This structure is used by the blocks of the SysLibDPV1Hilscher.lib library with the State
output variable. It describes the status of the order.
Description of the components
TYPE V1State :
(NotEnabled := 0, InvalidParam, Started, Done, DoneWithError );
END_TYPE
Identifier/data type
Meaning/possible settings
NotEnabled := 0
The function block is not active.
InvalidParam
Invalid input parameter
Started
The function block has started processing.
Done
The function block has completed processing.
DoneWithError
The function block has aborted processing with an error.