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

Create user-defined fault

Studio 5000 Logix Emulate (Virtual PLC)
Share on FacebookShare on Twitter

RelatedPosts

PLC Controller Firmware Upgrade

PLC First Scan Bit

Siemens PLC Programming, S7-300 and S7-400 (SIMATIC S5) PLC

Logix Designer Faults

To suspend (shut down) the controller based on the conditions in the application, create a user-defined major fault. User-defined main faults:

  • Fault type =
  • Define the fault value to choose a value between 990 and 999. Logix Designer reserves these codes for user-defined faults.
  • The controller is handled in the same way as other major faults:
    • The controller switches to programming mode and stops executing logic.
    • Set output to configuration state or fault value

When Tag_1.0 = 1, produce a major fault and generate a fault code of 999.

To create a user-defined major fault:

  1.  Create a fault routine for the program if one does not
  2. Configure the program to use the fault routine if it is not already
  3. In the main routine of the program, enter this rung, where:

 

  • Tag_1.0 is the tag used to initiate the fault
  • Fault_Routine_1 is the fault routine of the program
  • 999 is the value of the fault code

plc programming fltroutine plc

  1. When a major failure occurs, the controller enters the failure mode. The output enters a fault state. The Major Fault tab in the Controller Properties dialog shows code 999.
Tags: controllerdefinedfaultMajorplcroutine
Previous Post

Allen-Bradley PLC I/O Faults Causes/Solutions

Next Post

Factorytalk View Site Edition

Related Posts

PLC Controller Firmware Upgrade
PLC & HMI

PLC Controller Firmware Upgrade

Connect to PLC via USB cable
PLC & HMI

Connect to PLC via USB cable

PLC First Scan Bit
PLC & HMI

PLC First Scan Bit

Siemens PLC Programming, S7-300 and S7-400 (SIMATIC S5) PLC
PLC & HMI

Siemens PLC Programming, S7-300 and S7-400 (SIMATIC S5) PLC

How to get data from plc to excel
PLC & HMI

How to get data from plc to excel

PLC Function Blog Diagram (FBD)
PLC & HMI

PLC Function Blog Diagram (FBD)

Next Post
Factorytalk View Site Edition

Factorytalk View Site Edition

Please login to join discussion

You might also like

PLC Controller Firmware Upgrade

PLC Controller Firmware Upgrade

Connect to PLC via USB cable

Connect to PLC via USB cable

PLC First Scan Bit

PLC First Scan Bit

Siemens PLC Programming, S7-300 and S7-400 (SIMATIC S5) PLC

Siemens PLC Programming, S7-300 and S7-400 (SIMATIC S5) PLC

How to get data from plc to excel

How to get data from plc to excel

PLC Function Blog Diagram (FBD)

PLC Function Blog Diagram (FBD)

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 ALMA analog codes comminucation communication connect control controller ControlLogix cpu devicenet download driver EDS error errors ethernet example factorytalk fault Function instruction issue Ladder Major motor network plc problem program Programming rockwell rslinx rslogix siemens software start state stop Studio 5000 tag timer

Contact Us

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.

  • Home
  • PLC Forum
  • Contact Us
  • PLC & HMI
  • Electric & Electronic

© plctr.com PLC Programming | PLC Forum.

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

© plctr.com PLC Programming | PLC Forum.

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.