Herunterladen Diese Seite drucken

Siemens SINUMERIK 840D sl Inbetriebnahmehandbuch Seite 695

Basesoftware und bedien-software
Vorschau ausblenden Andere Handbücher für SINUMERIK 840D sl:

Werbung

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
Programmierhandbuch, 12/2018, A5E40869575 AC
<condition>componentsList[$cuno].cu_p978[$count] == 60</condition>
<op>
next_nx= next_nx +1;
</op>
cuno < num_cus</condition>
<op>
Anwenderdialoge erstellen
1.9 Komponenten adressieren
111

Quicklinks ausblenden:

Werbung

loading

Diese Anleitung auch für:

Sinumerik 840de sl