PLC Programming
  • Home
  • PLC & HMI
  • Electric & Electronic
No Result
View All Result
PLC Programming
  • Home
  • 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

Understanding PLC Scan Time and Cycle Time

How to use Rockwell PLC Watch Window

PLC Programming Example

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

Studio 5000 Logix Emulate (Virtual PLC)
PLC & HMI

How to create a project in studio 5000?

How to use Rockwell PLC Watch Window
PLC & HMI

How to use Rockwell PLC Watch Window

Control Logix PLC Ladder Troubleshooting
PLC & HMI

Control Logix PLC Ladder Troubleshooting

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

Allen Bradley Faults and Solutions

PLC Programming Example
PLC & HMI

PLC Programming Example

PLC AVE (Average) Instruction Example
PLC & HMI

PLC AVE (Average) Instruction Example

Next Post
Factorytalk View Site Edition

Factorytalk View Site Edition

PLC Programming
PLC Programming & Automation

    About Us PLCtr

    • Privacy Policy
    • Terms of Use
    • Cookie Policy

    About Us PLCtr

    • Privacy Policy
    • Terms of Use
    • Cookie Policy
    • Home
    • PLC & HMI
    • Electric & Electronic

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

    No Result
    View All Result
    • Home
    • PLC & HMI
    • Electric & Electronic

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