Chapter 8 Logic Instructions
8-283
FB/FC
FC
DELETE deletes the specified-length string from the specified position from
the string variable or constant.
Parameters
Meaning
Description Valid range
In String for deletion Input String for deletion
Depends on the data type of the
variable that the input parameter is
L
characters to
Input
Number of
characters to delete
0~ maximum length of the string
P
Input
1~ maximum length of the string
Out Deletion result Output String after deletion
Depends on the data type of the
variable that the output parameter is
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
LWORD
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
STRING
In
●
L
●
P
●
Out
●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data
type.