MasterCommandBinaryOutWrite (FB)

FUNCTION_BLOCK FINAL MasterCommandBinaryOutWrite EXTENDS MasterCommand

Master command BinaryOutWrite

InOut:

Scope

Name

Type

Comment

Inherited from

Input

xExecute

BOOL

Execute the command (xExecute FALSE –> TRUE).

MasterCommand

itfMaster

IMaster

Interface IMaster

MasterCommand

Output

xDone

BOOL

Command executed successfully.

MasterCommand

xError

BOOL

Error during command executions

MasterCommand

eErrorID

Error

Specific error during command executions.

MasterCommand

Input

qualifier

AddressQualifier

address qualifier, must be 8 or 16 bit startstop

QUAL_8BIT_START_STOP or QUAL_16BIT_START_STOP

start

UINT

starting point index

stop

UINT

ending point index

pValues

POINTER TO USINT

pointer to array of values, 0 for off, 1 for on

Status bits are not sent in a write request.

Methods:

SetError, inherited from MasterCommand