So I have need to display volume and run times on my screens for some equpiment. I recently got some help from support but things are still not running as smoothly as I want them to. I set up a new I/O Device that has Port Name: DISKDRV, Protocol: GENERIC, and Address: [RUN]:IODevDis.CDK.
I tired to create a variable under this IO device so that I can use it in my Accumulator for the runtime or totaliser. The frist few variable tags that I create with this I/O Device has data type ULONG, and the address was I102, I104, I106, but as I continue to increase in address', like I108, or I110, the Accumulator does nothing. Well it might be trying to do something but when I display the tag with address I108 all that I get is a "0" displayed and nothing else. I am not sure if I have the addressing correct or not. Is there anyone that could possibly help me? The purpose of this was to have a tag that I can use in an Accumulator that the runtime would be stored in, this tag cannot be a local tag, it needs to be a variable tag and since my primary IO device is non accessable to add more tags to the code I have to just work with what I had.
Thanks!
I tired to create a variable under this IO device so that I can use it in my Accumulator for the runtime or totaliser. The frist few variable tags that I create with this I/O Device has data type ULONG, and the address was I102, I104, I106, but as I continue to increase in address', like I108, or I110, the Accumulator does nothing. Well it might be trying to do something but when I display the tag with address I108 all that I get is a "0" displayed and nothing else. I am not sure if I have the addressing correct or not. Is there anyone that could possibly help me? The purpose of this was to have a tag that I can use in an Accumulator that the runtime would be stored in, this tag cannot be a local tag, it needs to be a variable tag and since my primary IO device is non accessable to add more tags to the code I have to just work with what I had.
Thanks!