Amr Hassan
Member
- Join Date
- May 2005
- Posts
- 340
iam using the tbl-find function from the ti library in the s7
but it is not working properly
CALL "TBL_FIND"
SRC :=DB14.DBX0.0
PATRN :=DB14.DBX40.0
CMD :=B#16#1
E_TYPE :=B#16#4
RET_VAL:=MW0
INDX :=MW2
as i understand that the first cell of the table (containing the table length) is db14.dbw0 and the cell containg the value i am looking for is db14.dbw40
where i am i wrong?
but it is not working properly
CALL "TBL_FIND"
SRC :=DB14.DBX0.0
PATRN :=DB14.DBX40.0
CMD :=B#16#1
E_TYPE :=B#16#4
RET_VAL:=MW0
INDX :=MW2
as i understand that the first cell of the table (containing the table length) is db14.dbw0 and the cell containg the value i am looking for is db14.dbw40
where i am i wrong?
Last edited: