FloatAt

 

Description

Returns the Float (32 bit floating point number) at given location in an user buffer or in the PDU.DATA buffer.

Declaration

float FloatAt(void *Buffer, int Index);

float FloatAt(int Index);

 

 

Parameters

 

Type

Dir.

 

Buffer

Pointer

In

Pointer to an user buffer

Index

int

In

Start byte

 

Example

MyFloat=S7.FloatAt(&MyBuffer, 140);