Settings
EFORT INTELLIGENT EQUIPMENT CO.,LTD
170
Number of f
ormal param
eters
2
Formal para
meter descrip
tion
#1
:
STRING type: string to be extracted
#2
:
DINT type: the length of the string to be retrieved, N is c
ounted starting from 1
Return param
eters
1
Return refere
nce descripti
on
STRING type: extracted sub-string
10
Description
Instruction fu
nction name
str_fun.strmid( str1, pos, N )
Function
Extracts the sub-string and takes N characters starting from the
pos character.
Number of f
ormal param
eters
3
Formal para
meter descrip
tion
#1
:
STRING type: string to be extracted
#2
:
DINTtype: the starting bit of the extracted
character
#3
:
DINT type: length of string to be fetched
Return param
eters
1
Return refere
nce descripti
on
STRING type: extracted sub-string
11
Description
Instruction fu
nction name
str_fun.getbit( int, N )