Siemens SINUMERIK 808D Function Manual page 283

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

Advertisement

Function name
ncfunc.chan_pi_service
ncfunc.displayresolution
Function Manual
01/2017
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" re-
turn="error"> _T"_N_SETUFR", channel, ...</function>
Example:
<let name="chan" >1</let>
<function name="ncfunc.chan_pi_service" re-
turn="error"> _T"_N_SETUFR", chan</function>
<function name="ncfunc.chan_pi_service" re-
turn="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" re-
turn="dislay_res" />
Example:
<let name="dislay_res" type="string"></let>
...
<function name="ncfunc.displayresolution" re-
turn="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" col-
or_bk="#ffffff"/>
283

Advertisement

Table of Contents
loading

Table of Contents