Siemens SINUMERIK 840DE sl Commissioning Manual page 820

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

Advertisement

Generating user dialogs
1.10 Predefined functions
Function name
ncfunc chan PI-Service
Ncfunc display resolution
102
Description
The function executes a PI service in a channel-related manner. The
channel number is passed after the PI service name. This is followed
by all other call parameters.
Parameters:
channel - Channel number
Syntax:
<function name="ncfunc.chan_pi_service"
return="error"> _T"_N_SETUFR", channel, ...</
function>
Example:
<let name="chan" >1</let>
<function name="ncfunc.chan_pi_service"
return="error"> _T"_N_SETUFR", chan</function>
<function name="ncfunc.chan_pi_service"
return="error"> _T"_N_SETUDT", chan, _T"016",
_T"00000", _T"00000"</function>
This function supplies the conversion rule for floating point numbers
defined in the control. A string variable must be provided as variable.
See also display machine data MD203 DISPLAY_RESOLUTION and
MD204 DISPLAY_RESOLUTION_INCH
Syntax:
<function name="ncfunc.displayresolution"
return="dislay_res" />
Example:
<let name="dislay_res" type="string"></let>
...
<function name="ncfunc.displayresolution"
return="dislay_res" />
<control name = "cdistToGo" xpos = "210" ypos =
"156" refvar="nck/Channel/GeometricAxis/
progDistToGo[2]" hotlink="true" height="34"
fieldtype="readonly" format="$$$dislay_res"
time="superfast" color_bk="#ffffff"/>
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Easy XML

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents