SIEMENS AG
kf_integer
The function kf_integer swaps the high byte and the low byte of a transferred
16-bit value and returns the new value.
C-Adapter
unsigned short kf_integer (unsigned short);
testbit
The function testbit checks whether a specified bit is set in a byte variable. The
byte variable and the bit number are transferred to the function in the form of
parameters.
Return value = TRUE or 1
Return-value = FALSE or 0
C-Adapter
char
testbit (char value, char bitno);
Toolbox for Data Link PGs/PCs to SIMATIC S7
Bit is set
Bit is not set
56
PRODAVE S7