8.14.4
LEFT / RIGHT
FB/FC
LEFT/RIGHT extracts a specified-length string from the string variable or
FC
constant.
Parameters
Parameter
Meaning
name
In
Original string
Number of
L
characters to get
Out
Extraction result
Bit string
In
L
Out
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Explanation
LEFT
EN
ENO
In
Ou t
L
Input/
Description
Output
Input
Original string
Number of
Input
characters to get
Output
Extraction result
Integer
●
Chapter 8 Logic Instructions
RIG HT
EN
ENO
In
Ou t
L
Valid range
Depends on the data type of the
variable that the input parameter is
connected to.
0~maximum number of characters
Depends on the data type of the
variable that the output parameter is
connected to.
Real
number
Applicable
model
DVP15MC11T
Time, date
●
●
8-193
8_