Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Siemens SIMATIC S5-90U/S5-95U Compact PLC

F: | Au:FAN | DA:2026-04-28 | 306 Br: | 🔊 点击朗读正文 ❚❚ | Share:

Address analysis: ISTACK will provide a "STEP Address Counter (SAC)" and a "Relative STEP Address Counter (REL-SAC)". Convert the hexadecimal address to decimal and accurately locate the erroneous program statement based on the length of the data block (DB).

Common Error ID Interpretation:

NNN: Indicates a statement that the CPU cannot execute. The most common reason is that programmers used instructions that are not supported by this version of the CPU, or the program was damaged during transmission. In old systems, if the battery has been replaced, please be sure to download the program again to ensure its integrity.

TRAF: Transmission error. This usually occurs in accessing a data block (DB), such as attempting to read a non-existent DB, or accessing a data word (DW) that exceeds the defined length of the DB (e.g. the DB only has 10 words, but the program attempts to read the 11th word).

ZYK: Scan cycle timeout. The program execution time of S5-95U exceeds its watchdog time (default 300ms). The reason may be that the program contains a dead loop, or that too many interrupt/time drivers (OB3/OB13) are called within one cycle. The solution is to optimize the program or divide the long program into multiple program blocks (PB).

PEU: External I/O bus failure. When set to "PBUS J", if no external I/O bus is detected or the module on the bus does not match the configuration, the PLC will report this error and stop in STOP mode. Check the connection cable and terminal resistance of the IM 316/315 interface module.

SUF (S5-95U only): Replacement error. Usually, when calling a function block (FB), the actual parameters passed to FB do not match the parameter types defined by the called FB. For example, FB requires a KT type time constant, but you give an integer of KF type when calling it.

Step 3: Use BSTACK to track the program path

When dealing with runtime errors such as TRAF or SUF, BSATCK (block stack) is more effective than ISTACK. BSTACK records the nested path of program execution. Assuming ISTACK indicates that the error occurred in function block FB2, BSTACK will show you the complete chain of calling FB2: OB1->PB2->FB2. At the same time, it will also display which data block (DB) is open when calling FB2. This is crucial for troubleshooting errors such as' DB access out of bounds'.


In depth application of core functions and fault prediction

The S5-95U is equipped with many practical functions that even today seem quite useful, and mastering them can effectively predict and prevent system failures.

Real time response: interrupts and high-speed counters

Application scenario: A sensor signal is required to trigger an emergency stop, or an encoder pulse is needed for precise positioning.

Configuration: Interrupt inputs (I34.0-I34.3) and counter inputs (Counter A/B) need to be enabled in the OBI: and OBC: parameter blocks of DB1. For example, IP 0 indicates enabling I34.0 as a rising edge interrupt; CAP 500 indicates the activation of counter A, which generates an interrupt when the count reaches 500.

Fault prediction: The input frequency of the counter is strictly limited. The manual clearly states that when a programmer or OP (operation panel) is connected, the maximum frequency of counter A will decrease from 5kHz. The calculation formula is: frequency=1/[(0.5ms+additional interruption reaction time) * current count value]. If you find that high-speed counting always loses pulses, you should check if the human-machine interface is connected through the programmer interface and re evaluate the counting frequency.

Accuracy and efficiency of analog processing

Input processing (FB250): The onboard analog input range is 0-10V, with a resolution of 10 bits. Directly reading the original value (0-1024) is meaningless. FB250 must be called for scaling. For example, converting a 0-10V temperature sensor signal directly to an engineering value of 0.0-200.0 ° C.

Key parameter: KNKT is used to define channel types. For onboard input, KY=0.4 (unipolar) must be set. OGR and UGR define the upper and lower limits of the engineering values you want.

Optimize scanning cycle: By default, all analog inputs are read into the Process Image Area (PII), which increases the scanning cycle. In the OBA: parameter block of DB1, AI parameters can control the number of channels read into PII. For example, AI 4 indicates that the first four channels are cyclically read in. If your program does not require values for all channels every cycle, it is recommended to set this value to 0 and then perform a single read by setting EINZ=1 for FB250 when a channel needs to be read in the program, which can significantly improve CPU utilization.

Time sensitive application: Real time clock

Scenario: Scheduled start stop, accumulated equipment running time, event logging.

