2/19/2014 7:42 AM | |
Posts: 1299 Rating:
|
Hello, you cannot use bools for hmi alarms. in s7 you can use the blkmove for moving the bools into a word etc. https://www.automation.siemens.com/mdm/default.aspx?DocVersionId=56499189643&TopicId=53678456971 K!ke |
2/19/2014 4:26 PM | |
Posts: 4 Rating:
|
HI K!ke, thank you for the information and your time But I'm using the TIA portal and there isn't the function BLKMOVE (or I didn't find it...). Indeed I'm rogramming in KOP and the available transfer blocks allow to transfer datas of the same type (not as in the old S7 with the BLKMOVE block). To resolve this problem iesterday evening I fond a solution making a special FC in SLC language using the function POKE_BLK only available with the SLC. However this is a posssible solution to my initial problem: can I set a trigger to an allarm message in the section 'Discrete allarms' of the page 'HMI allarms' using directly a bool variable? Someone have idea if it is possible? Thank you in advance for all the help Martyn |
4/30/2015 11:06 AM | |
Joined: 1/3/2014 Last visit: 3/16/2025 Posts: 28 Rating:
|
I have the same issue trying to configure my alarms also, I can write a Array DB to give me an array of Bools to use for my alarms but I cannot use these as a trigger in the HMI Discrete Alarms. Why would a Bool not be useable in a DISCRETE alarm, surely the use of an INT or Uint makes this an analogue alarm?? Thanks Ian |
Follow us on