Hello is there some people who can help me concerning Array and data funtions:(RFID data filtering)
If we have new tags, then we need to add the counter to 3 and the status to 1(new)
after that we need to have a 2nd inventory
we need to do the counter -1 after the first inventory round
if the counter is equal to 0 then we need to add the status to (2 delete)
We need to send only the incomming(new tags) and (deleted tags)data after losing 3 times
example: tag [ data1..12,counter,status]
1: ( add new tags to databse with tag counter 3 + add status 1(new) if not existing in database )
( search for duplicates if not add tag counter 3 and status 1)
It should be noted that 'a' will be 12 after the FOR loop. Therefore 'i' will always be set to 2.
I'd write this as a nested FOR loop rather than having 12 repetitions which could be replaced by a second loop.
The rest of the post is a little cryptic to help. If you can explain more clearly I could help. I use a Turck RFID read/write head on a BL20 under V2.3.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
is not needed.
as the for loop will always be finished before the program goes on.
I see tag arrays with 500, but i think it should be in some cases 500/12. so 37 or so.
what is the problem you are having as this piece is correct.
the case is good, with leaving open some space for insertions.
your planning is good, but you need more comments in your program.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
PJE hat geschrieben:
It should be noted that 'a' will be 12 after the FOR loop. Therefore 'i' will always be set to 2.
I'd write this as a nested FOR loop rather than having 12 repetitions which could be replaced by a second loop.
The rest of the post is a little cryptic to help. If you can explain more clearly I could help. I use a Turck RFID read/write head on a BL20 under V2.3.
PJE: if you want i can send you the complete program, to explain more in detail what is needed.
please send me some email to e info@stijn.sg e
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello is there some people who can help me concerning Array and data funtions:(RFID data filtering)
If we have new tags, then we need to add the counter to 3 and the status to 1(new)
after that we need to have a 2nd inventory
we need to do the counter -1 after the first inventory round
if the counter is equal to 0 then we need to add the status to (2 delete)
We need to send only the incomming(new tags) and (deleted tags)data after losing 3 times
example: tag [ data1..12,counter,status]
1: ( add new tags to databse with tag counter 3 + add status 1(new) if not existing in database )
( search for duplicates if not add tag counter 3 and status 1)
)
2: (sending new tags with status 1*)
help data.pro [31.3 KiB]
help data.pro [31.3 KiB]
It should be noted that 'a' will be 12 after the FOR loop. Therefore 'i' will always be set to 2.
I'd write this as a nested FOR loop rather than having 12 repetitions which could be replaced by a second loop.
The rest of the post is a little cryptic to help. If you can explain more clearly I could help. I use a Turck RFID read/write head on a BL20 under V2.3.
IF a>11
THEN
i:=2;
END_IF
is not needed.
as the for loop will always be finished before the program goes on.
I see tag arrays with 500, but i think it should be in some cases 500/12. so 37 or so.
what is the problem you are having as this piece is correct.
the case is good, with leaving open some space for insertions.
your planning is good, but you need more comments in your program.
PJE: if you want i can send you the complete program, to explain more in detail what is needed.
please send me some email to e info@stijn.sg e