WriteBool (FUN)ΒΆ

FUNCTION WriteBool : DINT

    • The WiteBool method writes one bit from data to the given offset.

    • @param deviceId The device to write the bit to.

    • @param bitOffset The bit offset to write the bit at.

    • @param value Pointer from where the bit will be written from.

    • @return Returns 0 on success, -1 otherwise.

InOut:

Scope

Name

Type

Return

WriteBool

DINT

Input

deviceId

DINT

taskId

UDINT

bitOffset

UDINT

value

BOOL