Your cart is empty
Add prompt packs to continue
This collection of prompts specialized in PLC Programming constitutes the definitive tool for engineers seeking to standardize and accelerate their industrial automation processes. Designed under precision engineering principles, it ranges from advanced control logic to functional safety, providing immediate technical solutions for the development of robust and scalable systems in manufacturing 4.0 environments. By implementing this resource, organizations achieve a drastic reduction in debugging times and a significant improvement in the interoperability of their industrial networks. The segmented structure allows specific hardware, diagnostic and process optimization challenges to be addressed, ensuring that each line of code contributes to operational efficiency and maximum profitability of the technological infrastructure.
100 resources included
Acts as a Senior Industrial Automation Engineer and PLC Hardware Diagnostic Specialist. Your mission is to generate a high-level technical intervention protocol for the identification, isolation and resolution of short circuits in the I/O channels of the system [PLC Brand], specifically for the expansion module [IO module model]. The problem manifests itself in a [Operating Voltage] environment and is affecting the operational availability of the manufacturing cell, causing electronic protection trips or damage to channel fuses. The protocol must start with a logical diagnostic phase using the [Diagnostic Software] software. Describes in detail how to access the Diagnostic Buffer and how to filter 'Short Circuit to Ground' or 'Overload' events. It is imperative that you explain the technical difference in the interpretation of these errors for signals of type [Signal Type], detailing whether the module has diagnosis by individual channel or by group of channels, and how this affects the physical search strategy for the fault. Develop a step-by-step physical segregation methodology. Instructs the technician how to safely disconnect the terminal blocks and use a digital multimeter to measure the insulation resistance between the signal terminals and the potential reference (M or L+). Includes acceptance and rejection criteria for resistance readings (Ohms) that determine whether the short circuit is external (wiring/actuator) or internal (damaged I/O board components such as varistors or output transistors). It incorporates advanced non-invasive localization techniques, such as the use of infrared thermography to detect abnormal heat spots on the connection terminals or on the module body under load. Additionally, it calls for a review of the surge suppression network and free-flowing diodes on nearby inductive loads that could be inducing harmful return currents. The final report generated by this consultation should include a table of probable root causes and a section of preventive recommendations to avoid the recurrence of the short circuit, such as reviewing the radius of gyration of the cables or the integrity of the cable glands in the field.
Act as a Senior Automation Engineer with specialization in Functional Safety of Machinery according to ISO 13849-1 and IEC 62061. Your objective is to design a robust control logic for the 'External Device Monitoring' (EDM) function, specifically for the feedback verification of a pair of safety contactors connected in series for the power outage of a system with performance level [PL_REQUERIDO]. The system must monitor the normally closed (NC) mirror contacts to ensure that the final switching elements have not been welded or become mechanically locked. The logic must be developed for the [MARCA_PLC] safety PLC using the [LENGUAJE_ST_O_LADDER] programming language. It is imperative that the algorithm manages a time tolerance window of [TIEMPO_DISCREPANCIA_MS] milliseconds. This window must cover the mechanical response time of the contactors both on activation and deactivation. If the feedback signal from the NC contacts does not match the reverse state of the control safety output (Q_Output) after this time, the function block must set a fault bit [TAG_ERROR_EDM] and block any automatic reset attempt. The design must include clear state management: 1. Rest (Output OFF, Feedback ON), 2. Transition (State change in process), 3. Operation (Output ON, Feedback OFF) and 4. Discrepancy Failure (Persistent blocking). Provides detailed source code, commenting on each section of the evaluation process. In addition, it integrates a manual reset logic subject to a rising edge at the [TAG_RESET] input, which will only be valid if the discrepancy has previously disappeared. Ensure you meet diagnostic requirements to achieve high diagnostic coverage (DC), required for Category 3 or 4 architectures. Finally, it generates a complete variable table that defines the input tags (Control signal, NC Feedback), the output tags (Contactor coils, Error signal) and the configuration parameters (Discrepancy timer). It includes a brief explanation of how to perform the initial physical testing to validate that the safety logic responds correctly to a simulation of a welded contact in one of the contactors of the [NOMBRE_MAQUINA] system.
He acts as a Senior Industrial Automation and Control Engineer with a specialty in IIoT and communication protocols. Your mission is to design an advanced email notification and alerting system integrated directly into the logic of a programmable logic controller for the data extraction phase of the process. The objective is that the PLC, model [PLC model, e.g.: Siemens S7-1200 / Allen Bradley CompactLogix], is capable of detecting anomalies in real time and dispatching informative emails to plant supervisors without depending on intermediate SCADA software, using the protocol [Communication Protocol, e.g.: SMTP / SMTPS]. The system must be configured to monitor the critical variables [Process Variables to Monitor, e.g.: Silo_Level_1, Extruder_Motor_Current] and activate the sending trigger when the conditions of [Activation Conditions, e.g.: Value > Upper Limit or Alarm Bit set to TRUE] are met. It is essential that the prompt generates the structure of the function block (FB) or the necessary script, detailing the required network configuration, including the IP address of the mail server [IP Address or FQDN of the SMTP Server], the communication port [Port, e.g.: 25, 465 or 587] and the authentication parameters necessary for a secure connection using [Security Type, e.g.: TLS / SSL]. The body of the alert message should be preformatted to include valuable diagnostic information in [Message Format, e.g.: Plain Text / HTML] format. This should include the name of the affected device, the precise timestamp obtained from the PLC's real-time clock, the current value of the variable that caused the alarm, and an adjustable severity message. Additionally, you must implement a 'Hysteresis' or 'Interlock' logic to avoid mass sending of emails (bombardment) in case a signal oscillates near the set point, allowing a maximum of [Number of Emails] sendings per hour. Finally, the resulting code or logic must address network error handling. Provides a table of status codes to diagnose common failures such as DNS server unresponsiveness, user authentication errors, or industrial firewall blocking. The design must guarantee that the mail sending process does not affect the critical cycle time (Scan Time) of the PLC, suggesting the use of asynchronous processes or background communication blocks to ensure the operational stability of the machinery.