Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 06/25/1992

Pages: [1]
1
Support Questions / Re: Alarms messages display of different bits
« on: December 06, 2019, 10:13:34 AM »
UPDATE: I tried adding a timer to the form and every tick it reads my variables and maps them into some vb variables so I can manipulate them and use them etc... I can say that it works fine for my application. Thanks all!

2
Support Questions / Re: Alarms messages display of different bits
« 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?

3
Support Questions / Alarms messages display of different bits
« on: November 18, 2019, 03:28:03 PM »
Hi all,
I've been using AdvancedHMI for a while now and I quite like it, however, I've been struggling with finding the best way of displaying a list of Active/previously-active alarms that are triggered via Boolean bits (could be independent bools or bits of ints ex: someInt[5].4).
I've looked into DisplayListByBit and MessageListByBit but they both use a single integer and my current program has about 252 alarms (more than what a single integer can hold (16-bits)). I would appreciate your help!

Yours,
Basel

Pages: [1]