Programming
2.7 Functions
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-103
REPLACE Function: Replacing characters
Syntax:
REPLACE
( string, FindString, ReplaceString [, start [, count ] ] )
Description:
The REPLACE function replaces a character/string in a string with
another character/string.
Parameters:
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.
Return Value:
string = Blank string
Copy of string
FindString = Blank string
Copy of string
ReplaceString = Blank
string
Copy of string, in which all occurrences
of FindString are deleted
start > Len(String)
Blank string
count = 0
Copy of string
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:
PI_SERVICE (
service, n parameters)
Description:
Executes PI service
Parameters:
Service
PI service identifier
n parameters List of n parameters of PI Service.
Individual parameters are separated by commas.
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...