Technical data

Table Of Contents
IEC Functions
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
26-23
Description FC32 RIGHT
The function FC32 provides the last L characters of a string (where L stands for a
number). If L is greater than the current length of the STRING variables, the input
value is returned. With L = 0 and with a blank string as the input value, a blank
string is returned. If L is negative, a blank string is returned and the binary result
(BR) bit of the status word is set to “0".
Parameter Declaration Data Type Memory Area Description
IN INPUT STRING D, L, Input variable in format STRING
L INPUT INT I, Q, M, D, L,
Const.
Length of the right character sting
RET_VAL OUTPUT STRING D, L Output variable in format
STRING
You can assign only a symbolically defined variable for the parameter IN and the
return value.