daveReadBytes

Read len bytes from the PLC.

extern (C)
int
daveReadBytes
(
daveConnection* dc
,
int area
,
int DB
,
int start
,
int len
,
void* buffer
)

Parameters

dc

A daveConnection

area
Type: int

Denotes whether the data comes from FLAGS, DATA BLOCKS,

DB
Type: int

The number of the data block to be used. Set it to zero

start
Type: int

First byte.

len
Type: int

Number of bytes to read

buffer
Type: void*

Pointer to a memory block provided by the calling program. If the pointer is not NULL, the result data will be copied thereto. Hence it must be big enough to take up the result.

Meta