Key point: The positions of the clock data area and status word need to be defined in the CLP: parameter block of DB1. STW defines the position of the status word, and CLK defines the clock data area. For precise control, it is recommended to store the clock data area in a dedicated, power-off hold data block.

  • OMRON CJ1W-MD261 Mixed I/O Module
  • Omron NJ301-1100 PLC CPU eCat EIP Specs
  • Omron F500-C15-ETN Vision System PLC Module
  • Modicon M241-24IO TM/T2UK PLC with Ethernet
  • SIXNET YS-800-001 RTU PLC Module
  • BEMAC UST-202-D Interface Board 1307D V08B2
  • Yaskawa JANCD-MMOIC-02 Drive Circuit Board
  • ABB 3BSE005028R1 SDCS-COM-1 Comm Board
  • Omron 3G3MX2-A4110 A4150 Inverter Drives Specs
  • KEYENCE CA-E100 PLC Module
  • GE IC693ALG223-GB Analog Input Module Specs
  • ABB BAILEY IMMFP01 Multi Function Processor System
  • SIEMENS 6FC5372 0AA00 0AA1 NCU 7202 Controller
  • Modicon TM241CE4 40I O Transistor Programmable Controller
  • SIEMENS 6ES7 315 2EH13 0AB0 CPU 3152 PN DP
  • NORIS A1 91 PCB Card Rack Module System
  • SIEMENS 6ES7 313 5BE01 0AB0 Compact CPU
  • SCHNEIDER ELECTRIC S144B MICROLOGIC 60A Trip Unit
  • CNI PLC269 v3 Control Module Board Rev H
  • ABB BAILEY IIMCP02 Processor Module
  • OMRON NT20S ST121 EV3 Operator Interface Terminal
  • OMRON NS-CA001 Video Input Unit
  • GE Fanuc IC695CHS012 RX3i Backplane
  • Allen Bradley 2711E-K14C6 PanelView 1400e Terminal
  • Siemens Sinamics CCB 10000432.71 Power Cell
  • Siemens 6SL3210-1SE21-8UA0 Power Module PM340
  • Yaskawa CIMR-F7A20P4 AC Drive
  • Beckhoff EP1918-0002 EtherCAT Box I/O Module
  • OMRON CQM1-TC001 Temperature Control Module
  • GE Fanuc SGHA36AT0400 Industrial Contactor
  • OMRON NJ501-1500 PLC Machine Automation Controller
  • Mitsubishi MAZAK QX084 Power Supply MELDAS 500 CNC
  • B&R 0AC808.9 PLC Automation Module
  • OMRON CP1H-XA40DT1-D PLC Module
  • G&W Electric PLC15 5111 011 15kV Capnut Assembly
  • GE DS200SLCCG3AGH PCB Circuit Board
  • Siemens SINUMERIK 6FC3981-4FD PLC Extension
  • OMRON F300-DC I/O Image Processing Unit
  • FANUC A06B-0314-B002 AC Servo Motor
  • GC-S84 Programmable Controller Logic Module
  • PASABAN MONTELEC MTC3001-DC Drive Control PLC
  • Allen Bradley 100E460EJ11 Auxiliary Contactor
  • Bosch Rexroth 1070075337-101 Card Parameters
  • HMS Anybus AB7646-F Gateway Specifications
  • Bosch 062633-303401 CNC Servo PLC Card
  • TI 500-5023 Series PLC Power Supply
  • Siemens C98043-A7002-L1-12 Circuit Board
  • Omron E5CC-RX3A5M-000 Controller
  • CN-8032-L Profinet Network Adapter Module
  • Siemens 3TK2804-0BB4 Safety Relay Details
  • Toledo TTLM-2-1M I/O Load Module
  • NORIS A1-91 PLC Rack Board Specifications
  • Mitsubishi A3ACPUR21 MELSEC PLC CPU Module
  • Beckhoff EP7041‑3002 EtherCAT Box Digital Input Module
  • REER EOS2E 1053 EOS2R 1053 Safety Light Curtain
  • Mitsubishi Q80BD-J71BR11 MELSECNET/H Interface Board
  • Omron 3G3IV-B4220-EV2 VFD 400V 22kW
  • Allen-Bradley 96844671 1785-LT3 PLC-5/12 Processor Module
  • Pasaban MTC3001-DC Drive Control PLC Module
  • Omron CJ1M-CPU11 V4.0 PLC CPU Module
  • ABB CM579-PNIO B3 Communication Module
  • B&R X20 AI 4221 Analog Module
  • Siemens 6SY7000-0AC80 PLC Module
  • GE 531X300CCHAFM5 Control Card
  • AB 810-A15C Inverse Time Relay
  • WITTENSTEIN LP120X-MF2-20 Planetary Gear
  • Mitsubishi Kakoki E-01B-4130 PLC I/O Modules
  • ABB DSQC643 Safety Control Board
  • Siemens G26004-A2105-P100-2 PCB
  • OMRON F350-C10E Image Processing Unit
  • FUJI UG430H-TS1 HMI Touch Panel
  • Westronics CB100188-01 Rev F Board
  • Siemens 7MH4900-3AA01 Weighing Module
  • Gilbert & Nash Tracker 2000 Control Cabinet
  • OMRON CJ1M-CPU22 CPU Unit
  • OMRON F3SJ-E0625P25 Light Curtain
  • Siemens 3VA2340-5HL32-0AA0 Breaker
  • Mitsubishi Melsec A61P A2NCPU PLC System
  • Aeco 158-02 DSP-02 PCB Card
  • FUJI NP1PS-32R CPU Module
  • Siemens 6SL3040-1MA01-0AA0 Control Unit CU320-2 PN
  • Fuji RYE.75D PLC Driver AC Drive
  • Electro Cam PS-6144-24-P16M09-L-MB Programmable Limit Switch
  • Siemens C98043-A7001-L2-4 CUD1 Control Board
  • Pilz 312070 PSSu H PLC1 FS SN SD Safety Module
  • Siemens Plc42q4200atsn Circuit Breaker Fuse Box
  • GE Fanuc IC695ALG708-AB Analog Output Module Rx3i
  • Siemens 6SE7036-5GK84-1JC2 IGD8 Gate Driver Board
  • Charmilles 813078 852029 PLC PCB Robocut 2 CNC EDM
  • Siemens 6SL3130-1TE24-0AA0 Smart Line Module
  • Pasaban MTC3001-DC Drive Control PLC Module
  • Modicon AS-P890-000 Remote I/O Processor Power Supply
  • Siemens PXC100-PE96.A PXC Modular Controller
  • TOYO KEIKI P:CARD5 AVH-R YH-212 Industrial Control Card
  • Omron NS5-SQ00B-V2 HMI Touch Screen 5.7 Inch
  • Sciemetric SigPOD 1202-0H00 Data Acquisition Module
  • GE Fanuc IC693CPU331W CPU Module Series 90-30
  • Square D 8903SVO11V02 Lighting Contactor 200A
  • Beckhoff C9900-P224 Power Supply Unit 24V 10A
  • HSD PE323 PLC I/O Module
  • Pillar AB6406-11A Power Control Board
  • GE Fanuc IC693CPU331W CPU Module
  • FANUC A61L-0001-0072 LCD Monitor
  • AB 20D-D-011-A-0-EYNANANE Drive
  • AB 1785-L20B PLC-5/20 Processor
  • Siemens SIREC P/PA Recorder 7ND3021
  • Siemens D2E160-AH01-17 Fan Blower
  • Eaton 101073735-001 LEG Module
  • AB 1404-M605B-ENT Powermonitor 3000
  • OMRON CJ1W-MAD42 Analog I/O
  • Omron CJ1M-CPU13 V3.0 PLC CPU Module
  • Pe323 HSD PLC Module Industrial Controller
  • Pasaban MTC3001-DC Drive Control PLC Module
  • Mitsubishi R02CPU PLC Module MELSEC iQ-R
  • B&R X20DC2395 Digital Output Module 32 Ch
  • Hoffman A30N24ALP Enclosure with PLC Addons
  • Rieter PLC with RMC 24/5V 10 RMC188-1 RMC RIO-1
  • Allen-Bradley 1790D-TN4V0 CompactBlock LDX Base Block 4 AI
  • National Instruments NI 9242 Analog Input Module 4-Channel
  • ABB AO820 3BSE008546R1 Analog Output Module
  • Moeller XVC-101-C192K-K82 PLC
  • AB 440F-C4000P MatGuard Controller
  • AB 1692-ZRCLSS Protection Module
  • Schneider S48896 PLC Module
  • FANUC A02B-0303-C205 I/O Module
  • AB 1785-LT4 PLC-5/10 Processor
  • AB 1746-NO8V SLC 500 Analog Output
  • OMRON CQM1-TC001 Temperature Unit