2
« on: November 19, 2019, 10:11:35 AM »
Hello, Thanks for the reply.
I looked at his example but it seems way too complicated for what I intend to do. What I have is let's say an array of bool of size 300 that represents the faults and want to display a message for every bit that is 1 with a timestamp and a number.
On another note, I found MessageListByBit has a parameter "MaxMessagesInList" which can be set to maximum of 50. Also, under "Messages", I can add lots of messages with bit numbers assigned to them accordingly and go as high as I want (I stopped at 100 messages). Doesn't that mean that I can go over DINT which is 32-bits in my case?
If I create an array of Booleans of size 300 in the PLC (let's call it "alarms[]")and use that array variable in my "PLCAddressValue" with or without the square bracket, would it work?