4 Functional Mechanisms of this Application
4.2
FC220 functionality
Evaluating An Access Point Clients List
V1.0, Entry ID: 48946495
25
C
opyr
ight
Si
em
ens
AG
20
1
1
A
ll rig
h
ts
re
se
rve
d
No.
Parameters
Type
Meaning
3. SRC_STRUCT_LENGTH
INPUT
(Int)
The “SRC_STRUCT_LENGTH” input parameter has
to be indicated if the data records of the data area to
be searched differs from the searched data record.
(You have to indicate the length of the data records of
the “SRC” input parameter).
If the data records have the same length, set the
"SRC_STRUCT_LENGTH=0” input parameter. In this
case the FC determines the data length of the data
record.
Note
:
The “SRC_STRUCT_ LENGTH” input parameter has
to be larger or equal "0”.
4. SRC_DATA_OFFSET
INPUT
(Int)
Through this parameter it can be specified how many
bytes, starting with byte 0, should not be taken into
account in the search.
Example
:
A string consists of “ABCDEFG”. If the characters “A”
and “B” are not to be included in the search, this
parameter (offset) has to be assigned a value of “2”.
Note
:
The “SRC_STRUCT_OFFSET” input parameter has
to be larger or equal "0”.
5. BLIND_O_STUFFING_
BYTES
INPUT
(Bool)
If the data record of the data area to be searched
(“COMPARE” input parameter) is unequally long, the
stuffing byte at
BLIND_OUT_STUFFING_BYTE=TRUE will be
hidden.
Note
:
not used any further in this application.
6. RET_VAL
OUTPUT
(Word)
The return value of the function contains an error
code:
0000H: No
error
Error codes, see next section.
7. DATA_COMPARE
OUTPUT
(Bool)
“TRUE”, if the data record of the “COMPARE” input
parameter was found in the “SRC” input parameter.
8. OBJECT_POINTER
OUTPUT
(POINTER
_STR)
ANY pointer of the structure of the found object in the
data area to be searched.
Note
:
not used any further in this application.
9. OBJECT_Number
OUTPUT
(Int)
Object number of the first data record found.