State.ReaStatusExt



ReaStatusExt() As Long
ED
avaliable
RT
read only

Remarks

The ReaStatusExt DWORD specifiecs which additional state bits are set. It can be seen as an extension to the ReaStatusStd DWORD, in order to provide auxiliary state bits.

e.g. ReaStatusExt = &H40 (Hex-Value) means that the PN_BIT is set TRUE.

Hint: Depending on the ReaStatusMaskeExt the bits will be checked or ignored.

In order to use state driven trigger (no triggering on edges) for the MultiBinary Rema, the "ReaStatusFlankeExt" has to be set to &h0.

To set more than one state bit, ORing (logical OR) have to be applied.

e.g. ReaStatusExt = &H40 Or &H1000 'PN_BIT + BL_BIT are set TRUE

State bits

The following table gives an overview of the additional state bits.
Name Description
Bit number
Hex value
PN_BIT P/N bit
6
0x00000040
WR_ACK Acknowledge writing bit
8
0x00000100
WR_SUC Writing successful bit
9
0x00000200
BL_BIT  
12
0x00001000
SB_BIT  
13
0x00002000
NT_BIT  
14
0x00004000

See Also

State