IsoExchangeBuffer

Description

Exchanges a given S7 PDU (protocol data unit) with the CPU.

Declaration

int IsoExchangeBuffer(uint16_t *Size);

 

 

Parameters

 

Type

Dir.

 

Size

Pointer to unsigned 16 bit integer

In

Buffer size

 

Out

Reply telegram size

 

Return value

         0 : The function was accomplished with no errors.

         Other values : see the Errors Code List.

Remarks

The S7 PDU must be present into PDU variable.

No check is performed.