Welcome to the Industrial Automation website!

NameDescriptionContent
HONG  KANG
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

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

来源: | 作者:FAN | 发布时间 :2026-04-28 | 38 次浏览: | 🔊 Click to read aloud ❚❚ | 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 CJ1G-CPU43H CPU Unit 30K Steps
  • OMRON C28P-EDR-D PLC Unit
  • SIEMENS S7-300 PLC System
  • Schneider TP400-PLC-1411 Board
  • Siemens 6FC5203-0AF00-0AA3 Panel
  • ALLEN BRADLEY 1754-L28BBB GuardPLC
  • Omron E6C3-AG5B-C Encoder
  • SCE M68-2000/5 CNC Controller
  • SCHNEIDER TM2ALM3LT Module
  • OMRON C200H-OV001 Voice Module
  • OMRON R88M-H30030 Servo Motor
  • Bosch RD500 Indramat Servo Drive RD51.2-4B
  • Siemens 6SE7090-0XX84-0AH2 T300 Module
  • Omron GRT1-TS2P SmartSlice Thermocouple Input
  • Xaar XP55500016 XUSB Drive Electronics
  • Siemens 6SL3210-1SE21-8UA0 PM340 Power Module
  • Mitsubishi GT2708-VTBA Touch Display 8.4 Inch
  • Pasaban Fast I/O MTC-3052 PLC Card
  • ABB ACS355-01U-02A4-2 VFD 0.37kW
  • Yamatake MAH20-PC2100 Processor Module
  • Allen Bradley 1774-P1 PLC Power Supply
  • Yaskawa SGDH-04AE-OY 400W Servo Driver
  • Omron CPH-X40DT1-D PLC CPU Unit
  • Pilz PNOZ mm0.2p Safety PLC Mini 772002
  • Siemens 6SL3555-OPR01-0AA0 Sinamics G110M Panel
  • Sanyo PLC-XTC50L LCD Projector
  • SCE M68-2000 2-Axis Motion Controller
  • Omron CS1W-CT021 High-Speed Counter Unit
  • Allen Bradley 100E400E 400A Contactor
  • Moeller LX-AK/FS-250IEC 250A Fuse Switch
  • OMRON FQM1-CM001 Coordinator Module
  • Landis+Gyr PCA2.N1 Power Supply
  • Mitsubishi Kakoki E-Series I/O Modules
  • OMRON R7A-CEA005S Servo Encoder Cable
  • Beckhoff EL1918-2200 TwinSAFE Terminal
  • OMRON F500-S1 Vision Sensor Camera
  • OMRON C200H-RM001-PV1 Master Unit
  • OMRON C60H-C7DR-DE-V1 PLC CPU
  • OMRON NX-PD1000 Power Supply Unit
  • OMRON CP1L-M60DT-D Micro PLC
  • Okuma 1911-2861 Graphic Circuit Board Module
  • Yaskawa SGDH-04AE-OY Servo Drive 400W
  • Omron R88D-UEP20V Servo Drive
  • Oliver 252RP Sakurai Mitsubishi Melsec PM-120M PLC
  • Electromatic Denmark SPS 200816 PLC
  • Omron FQM1 Flexible Motion Controller System
  • Pacer ZE4500 Axiomatic Motion Control Board
  • Delta Tau Turbo PMAC2 CPU Board USB Ethernet
  • Omron CQM1-CPU42-EV1 PLC CPU
  • Omron C500-NC222 Positioning Unit
  • ABB SACE TMAX T4 N 250 Circuit Breaker RC222
  • Mitsubishi FR A540L 75K E1 Inverter Drive
  • Siemens KSP M45 KSP M45 A66 Power Supply Module
  • Omron CQM1 TC102 Temperature Control Unit
  • Omron C200HW PRT21 Profibus DP Slave Unit
  • Yaskawa SGMGH 09DCA6S OY 850W Servo Motor 400V
  • Omron R88M UE75030V S1 AC Servo Motor
  • Omron C60H C5DR DE V1 PLC CPU Unit
  • Okuma 1911 2861 Graphic Card PLC Board Module
  • Omron R88D KN01H ML2 G5 Series Servo Drive
  • Laumas TLM8 Ethernet TCP/IP Load Cell Transmitter
  • Allen-Bradley 1771-NT2 Thermocouple Input Module
  • Siemens 6ES7135-0HF01-0XB0 Analog Output 4AO
  • Omron C60H-C6DR-DE-V1 Compact PLC
  • HMS Anybus AB7646-F Gateway Profibus to Profinet
  • Omron R7M-A10030-BS1 Servo Motor 100W Brake
  • Siemens 6SL3555-OPR01-0AA0 G110M Power Supply
  • Omron R88M-H10030-B AC Servo Motor 100W
  • Omron NJ301-1200 Sysmac NJ3 CPU EtherCAT
  • Toshiba H2218592 PLC Control Board Module
  • Omron R7A-CEA005S Servo Motor Encoder Cable 5M
  • TE.CO TFX 4G 1.5 Grey Cable
  • OMRON R88D-HT10 Servo Drive
  • OMRON CJ1G-CPU42H PLC CPU
  • MASS 106200 Industrial Monitor
  • OMRON CJ1W-AD041-V1 Analog Unit
  • Phoenix IBS PCI SC/I-T Board
  • OMRON ZFX-VS Vision Sensor
  • NAIS FP1-C72 PLC Controller
  • OMRON R88M-G75030H-BS2 Motor
  • SIEMENS A5E02625805-H2 PSU
  • Schweitzer SEL-2411 PAC Automation Controller
  • Siemens 5WG1-512-1AB11 Switching Actuator KNX
  • Stamford MX321-2 Automatic Voltage Regulator AVR
  • SCE M68-2000 Dual Axis CNC Servo Drive
  • ABB Bailey INNIS21 Network Interface Module
  • Omron CJ1W-F159 Loadcell Interface Module
  • GE Multilin MMII-PD-1-2-120 Motor Manager II
  • Yaskawa CIMR-VZ4A0018FAA VFD 5.5 7.5kW
  • Siemens 7SJ6001-5EA00-0DA0 Overcurrent Protection Relay
  • GE 531X300CCHAFM5 Drive Control PCB Board
  • Siemens 7SJ600 Overcurrent Protection Relay SIPROTEC
  • Siemens YSUW8 7683 C98043 A7002 Industrial PC Board
  • Omron 3G3MX2 A4055 E High Function Inverter Drive
  • Omron NB10W TW01B Interactive Display HMI Panel
  • Honeywell 30751044-008 Controller II ROM Board
  • Omron CJ1W IDP01 Combination Unit IO PLC
  • Omron C500 NC222 Position Control Unit PLC
  • Omron Z500 MC15E SW17R Vision System Controller
  • Sanyo Denki RS1A10AA RTA AC Servo Motor
  • Pilz PSS SB 3006 CN-A Compact Safety System PLC
  • OMRON C120-SI022 SYSMAC C120 Unit
  • SIEMENS 6SE9212-0DA40 MICROMASTER Inverter
  • ABB APBU-44C / APBU-44CE Branching Unit Kit
  • FANUC A20B-8100-0663 Mainboard
  • ABB 1SDA099907R1 Leakage Protection Relay
  • ABB IMMFP12 Multi-Function Module
  • OMRON CS1W-DA041 Analog Output Unit
  • Yaskawa SGMAS-08ACAHC61 Servo Motor
  • Benedetti 30.63/T090 3100MOT013_R1 Servo Motor
  • Omron C500-ASC02 ASCII Basic Unit Module
  • Yaskawa SGMGV-20DDL6F Servo Motor 1.8kW
  • ABB OITF-01C 64437496 D Control Board
  • TE.CO TFX 4G 1.5 Industrial Grey Cable
  • SCE M68-2000 Servo Drive Dual Axis
  • Omron C60H-C6DR-DE-V1 CPU Module PLC
  • Siemens 6SL3210-1SE21-8UA0 PM340 Power Module
  • Siemens 6GK7443-1EX30-0XE0 CP 443-1 Communications Processor
  • Siemens 6SL3210-1KE21-7AP1 SINAMICS G120C Drive
  • Phoenix UMK-32 RM/MR-G24/1/PLC Active Module
  • Omron NS5 SQ00B V2 HMI Touch Screen Industrial Terminal
  • Schneider TSX17 20 Micro PLC AEG Programmable Controller
  • Omron Z4M T30V2 Z4M H30V Laser Displacement Sensor System
  • Yaskawa SGMPH 04AAA61D OY 400W Servo Motor
  • Yaskawa CP 9300MC AC Servo Drive Motion Controller
  • Merlin Gerin VIP37PT48 Protection Relay Power Management
  • Yaskawa SGDH 05AE Sigma II Servo Driver 0.5kW
  • Rieter D90 DSP Autoleveller PLC Drawframe Control