As200_Mb_Bittest - 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

as200_mb_bittest

This function checks a bit in a specified flag byte and supplies the status of this
bit via "return_wert" (= "return_value") (= boolean variable).
When bit set
When bit not set
If there were no errors, the function supplies a 0 as the return value, otherwise
an error message which can be evaluated in accordance with the error table
(see error_message).
C-Adapter
int as200_mb_bittest(int mbno,int bitno,char * retwert);
as200_mb_resetbit
This function sets a flag in the PLC to 0. It is not checked whether the flag bit
exists in the used PLC.
If there were no errors, the function supplies a 0 as the return value, otherwise
an error message which can be evaluated in accordance with the error table
(see error_message).
C-Adapter
int as200_mb_resetbit (int mbno,int bitno);
as200_mb_setbit
This function sets a flag in the PLC to 1. It is not checked whether the flag bit
exists in the used PLC.
If there were no errors, the function supplies a 0 as the return value, otherwise
an error message which can be evaluated in accordance with the error table
(see error_message).
C-Adapter
int as200_mb_setbit (int mbno,int bitno);
Toolbox for Data Link PGs/PCs to SIMATIC S7
return_wert = true or 1
return_wert = false or 0
49
PRODAVE S7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents