DWordAt

 

Description

Returns the DWord (32 bit unsigned integer) at given location in an user buffer or in the PDU.DATA buffer.

Declaration

dword DWordAt(void *Buffer, int Index);

dword DWordAt(int Index);

 

 

Parameters

 

Type

Dir.

 

Buffer

Pointer

In

Pointer to an user buffer

Index

int

In

Start byte

 

Example

MyDWord=S7.DWordAt(&MyBuffer, 140);