Siemens SINUMERIK 840DE sl Commissioning Manual page 839

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Function name
Setting an individual bit
Delete control
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Description
The function is used to manipulate individual bits of the specified var‐
iables.
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 combination
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 picture 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>
Generating user dialogs
1.10 Predefined functions
121

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents