To stop the situation into a lot of cpu, such as the address call error, there is no need to download the DB block, programming errors, etc., if you do not want to avoid mistakes when the CPU entered the stopped state, you can add a special OB program block, then there the corresponding problem, call the appropriate OB block, although not inside the program, PLC will not make any error error handling, continue to run. Otherwise, the PLC will enter the stop state can be, for example:
OB73 communication redundancy error OB occurs when the first fault-tolerant redundant S7 connection is lost, H CPU operating system calls OB73 (only in S7 communication will have a fault-tolerant S7 connections. For more information, see "S7-400 H programmable controllers, fault-tolerant system. "). If the other redundant fault-tolerant S7 connection loss occurred, then there will be no OB73 start. Until all the fault-tolerant redundant S7 connection is restored only after the emergence of another OB73 start. If a start event occurs and OB73 is not programmed, CPU does not change to STOP mode.
OB80 time error OB tissue whenever execution error, S7-300 CPU operating system calls OB80. Such errors include: exceeding the cycle time, execution error OB confirmation when, ahead of time, leaving the OB start-up time is skipped in the CiR recovery RUN mode. For example, if the last call occurred after the start of a cyclic interrupt OB events, while still running the same OB at this time, the operating system calls OB80. If OB80 has not been programmed, the CPU changes to STOP mode. You can use SFC 39 to 42 disable or delay and re-enable time error OB.
Organization block OB81 power supply error
As long as the error or fault by the occurrence of triggered events, and this error or fault and with the power supply (only on the S7-400) or battery backup (when entering and leaving the event) related to the S7-300 CPU operating system calls OB81 . In the S7-400, if the switch has been activated using BATT.INDIC battery test function, only in the event of battery failure will be called OB81. If OB81 is not programmed, the CPU does not change to STOP mode. You can use SFC 39 to 42 to disable or delay and re-enable the power supply error OB.
OB82 Diagnostic Interrupt Organization Block
If you have a diagnostic function module (which you have enabled the diagnostic interrupt) detects an error, it outputs a diagnostic interrupt request to the CPU (when entering and leaving the event). The operating system calls OB82. Local variables of OB82 contain the logical base address and four bytes of the fault diagnosis module data (see table below). If OB82 has not been programmed, the CPU changes to STOP mode. You can use SFC 39 to 42 to disable or delay and re-enable the diagnostic interrupt OB.
OB83 Insert / Remove Module Interrupt Organization Block
In the following cases, CPU operating system calls OB 83:
? Insert / delete configuration module
? In STEP 7 and modify module parameters change during the run after the download to the CPU
With SFC 39 to 42 can disable / delay / enable the insert / remove interrupt OB.
OB84CPU hardware failure tissue
In the following cases, CPU in the OS calls OB84:
? Has been detected and corrected memory errors after
? For S7-400H: If two redundant link between the CPU performance
You can use SFC 39 to 42 to disable or delay the CPU hardware error OB, then enable it again.
Organization block OB85 priority error
As long as one of the following events occurs, CPU's operating system that calls OB85:
? Not loaded OB (OB81 excluded) started the event.
? Operating system access module error.
? Image in the system during the update process I / O access errors (if configured as reason not prohibited OB85 call).
OB86 Rack Failure Organization Block
As long as the distributed I / O (PROFIBUS DP or PROFInet IO) was detected in the central extension rack (without the S7-300), DP master system or station failure (event into the event and left), CPU operating system calls OB86. If OB86 has not been programmed, when it detects this type of error, CPU changes to the STOP mode. Use SFC 39 to 42 can disable or delay and re-enable OB86.
OB87 communication error tissue
As long as the occurrence of an event caused by a communications error, CPU's operating system will call the OB87.
If OB87 has not been programmed, CPU does not change to STOP mode. You can use SFC 39 to 42 to disable or delay and re-enable the communication error OB.
Interrupt OB 88 OB
Block execution is aborted, CPU operating system calls OB 88. Cause this interrupt may be due to:
? Nesting depth of synchronous errors is too large
? Block calls (U stack) of the nesting depth is too large
? Allocation of local data error
If OB 88 is not on the programming and block execution is aborted, the CPU goes into STOP mode
(Event ID W # 16 # 4570). If the priority block 28 suspended under the execution, the CPU goes into STOP mode. With SFC 39 to 42 can disable and enable the processing delay interrupt OB.
OB121 Programming Error Organization Block
As long as the occurrence of procedure-related events resulting from errors, CPU's operating system that calls OB121. For example, if your program calls has not been loaded into the CPU block, will call the OB121.
OB122I / O Access Error Organization Block
As long as the data access module error, CPU's operating system that calls OB122. For example, if the access I / O module on the data, CPU detects a read error, the operating system calls OB122
1. Work environment
(1) temperature
PLC required temperature in the 0 ~ 55oC, can not install the components on the heat capacity below the surrounding air to escape should be large enough.
(2) Humidity
In order to ensure the PLC insulation, air relative humidity should be less than 85% (no condensation).
(3) vibration
PLC should be a strong vibration from the source to prevent the vibration frequency of 10 ~ 55Hz frequent or continuous vibration. When the environment is inevitable vibration, shock absorption must take measures, such as the use of damping glue.
(4) air
Avoid corrosion and flammable gases, such as hydrogen chloride, hydrogen sulfide, etc. For there is more dust in the air or corrosive gas environment can be installed in a closed PLC good control room or control cabinet.
(5) Power
PLC for the interference caused by power line has a certain capacity to resist. Reliability of power supply in demanding or particularly serious interference with the environment, you can install a shielded isolation transformer, to reduce interference between the device and ground. PLC DC 24V output has generally provided to the input, when input using an external DC power supply, DC power supply should be used. Because the average rectifier power supply, due to the ripple effect is easy to PLC received an error message.
2. Interference and its source control system
On-site EMI PLC control system is the most common and most likely one of the factors affecting system reliability, the first so-called temporary solution, identify the problems, to propose solutions to the problem. Must know the source of the interference field.
(1) the source of interference and influence the general classification of PLC control system sources of interference, most of the produce dramatic changes in current or voltage parts, the reason is the change in current produces a magnetic field, the equipment produces electromagnetic radiation; changes in the magnetic field to generate electricity, electromagnetic waves generated high . Electromagnetic interference by the interference pattern is usually different, divided into common mode and differential mode interference interference. Common mode interference is the signal-to-ground potential difference, mainly by the string into the grid, the potential difference and spatial electromagnetic radiation in the induction of the common mode signal line (in the same direction) voltage superimposed formed. Common mode voltage circuit can be converted by asymmetric differential mode voltage, direct impact on the measurement and control signals, resulting in component damage (which is some of the system I / O module is the main reason for the higher failure rate), this can dc common-mode interference also for the exchange. Differential mode interference is the effect on the voltage signal interference between two poles, mainly by the electromagnetic field coupling between the sensor and the signal from the unbalanced conversion circuit common mode voltage interfere with the formation of such interference superimposed on the signal, directly affects the measurement and control accuracy.
(2) PLC system, the main source of interference and channel
Strong electrical interference: PLC system, the normal power supply by the power supply. As the grid covering a wide range, it will be all the space the electromagnetic interference induced voltage line on the road. Especially the changes within the grid, knife switching surges, large-scale power equipment starts and stops, caused by AC and DC drives harmonics, power short circuit transient shocks are transmitted through the transmission lines power the primary side.
Cabinet interference: the high-voltage electrical control cabinet, a large inductive load, confusing layout are easy on the PLC to a certain degree of interference.
Interference from the signal wires are: connected to the PLC control system with various types of signal transmission lines, in addition to the effective transmission of various types of information but there will always be external interference signal intrusion. This interference There are two main ways: first, shared by the transmitter power supply or signal instrumentation power supply in series with the grid disturbance, which are often neglected; second signal line by the spatial interference of electromagnetic radiation sensors, which signal external sensing line interference, this is very serious. Introduced by the signal interference caused by I / O signal abnormalities and accuracy greatly reduced, will cause serious damage to components.
From the interference of the grounding system disorder
Ground is to improve the electronic equipment Electromagnetic compatibility (EMC) is one effective means. Properly grounded, can inhibit the effects of electromagnetic interference, but also outgoing interference suppression devices; and the wrong ground, it will introduce a serious interference signal to the PLC system will not work.
With Siemens S7-300PLC the thermocouple input module, enter the temperature value is the actual temperature you can direct temperature process it? Or to divide by 10, or even after other processing is the actual temperature?
Sample value divided by 10 is the true temperature.
Of course, not divided by 10 you can do the same temperature treatment, but if the sample is 2566, then that is 256.6 degrees, you have to understand that you can own the whole
USB-PPI USB interface to the Siemens S7-200 PLC programming cable with indicator light (6ES7901-3DB30-0XA0), 3 meters long
USB-PPI + isolated USB interface Siemens S7-200 PLC programming cable with indicator light
(6ES7901-3DB30-0XA0), 3 meters long
PC-PPI (2.5M) RS232 Interface Siemens S7-200 PLC programming cable, (6ES7901-3CB30-0XA0)
2.5 m
PC-PPI (5M) RS232 Interface Siemens S7-200 PLC programming cable, (6ES7901-3CB30-0XA0)
5 meters in length
PC-PPI + Isolated Siemens S7-200 PLC programming cable, (6ES7 901-3CB30-0XA0), 3 meters long
USB-MPI + Siemens S7-300/S7400 isolated USB interface cable programming,
(6ES7972-0CB20-0XA0) 3 meters
PC-MPI + Siemens S7-300/A7400PLC programming cable (6ES7972-0CA23-0XA0) 3 meters
6ES7972-0CA23-0XA0 (V5.2) Isolated Siemens PC adapter, S7300/S7400 PLC with the programming cable, MPI port communication rate 187.5Kbps and 19.2Kbps adaptive, with eView / Wei Lun / Kunlun-state and other touch-screen communications (imitation of the original)
6ES7972-0CB20-0XA0 (V5.2) Siemens USB adapter, Siemens S7300/S7400 PLC with the programming cable, PC port communication speed 19.2Kbps ~ 115.2Kbps adaptive, MPI port communication rate 187.5Kbps and 19.2Kbps adaptive (similar to the original )
PC-TTY Siemens S5 series PLC programming port (DB15) communication interface cable (6ES5734-1BD20) 3 meters
6ES7901-1BF00-0XA0 PC / MPI module with RS232 cable / TP27 touch-screen download cable, 5 meters (6ES7901-1BF00-0XA0)
6ES7 901-0BF00-0AA0 S7-200/300PLC Siemens touch screen connected to cable, 5 meters (6ES7 901-0BF00-0AA0)
6XV1 440-2KH32 Siemens OP touch screen programming cable, 3 meters (6XV1 440-2KH32)
LOGO! USB-CABLE Optical isolated USB interface Siemens LOGO! PLC communication programming cable, length 3 m
LOGO! PC-CABLE Isolated RS232 Interface Siemens LOGO! Controller programming cable, 3 meters (6ED1057-1AA00-0BA0)
6ES7972-0BA41-0XA0 PROFIBUS bus connector without programming port 35 degrees cable outlet
6ES7972-0BB41-0XA0 PROFIBUS bus connector with 35 ° cable outlet port programming
6ES7972-0BA12-0XA0 PROFIBUS bus connector without programming port vertical cable outlet
6ES7972-0BB12-0XA0 PROFIBUS bus connector with vertical cable outlet port programming
6ES7972-0BA50-0XA0 rapid bus connector (90 degrees without programming port)
6ES7972-0BB50-0XA0 rapid bus connector (90 degrees with a programming port)
6XV1-830-0EH10 SIEMENS L2 purple 2-core shielded cable (cable or PROFIBUS bus cable)
6ES7390-1AE80-0AA0 S7-300 PLC with rail length 483MM
6ES7390-1AF30-0AA0 S7-300 PLC with rail length 530MM
6ES7 390-1AJ30-0AA0 S7-300 PLC with rail length 830MM
6ES7195-1GF30-0XA0 S7-300 PLC with rail length 530MM (hot rails)
6ES7 390-1AM00-0AA0 40-pin front connector, screw tight type, the unique positioning groove can prevent incorrect insertion
6ES7392-1AJ00-0AA0 20-pin front connector, screw tight type, the unique positioning groove can prevent incorrect insertion
6GK1561-1AA00 CP5611 communication card
6ES7972-0AA01-0XA0RS485 repeater, connecting P and MP
Mitsubishi plc in com internal 24v power supply - common, com1 and beyond comx are output common, according to the different output types of wiring, if the relay output can take any positive or negative. When not connected together, and com.
(Editor:admin) |