trentg@felixconstruc
Member
I am trying to create a DFB that moves 16bits to Word, Word to INT, INT to Array of EBOOL. Basically a discrete output map. For the last function (Array to EBOOL) I created an Output Pin Called DO_Word to be visible on the DFB. I created a tag DO_2 (Array 0...15 of EBOOL) and tied it to the DO_Word Pin.
DO_2 = Array 0...15 OF EBOOL, Address %Q0.2.0.0.
The intent is to have 16 bits read directly into the DO Address. The card is in Rack 0, Slot 2.
I have done this in the other direction DI Address to bits, basically the opposite of above and it works fine. With this DO DFB though I get a message when I build: The topological variable is incorrect.
Any help would be appreciated.
Trent
DO_2 = Array 0...15 OF EBOOL, Address %Q0.2.0.0.
The intent is to have 16 bits read directly into the DO Address. The card is in Rack 0, Slot 2.
I have done this in the other direction DI Address to bits, basically the opposite of above and it works fine. With this DO DFB though I get a message when I build: The topological variable is incorrect.
Any help would be appreciated.
Trent