Siemens SINUMERIK 828D Commissioning Manual page 837

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Function name
Ncfunc bico to int
Ncfunc int to bico
Ncfunc is bico str valid
Easy XML
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3
Description
The function converts a string specified in BICO format into an integer
value. (see SINAMICS)
Syntax:
<function name="ncfunc.bicotoint" return="integer
variable">bico-string</function>
Example:
<let name="s_np0480_0" type="string"></let>
<let name="i_p0480_0">0</let>
<function name="ncfunc.bicotoint"
return="i_p0480_0">s_np0480_0</function>
The function converts an integer value into a BICO format string. (see
SINAMICS)
Syntax:
<function name="ncfunc.inttobico" return="string
variable">integer variable</function>
Example:
<function name="ncfunc.inttobico"
return="s_p0480_0">"drive/dc/p0480[0, DO2]"</
function>
This function returns the value zero for a string specified in BICO for‐
mat. (see SINAMICS)
Syntax:
<function name="ncfunc.isbicostrvalid"
return="integer variable">string varaible</
function>
Example:
...
<let name="s_np0480_0" type="string"></let>
...
...
<control name = "cp0480_0" xpos = "402" ypos =
"76"
hotlink="true" refvar="s_np0480_0" >
<property item_data="4001" />
</control>
...
...
<function name="ncfunc.isbicostrvalid"
return="valid">cp0480_0</function>
Generating user dialogs
1.9 Predefined functions
85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents