Siemens Tag Help

Nan

Member
Join Date
Jul 2015
Location
louisville
Posts
126
Hi,

I am new to Siemens. In Rslogix5000, I can simply create a tag(Bool) and alias to a Alarm tag(Dint), so that I can easily setup the alarm in Factorytalk view. I am wondering how can I do this in TIA Portal V13?

Thanks!!
 
Create an alarm word,

"AlarmWord1"

you then define your descrete alarms, and for example:

Trigger tag = AlarmWord1
Trigger Bit = 0

You trigger this bit with your logic, and the associated alarm is prompted on the HMI.

Remember that if AlarmWord1 is defined as DB100.DBW100 then bit 0 of the 16 bit word's absolute address is DB100.dbx101.0
 
Thank you for your response! Could you be more specific? How can I trigger the bit in LD logic? In Rslogix5000, I can create a coil, and put on a tag(bool) which alias the bit.
 
in exactly the same fashion.

Create a tag for the absolute address of the bit in the alarm word, and then add a coil that is adressed to that tag to the end of your logic that you want to trigger the alarm.
 
Which PLC are you using?

If it is the newer 1200 or 1500 series, you can create the AlarmWord tag, and then use AlarmWord.X0 through AlarmWord.X15 on the coil to access each of the bits inside of it. This is called Slice style addressing.

It is also possible to use something called the AT construct, which allows you to overlay one tag with another data type. In the 1200/1500 this can be used in any language (except not with optimized blocks), but in the 300/400 it may only possible in SCL.
 

Similar Topics

Hi I am new to the Siemens programming scene and I have been given a task of using a TP170B touch panel to control an S7-300 PLC. For software I...
Replies
6
Views
7,927
Hi, Am I being daft (again)? I want to increment a tag (Integer) by 1 each time a button on the HMI is pressed. Before the button press, the...
Replies
22
Views
2,328
Recently I work on a project where my customer has WinCC as HMI, and Siemens batch as backend, and they use APL as the interface for CM and EPH...
Replies
0
Views
443
This feels like a simple, elementary question, but I am a Siemens novice and know there are experts here. My S7-1500 project (TIA Portal v17) has...
Replies
10
Views
2,694
I came across this online test question about tags - has anyone taken a Siemens course and know what is meant by "scope"?
Replies
7
Views
1,418
Back
Top Bottom