MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
7.1.5 ApiCmdBCDytagDef
Prototype:
AiInt16 ApiCmdBCDytagDef ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 con,
AiUInt16 bc_hid, AiUInt16 mode,
TY_API_BC_DYTAG bc_dytag[4] );
Driver Command:
API_BC_DYTAG_DEF (0x7C)
Purpose:
This function is used to define the generation of dynamic data words for BC-RT
transfer type or for BC Broadcast transfer type. One to four words of the BC Transmit
Buffer for up to 255 different Buffer headers can be selected for dynamic data
generation. Dynamic data generation is performed in the BC Transmit Data Buffer by
the internal firmware. The BC Transmit Buffer should already be defined using the
functions ApiCmdBCXferDef and ApiCmdBCBHDef when dynamic data generation
is enabled.
In Function Mode the BC Transmit Buffer is modified (for up to 2 Data Words) after
the Data Word has been transmitted. The start value for the dynamic Data Word
function shall be within the specified upper and lower limit.
In Tagging Mode the BC Transmit Buffer is modified (for up to 4 Data Words) before
the Data Words are transmitted. In this mode the dynamic Data Word tagging function
can be performed directly on Data Words located in the Transmit Data Buffer or on
Function Words which are patched into the Transmit Data Buffer.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
c
c
o
o
n
n
BC Dynamic Tagging Control
Disable Dynamic Data Generation
Enable Dynamic Data Generation
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
b
b
c
c
_
_
h
h
i
i
d
d
BC Buffer Header ID
Note: See Section 1.3.5 for the range allowed for this parameter.
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
m
m
o
o
d
d
e
e
BC Dynamic Tagging Mode