EasyManua.ls Logo

YASKAWA VIPA SPEED7 - FC 32 - RIGHT - Right Part of a STRING Variable

YASKAWA VIPA SPEED7
1007 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parameter
Parameter Declaration Data type Memory area Description
IN1* INPUT STRING D, L STRING variable to be inserted into
IN2* INPUT STRING D, L STRING variable to be inserted
L INPUT INT I, Q, M, D, L
Constant
Number of characters to be replaced
P INPUT INT I, Q, M, D, L
Constant
Position of 1. character to be
replaced
RET_VAL* OUTPUT STRING D, L Result string
*) You can assign only a symbolically defined variable for the parameter.
15.2.33 FC 32 - RIGHT - Right part of a STRING variable
The function FC 32 provides the last L characters of a string.
n If L is greater than the current length of the STRING variable, the input value is
returned.
n With L = 0 and with a blank string as the input value, a blank string is returned.
n If L 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 Input variable in format STRING
L INPUT INT I, Q, M, D, L
Constant
Length of the right character string
RET_VAL* OUTPUT STRING D, L Output variable in format STRING
*) You can assign only a symbolically defined variable for the parameter.
15.2.34 FC 33 - S5TI_TIM - Convert S5TIME to TIME
The function FC 33 converts the data format S5TIME to the data format TIME. If the
result of the conversion is outside the TIME range, the result is limited to the corre-
sponding value and the binary result (BR) bit is set to "0".
Parameter Declaration Data type Memory area Description
IN INPUT S5TIME I, Q, M, D, L
Constant
Input variable in format S5TIME
RET_VAL OUTPUT TIME I, Q, M, D, L Return value in format TIME
Description
Parameter
Description
Parameter
VIPA SPEED7
Standard
IEC > FC 33 - S5TI_TIM - Convert S5TIME to TIME
HB00 | OPL_SP7 | Operation list | en | 18-30 818

Table of Contents

Related product manuals