WriteBytes (FUN)ΒΆ
FUNCTION WriteBytes : DINT
Writes size bytes from at the supplied offset to
the process images of the device.
@param deviceId Id of the device
@param offset Offset where the data will be written at.
@param size Size of the data to write.
@param data The data to write.
@return Returns 0 on success, -1 otherwise
- InOut:
Scope
Name
Type
Return
WriteBytes
DINT
Input
deviceId
DINT
taskId
UDINT
offset
UDINT
size
UDINT
data
POINTER TO BYTE