paraffin power
Member
hi
I currently use an FB with individual instance data blocks to perform a frequently occuring task. I have a new project where the are 50+ instances of this task and rather than use 50 DBs, I was considering using one big DB and offsetting within this instance DB using AR2.
I've created a UDT and ARRAYed this in the DB, but how do I pass my specific parameters to the FB/DB, if indeed it's possible?
Because you don't call it with CALL FB1, DB1 I'm not prompted with the list of inputs/outputs.
Hope this makes sense. Thanks
pp
I currently use an FB with individual instance data blocks to perform a frequently occuring task. I have a new project where the are 50+ instances of this task and rather than use 50 DBs, I was considering using one big DB and offsetting within this instance DB using AR2.
I've created a UDT and ARRAYed this in the DB, but how do I pass my specific parameters to the FB/DB, if indeed it's possible?
Because you don't call it with CALL FB1, DB1 I'm not prompted with the list of inputs/outputs.
Hope this makes sense. Thanks
pp