Siemens SINUMERIK 808D Function Manual page 298

Hide thumbs Also See for SINUMERIK 808D:
Table of Contents

Advertisement

Function name
ncfunc.bitset
control.delete
298
Description
The function is used to manipulate individual bits of the specified
variables.
The bits can either be set or reset.
Syntax:
<function name="ncfunc.bitset" refvar="address"
value="set/reset" > bit0, bit1, ... bit9 </function>
Attributes:
refvar - specifies the name of the variable, in which the bit combina-
tion should be written
value – bit value, value range 0 and 1
Values:
The bit numbers starting with zero should be transferred as function
values.
A maximum of 10 bits per call can be modified.
Example:
<function name="ncfunc.bitset"
refvar="nck/Channel/Parameter/R[1]" value="1" > 0,
2, 3, 7 </function>
<function name="ncfunc.bitset"
refvar="nck/Channel/Parameter/R[1]" value="0" > 1,
4 </function>
The function deletes the specified control.
Syntax:
<function name="control.delete"> control name
</function>
Attribute:
name – function name
Value:
control name – name of the control
Example:
<function name="<control.delete>"> _T"my_editfield"
</function>
Function Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents