jethridge
Member
I'm trying to use the DIAG_GET (or something similar) function block to detect an error on an AI563 (Analog TC module). The error is class 4, a TC wire being disconnected or something like that. I can read the error using the DIAG_INFO function block, but can't seem to read it using a function block that looks to the actual module. The DIAG_INFO acts like a latch and if the error goes away, the tag is still set to TRUE until something unlatches it. Just wondering if any of you have used the DIAG_GET or IO_MODULE_DIAG function blocks.
Also, is there a way to open these standard function blocks up to look at the logic behind them? If I could see what tags/values they are looking at, I'm sure I could create my own function block.
Any help would be appreciated!
Also, is there a way to open these standard function blocks up to look at the logic behind them? If I could see what tags/values they are looking at, I'm sure I could create my own function block.
Any help would be appreciated!