Special commands

Function blocks

Name

Description

FB_DALIV2Compare

The control gear compares its RANDOM ADDRESS with the SEARCH ADDRESS.

FB_DALIV2Initialise

Starts the addressing of the control gears.

FB_DALIV2PhysicalSelection

All control gears that receive this command go into physical selection mode.

FB_DALIV2ProgramShortAddress

All the selected control gears save the value nShortAddress (SHORT ADDRESS) as their short address.

FB_DALIV2QueryShortAddress

If the RANDOM ADDRESS is the same as the SEARCH ADDRESS then the control gear sends its short address.

FB_DALIV2Randomise

The control gears generate a new RANDOM ADDRESS.

FB_DALIV2SearchAddr

This function block sets the SEARCH ADDRESS.

FB_DALIV2SearchAddrH

This function block sets the upper 8 bits of the 24-bit SEARCH ADDRESS.

FB_DALIV2SearchAddrL

This function block sets the lower 8 bits of the 24-bit SEARCH ADDRESS.

FB_DALIV2SearchAddrM

This function block sets the middle 8 bits of the 24-bit SEARCH ADDRESS.

FB_DALIV2SetDTR0

Writes an 8-bit value into the DTR0 of all the control gears.

FB_DALIV2SetDTR1

Writes an 8-bit value into the DTR1 of all the control gears.

FB_DALIV2SetDTR2

Writes an 8-bit value into the DTR2 of all the control gears.

FB_DALIV2Terminate

The addressing of all the control gears is terminated.

FB_DALIV2VerifyShortAddress

If the short address in the control gear is equal to the parameter nShortAddress, the output bAnswer is set to TRUE.

FB_DALIV2Withdraw

Control gears for which the RANDOM ADDRESS is the same as the SEARCH ADDRESS may no longer respond to the command FB_DALIV2Compare.

FB_DALIV2WriteMemoryLocation

Writes an 8-bit value into the memory of a control gear. Access to the memory must first be enabled with the command FB_DALIV2EnableWriteMemory.