Kf_Integer - Siemens SIMATIC S7 Operating Instructions Manual

Prodave s7 v5.5 toolbox for windows 95/98/nt/me/2000 applications for a data link of pgs/pcs to simatic s7 via mpi interface and pc/mpi cable
Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents