IntegerAt

 

Description

Returns the Integer (16 bit signed integer) at given location in an user buffer or in the PDU.DATA buffer.

Declaration

integer IntegerAt(void *Buffer, int Index);

integer IntegerAt(int Index);

 

 

Parameters

 

Type

Dir.

 

Buffer

Pointer

In

Pointer to an user buffer

Index

int

In

Start byte

 

Example

MyInteger=S7.IntegerAt(&MyBuffer, 140);