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

Any control gear that receives this command enters the physical selection mode.

FB_DALIV2ProgramShortAddress

All the selected control gears save the nShortAddress (SHORT ADDRESS) value 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 halted.

FB_DALIV2VerifyShortAddress

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

FB_DALIV2Withdraw

Control gears in which the RANDOM ADDRESS is the same as the SEARCH ADDRESS must no longer react to the FB_DALIV2Compare() command.

FB_DALIV2WriteMemoryLocation

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