EasyManua.ls Logo

Siemens SINUMERIK 840DE SL - Page 810

Siemens SINUMERIK 840DE 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
Loading...
drv_sys_hlpfunct.xml
<typedef name="components" type="struct">
<element name="cu_p978" dim="25" />
<element name="do_p0101" dim="25" />
<element name="do_p0107" dim="25" />
</typedef>
<typedef name="comp_no_do_idx_map" type="struct">
<!-- cu index -->
<element name="cu_idx" />
<!-- component number -->
<element name="comp_no" />
<!-- address index -->
<element name="do_idx" />
</typedef>
<let name="componentsList" dim="5" type="components" />
<let name="address_idx_map" dim="32" type="comp_no_do_idx_map" />
<let name="num_cus" />
<let name="_drv_sys_comp_array_size">23</let>
<!-- ------------------------------------------------------------
function: load_components_description
This function loads the parameter arrays p978, p101 and p107 into a local
memory
input:
cuno: CU index 0 based (index 0 == CUI)
output:
componentsList structure
---------------------------------------------------------------- -->
<function_body name="load_components_description" parameter="cuno">
<let name="count" />
<let name="next_nx" >0</let>
<let name="cuidx"></let>
<let name="error" />
<op>
count = _drv_sys_comp_array_size;
next_nx = cuno;
cuidx = cuno+1;
</op>
<print text="gather data" />
<function name="ncfunc.cap.read" return="error"
rows="$count">componentsList[$cuno].cu_p978, "drive/cu/p0978[0, cu
$cuidx]"</function>
<function name="ncfunc.cap.read" return="error"
rows="$count">componentsList[$cuno].do_p0101, "drive/cu/p0101[0, cu
$cuidx]"</function>
Generating user dialogs
1.9 Addressing components
Easy XML
92 Programming Manual, 12/2017, 6FC5397-1DP40-6BA1

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Related product manuals