Hey,
I'm having trouble with moving data within a DB and I think the problem is rooted in my lack of understanding of programming 'pointers' so please use small words when responding.
I have 200 bytes of data that is sitting in DB8001.DBW0 (all INT) and I need to move it to DB8001.DBB(#part_num) based on what part number (1to100*200 bytes) the operator is running.
The process deems that the part may be ran up to 3 different times in the machine so when the operator loads part '3' I will need to load data from DB8001.DBB600 into DB8001.DBB0, work on the part, then when unclamping move the data back into DB80001.DBB600 (or whichever part the operator has determined they are running eg. 17*200=DBB3400...).
So choosing where in the DB the data is depends on which part is being ran.
thanks!
I'm having trouble with moving data within a DB and I think the problem is rooted in my lack of understanding of programming 'pointers' so please use small words when responding.
I have 200 bytes of data that is sitting in DB8001.DBW0 (all INT) and I need to move it to DB8001.DBB(#part_num) based on what part number (1to100*200 bytes) the operator is running.
The process deems that the part may be ran up to 3 different times in the machine so when the operator loads part '3' I will need to load data from DB8001.DBB600 into DB8001.DBB0, work on the part, then when unclamping move the data back into DB80001.DBB600 (or whichever part the operator has determined they are running eg. 17*200=DBB3400...).
So choosing where in the DB the data is depends on which part is being ran.
thanks!
Last edited: