Parameter
Parameter Declaration Data type Memory area Description
IN1* INPUT STRING D, L Input variable in format STRING
IN2* INPUT STRING D, L Input variable in format STRING
RET_VAL* OUTPUT STRING D, L Concatenated string
*) You can assign only a symbolically defined variable for the parameter.
15.2.4 FC 3 - D_TOD_DT - Combine DATE and TIME_OF_DAY
The function FC 3 combines the data formats DATE and TIME_OF_DAY (TOD) and con-
verts these formats to the data format DATE_AND_TIME (DT). The input value IN1 must
be in the range DATE#1990-01-01 ... DATE#2089-12-31. The function does not check the
input parameters and does not report any errors.
Parameter
Parameter Declaration Data type Memory area Description
IN1 INPUT DATE I, Q, M, D, L
Constant
Input variable in format DATE
IN2 INPUT TIME_OF_DAY I, Q, M, D, L
Constant
Input variable in format TOD
RET_VAL* OUTPUT DATE_AND_TIME D, L Return value in format DT
*) You can assign only a symbolically defined variable for the parameter.
15.2.5 FC 4 - DELETE - Delete in a STRING variable
The function FC 4 deletes a number of characters L from the character at position P
(inclusive) in a string. The function does not report any errors.
n If L and/or P are equal to zero or if P is greater than the current length of the input
string, the input string is returned.
n If the sum of L and P is greater than the input string, the string is deleted up to the
end.
n If L and/or P is negative, a blank string is returned and the BR bit is set to "0".
Parameter Declaration Data type Memory area Description
IN* INPUT STRING D, L STRING variable to be deleted in
L INPUT INT I, Q, M, D, L
Constant
Number of characters to be
deleted
P INPUT INT I, Q, M, D, L
Constant
Position of 1. character to be
deleted
Description
Description
Parameter
VIPA SPEED7
Standard
IEC > FC 4 - DELETE - Delete in a STRING variable
HB00 | OPL_SP7 | Operation list | en | 18-30 806