Example 2: bit packing order for instance 11, Table 36 – Basler Electric DECS-250N User Manual
Page 260

244
9440500990 Rev D
PROFIBUS Communication
DECS-250N
DECSCONTROL_IN_FCR_MODE and so on. The three highest bits in this instance are unused and thus
always return a value of zero.
Table 36. Instance 8 Parameters
Instance Name
Inst. #
Type
RW
Key Name
Range
Controller Status Cyclic
8
UINT8
R
DECSCONTROL_IN_AVR_MODE
Not in AVR mode=0, In AVR
mode=1
Controller Status Cyclic
8
UINT8
R
DECSCONTROL_IN_FCR_MODE
Not in FCR mode=0, In FCR
mode=1
Controller Status Cyclic
8
UINT8
R
DECSCONTROL_IN_FVR_MODE
Not in FVR mode=0, In FVR
mode=1
Controller Status Cyclic
8
UINT8
R
DECSCONTROL_IN_PF_MODE
Not in PF mode=0, In PF mode=1
Controller Status Cyclic
8
UINT8
R
DECSCONTROL_IN_VAR_MODE
Not in var mode=0, In var
mode=1
Table 37 shows the bit number of each parameter in instance 8 and an example packet returned from a
DECS-250N. Reading a value of 0x02 (0000 0010) for instance 8 indicates that the device is operating in
FCR mode.
Table 37. Instance 8 Bit Order
Instance Number
Bit Number
Key Name
Packet Returned from
DECS-250N
8
0
DECSCONTROL_IN_AVR_MODE
0
1
DECSCONTROL_IN_FCR_MODE
1
2
DECSCONTROL_IN_FVR_MODE
0
3
DECSCONTROL_IN_PF_MODE
0
4
DECSCONTROL_IN_VAR_MODE
0
5
0 (unused)
0
6
0 (unused)
0
7
0 (unused)
0
Example 2: Bit Packing Order for Instance 11
The total size of Instance 11 is two bytes. Table 38 shows the parameters of instance 11 as they appear
in Table 40. The first parameter in instance 11, with key name
CONTACTOUTPUTS_WATCHDOGOUTPUT, is represented by the lowest bit in the first byte (bit 0). The
ninth parameter, with key name CONTACTOUTPUTS_OUTPUT8, is represented by the lowest bit in the
second byte (bit 0). The four highest bits in the second byte are unused and thus always return a value of
zero.