Siemens SINUMERIK Commissioning Manual page 453

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

REPLACE Function: Replacing characters
Syntax:
Description:
Parameters:
Return Value:
2.7.28
PI services
Description
The PI_SERVICE function can be used to start PI Services (Program Invocation Services)
from the PLC in the NC area.
General programming
Syntax:
Description:
Parameters:
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
( string, FindString, ReplaceString [, start [, count ] ] )
REPLACE
The REPLACE function replaces a character/string in a string with
another character/string.
string
String in which FindString is to be replaced with
ReplaceString.
FindString
String to be replaced
ReplaceString
Replacement string (is used instead of the
FindString)
start
Starting position for search and replace operations
count
Number of characters that are to be searched from
the starting position after the FindString.
string = Blank string
FindString = Blank string
ReplaceString = Blank
string
start > Len(String)
count = 0
service, n parameters
PI_SERVICE (
Executes PI service
Service
PI service identifier
n parameters
List of n parameters of PI Service.
Individual parameters are separated by commas.
Copy of string
Copy of string
Copy of string, in which all occurrences
of FindString are deleted
Blank string
Copy of string
)
Programming
2.7 Functions
2-103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents