ISafetyIoServices.Receive (METH)ΒΆ

METHOD Receive : SafetyIoServicesResult

This method receives io-service-data from the IoServices.

InOut:

Scope

Name

Type

Comment

Return

Receive

SafetyIoServicesResult

  • SISR_OK - if data was received successfully;

  • SISR_PENDING - if no data has been received yet;

  • SISR_FAILED - if an error occurred.

Input

udiModuleId

UDINT

The id of the module to receive io-service-data for.

uiProtocolTypeId

UINT

The id of the protocol type.

pbyMemData

POINTER TO BYTE

Pointer to the reserved memory for the io-service-data.

udiMemDataSize

UDINT

Size of the reserved memory.

Output

udiDataSize

UDINT

Size of provided io-service-data at pbyMemData.