EasyManuals Logo

Siemens SINUMERIK 840D sl Commissioning Manual

Siemens SINUMERIK 840D sl
1734 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #817 background imageLoading...
Page #817 background image
Function name Description
Ncfunc cap write The function writes a value into the specified variable. If the write op‐
eration was error-free, then the return variable contains the value zero.
Contrary to the operation instruction, in the event of a fault, this func‐
tion does not interrupt the processing of the script operations.
Attributes:
return - Execution status
Value = 0 - faultless
Value = 1 - The variables could not be read
rows - Number of additional lines of an array to be written (optional)
If an array index is defined for the reference variables, as from this
index, the function copies the values into the target variable.
Syntax:
<function name="ncfunc.cap.read" return="error">
local variable or constant, "address"</function>
Example:
<let name="error"></let>
<function name="ncfunc.cap.write" return="error">
0, "drive/cu/p0009"</function>
<if>
<condition>error != 0</condition>
<then>
<break />
</then>
</if>
or
<let name="cu_p978" dim="25" ></let>
...
...
<function name="ncfunc.cap.write" return="error"
rows="23">cu_p978, "drive/cu/p0978[0, 1]"</
function>
Generating user dialogs
1.10 Predefined functions
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1 99

Table of Contents

Other manuals for Siemens SINUMERIK 840D sl

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D sl and is the answer not in the manual?

Siemens SINUMERIK 840D sl Specifications

General IconGeneral
Control TypeCNC
Number of AxesUp to 31
Max Number of Channels10
InterfacesEthernet, PROFIBUS, PROFINET, USB
Interpolation5-axis interpolation
Operating Temperature0°C to 45°C
Relative HumidityUp to 95% (non-condensing)
DisplayTFT color display, various sizes
Programming LanguagesDIN/ISO
Safety FeaturesSafety Integrated
PLCIntegrated PLC S7-300
Drive InterfaceSINAMICS S120
Data StorageCF card, USB
Operating SystemWindows-based

Related product manuals