writeBytes

Write a sequence of bytes from a buffer to PLC memory, db area.

int
writeBytes
(
daveConnection* dc
,
int db
,
int start
,
int len
,
ubyte[] buffer
)

Parameters

dc daveConnection*

A pointer to a daveConnection structure representing an established connection.

db int

The number of a data block. Only meaningful if area is daveDB. Use 0 oterwise.

start int

The address of the first byte in the block.

len int

The number of bytes to write.

buffer ubyte[]

Buffer to write.

buffer ubyte[]

An array

Meta