s7 1200 , HMI Alarms

rQx

Lifetime Supporting Member
Join Date
Oct 2010
Location
Trelleborg
Posts
1,049
As I unbderstand it only words can be read to the HMI alarms on s7 1200 and the HMI.

Isn't there any easier way to do it then convert all of your M, Q, Is to Words?
 
Go to the Siemens site I posted on your other topic. Follow the link go through the FAQ's as I suggested and you will find a "bool to word" block.

Whilst it seems silly at the start, I personally think it's handy because you can sneak in the bool to word blocks in a network at the end of your program and you have all of your alarm trigger bits grouped in 1 spot.

This is where bool arrays come in handy.

HTH
 
Last edited:
I have read it but still thought it was little bit to advanced for only a couple of alarms. Maybe I should use this anyways =)
 
It's worth getting to know them. In your data block type a meaningful tag name, eg Alarm Bits then in the data type coloumn instead of selecting bool select array "[lo ... hi] of type" Replace "lo" with "0", replace hi with "15", replace "type" with "bool".
See how in seconds you've created 16 alarm tags. Drag those tags 1 by 1 sequentially to the inputs of bool to word block, drag your alarm word into the HMI tag editor, set up the alarms in the HMI alarm editor and bam you're done!
Now else where in your program create the coils that reference the alarm tags based on your alarm conditions. You don't have to use all 16 tags.
The configuration of arrays is large, so play with the above suggestion for now. You are not limited to 16, you can make "lo" = 5 and the "hi" = 112 if you want. Also the data type isn't restricted to just bools.
HTH, NP​
 

Similar Topics

...and I agree. Context: TIA Portal/HMI = KTP1200 (12" screen) In the attached redacted image, the values in the white boxes are entered by the...
Replies
10
Views
600
Good day, May I ask, what do I need to perform MIGRATION of HMI program from Siemens MP277 10" Touch hmi to TP1200. I already have WinCC Flexible...
Replies
0
Views
109
I've got TIA portal v18, KTP1200 HMI. I want to add a slider bar (if that's the correct name for it) to an HMI screen. Baslcally, like a...
Replies
8
Views
975
See the attached pic ("workflow"). I want to create 2 workflows, depending on if the person who's just logged in is an OPERATOR or an ADMIN...
Replies
17
Views
2,397
Hello, I have a small application with a S7-1200 CPU 1212 and a KTP400 Basic HMI. When i am connected to the PLC with my PC i would like to...
Replies
1
Views
515
Back
Top Bottom