Siemens SINUMERIK 840DE sl Commissioning Manual page 811

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

Advertisement

drv_sys_hlpfunct.xml
<function name="ncfunc.cap.read" return="error"
rows="$count">componentsList[$cuno].do_p0107, "drive/cu/p0107[0, cu
$cuidx]"</function>
<print text="gather data finished" />
<sleep value="20" />
<op>
count = 0;
</op>
<while>
<condition>count < _drv_sys_comp_array_size</condition>
<if>
<then>
<print text="next nx %d">next_nx</print>
<function name="load_components_description">next_nx</function>
</then>
</if>
<op>
count = count+1;
</op>
</while>
<op>
num_cus = next_nx+1;
</op>
</function_body>
<!-- ------------------------------------------------------------
function: calculate_do_index
This function is looking for components of type 11 (SERVO) and lists these
in the componentsList array.
input:
-
output:
componentsList array filled
---------------------------------------------------------------- -->
<function_body name="calculate_do_index">
<let name="cuno" />
<let name="count" />
<let name="do_index" >1</let>
<let name="map_index" />
<while>
<condition>
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
<condition>componentsList[$cuno].cu_p978[$count] == 60</condition>
<op>
next_nx= next_nx +1;
</op>
cuno < num_cus</condition>
<op>
Generating user dialogs
1.9 Addressing components
93

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents