Fc 16 - I_Strng - Convert Int To String - YASKAWA VIPA SPEED7 Operation Manual

Table of Contents

Advertisement

VIPA SPEED7
15.2.17

FC 16 - I_STRNG - Convert INT to STRING

Description
Parameter
Parameter
Declaration
I
INPUT
RET_VAL*
OUTPUT
*) You can assign only a symbolically defined variable for the parameter.
15.2.18
FC 17 - INSERT - Insert in a STRING variable
Description
Parameter
Parameter
Declaration
IN1*
INPUT
IN2*
INPUT
P
INPUT
RET_VAL*
OUTPUT
*) You can assign only a symbolically defined variable for the parameter.
15.2.19
FC 18 - LE_DT - Compare DT for smaller than or equal
Description
Parameter
HB00 | OPL_SP7 | Operation list | en | 18-30
The function FC 16 converts a variable in DINT data format to a string. The string is
shown preceded by a sign. If the variable given at the return parameter is too short, no
conversion takes place and the BR bit is set to "0".
Data type
INT
STRING
The function FC 17 inserts a string at parameter IN2 into the string at parameter IN1 after
the character at position P.
n
If P equals zero, the second string is inserted before the first string.
n
If P is greater than the current length of the first string, the second string is appended
to the first.
n
If P is negative, a blank string is output and the BR bit is set to "0". The binary result
bit is also set to "0" if the resulting string is longer than the variable given at the output
parameter; in this case the result string is limited to the maximum set length.
Data type
STRING
STRING
INT
STRING
The function FC 18 compares the contents of two variables in the format
DATE_AND_TIME to determine if one is smaller or equal to the other and outputs the
result of the comparison as a return value. The return value has the signal state "1" if the
time at parameter DT1 is smaller (older) than the time at parameter DT2 or if both
instants of time are the same. The function does not report any errors.
IEC > FC 18 - LE_DT - Compare DT for smaller than or equal
Memory area
I, Q, M, D, L
Constant
D, L
Memory area
D, L
D, L
I, Q, M, D, L
Constant
D, L
Description
Input value
Result string
Description
STRING variable to be inserted
into
STRING variable to be inserted
Insert position
Result string
Standard
811

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VIPA SPEED7 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF