PLC Programming
  • Home
  • PLC Forums
  • Contact Us
  • PLC & HMI
  • Electric & Electronic
No Result
View All Result
PLC Programming
  • Home
  • PLC Forums
  • Contact Us
  • PLC & HMI
  • Electric & Electronic
No Result
View All Result
PLC Programming
No Result
View All Result

PLC Alarm Logic Alarm Set Operation Instruction (ASO)

PLC Alarm Logic Alarm Set Operation Instruction (ASO)
Share on FacebookShare on Twitter

This information applies to Compact GuardLogix 5380, CompactLogix 5380, CompactLogix 5480, ControlLogix 5580 and GuardLogix 5580 controllers. The alarm set operation instruction issues a specified operation on all alarm conditions of the specified alarm set. The alarm set operation instruction is used to start the asynchronous execution of the alarm operation for all alarm conditions of the specified alarm set. This instruction traverses the alarm conditions of the specified alarm set and sets an internal flag that requires operations to be performed on each condition. The purpose and priority of the internal flags are the same as the Progxxx bits accessible to existing users, and all alarm conditions of the specified alarm set will be processed during the next periodic evaluation of each specific alarm condition from the collection.

Ladder Diagram

Function Block Diagram

This instruction is not available in Function Block Diagram.

Structured Text

ASO (Alarm Set, Alarm Set Control, Operation)

 

OperandData TypeFormatDescription
Alarm SetALARM_SETAlarmSetThe ALARM_SET structure represents alarm conditions that are operated on by this instruction.
Alarm Set ControlALARM_SET_CONTROLtagThis data type contains three BOOL flags:

·   EnableIn

·   EnableOut

·   LastState

The instruction reacts to the edge (transition of .EnableIn from false to true) instead of the level.

EnableOut is always set to .EnableIn.

The request to perform the instruction operation have the same priority as ProgXXX flags.

OperationimmediateThis operand can be selected from the list or entered as an integer value:

0 – Acknowledge

1 – Reset

2 – Enable

3 – Disable

4- Unshelve

5 – Suppress

6 – Unsuppress

7 – ResetAlarmCount

Major/Minor Faults

None specific to this instruction. See Index Through Arrays for array-indexing faults.

Execution
Condition/StateAction Taken
PrescanThe instruction clears all ALARM_SET structure members.
Rung-condition -in is falseThe instruction clears .EnableOut and .LastState structure members.
Rung-condition-in is trueIf .LastState is false then the instruction initiates the operation and sets .LastState structure member to true. The .EnableOut structure member is always set to true.
PostscanThe instruction clears all ALARM_SET structure members.
Operation

The Alarm Set Operation instruction initiates asynchronous execution of one of the following alarm operations on the specified alarm set:

  • Acknowledge
  • Reset
  • Enable
  • Disable
  • Unshelve
  • Suppress
  • Unsuppress
  • ResetAlarmCount

 

The instruction iterates through all alarm conditions which are included in the specified alarm set or in the nested alarm sets to set an internal flag representing the request to perform the required operation on a particular alarm condition. The operation is initiated for all alarm conditions which are iterated by the instruction with the following exceptions:

  • Alarm Conditions which are configured not to support alarm operations
  • Alarm Conditions which are configured as not used

 

RelatedPosts

PLC Bit Instructions XIO and XIC ladder examples

User Defined Datatype UDT Usage Examples in RSLogix 5000 PLC

Count Down (CTD)

When an alarm operation is initiated for a specific alarm condition by instruction, the operation will be performed during the periodic alarm evaluation of the next alarm condition.

When the same alarm set calls this instruction multiple times to initiate contradictory alarm operations, the last requested operation will always be applied to all alarm conditions in the alarm set. The alarm operation initiated for the alarm set can be applied to the conditions before the last requested operation is performed.

When an Alarm Condition is periodically evaluated, the requests to perform particular alarm operations have the same priority as the requests to perform alarm operations initiated via user accessible Progxxx flags. It means that if a request to perform an alarm operation is generated by the instruction, then it is handled as if the corresponding Progxxx flag is set and the same rules used to resolve conflicting requests specified for ProgXXX flags are used to resolve conflicts between the instruction requests and requests made via Progxxx flags.

The Alarm Set Operation instruction initiates the required alarm operation only when it detects the transition of .EnableIn value from false to true. In order to detect the transition, LastState structure member is used to store .EnableIn value from the previous instruction execution. See the Execution section above.

Tip: If the Alarm set provided as the instruction parameter contains an excessive number of alarm conditions, then the execution time of the ASO instruction can increase significantly.

 

Tags: ASOinstruction
Previous Post

Studio 5000 PLC Programming Software Automation

Next Post

What is Encoder? Usage Areas and Types

Related Posts

PLC Programming Example
PLC & HMI

PLC Programming Example

PLC AVE (Average) Instruction Example
PLC & HMI

PLC AVE (Average) Instruction Example

PLC FIFO Instructure Usage (FFL)
PLC & HMI

PLC FIFO Instructure Usage (FFL)

Create Controller Fault Routine
PLC & HMI

Create Controller Fault Routine

PLC Controller Fault Routine
PLC & HMI

PLC Controller Fault Routine

RSLogix Emulate 500 Usage
PLC & HMI

RSLogix Emulate 500 Usage

Next Post
What is Encoder? Usage Areas and Types

What is Encoder? Usage Areas and Types

PLC Programming & Automation

PLC Programming

The objectives of PLCtr are to provide practical instruction and help for anybody involved with PLCs from the maintenance staff to the PLC programmer. You don’t necessarily have to be a “writer” to contribute. If it has anything to do with any PLC and the devices connected to it then we are interested. If you want to become a writer, please write to us on the contact page. Join us.

Tags

Add-On Instruction alarm allen-bradley analog codes comminucation communication control controller ControlLogix cpu devicenet download driver error errors ethernet example factorytalk fault instruction issue Ladder Major motor network opc plc Plc programming problem program Programming rockwell rslinx rslogix scanner siemens software start state stop Studio 5000 tag timer trend

Programming Pages

  • PLC Meaning and What is the PLC?
  • How does PLC work?
  • Cookie Policy
  • Terms of Use
  • Privacy Policy
  • Home
  • PLC Forums
  • Contact Us
  • PLC & HMI
  • Electric & Electronic

© plctr.com PLC Programming | PLC Forum | PLC SiteMap

No Result
View All Result
  • Home
  • PLC Forums
  • Contact Us
  • PLC & HMI
  • Electric & Electronic

© plctr.com PLC Programming | PLC Forum | PLC SiteMap

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT