
An instance of this Function Block type stores and retrieves data as
(KEY,VALUE)
pairs of
WSTRING
s in an encapsulated instance of the Java™ Hashtable class.
- As shown in the init_table
service sequence, an
INIT
event will clear the table and then initialize it from theIVAL
input, which contains a comma-separated sequence of(KEY,VALUE)
pairs, e.g.,"KEY1,VALUE1,KEY2,VALUE2"
, etc. - As shown in the normal_read
sequence, a READ event will cause the data (if any) corresponding
to the
KEY
input to be written toOUT
, followed by aCNF+
event, i.e., aCNF
event withQO = TRUE
. - As shown in the read_no_match
sequence, if there is no data associated with the
KEY
, an empty string will be written toOUT
, followed by aCNF-
event, i.e., aCNF
event withQO = FALSE
. - As shown in the write sequence, a
WRITE
event will write theVALUE
data into a location in the table corresponding to theKEY
input and also toOUT
, followed by aCNF+
event.- This will over-write any previous data in the table
associated with the
KEY
value.
- This will over-write any previous data in the table
associated with the



