Siemens 6AV6651-7KA01-3AA4 - S7-1200 + KTP400 Basic Starter Kit 6AV6651-7KA01-3AA4 Manual De Usuario

Los códigos de productos
6AV6651-7KA01-3AA4
Descargar
Página de 364
 
PLC concepts made easy 
 
4.3 Execution of the user program 
Easy Book 
Manual, 03/2014, A5E02486774-AF 
57
 
Table 4- 1 
OB events 
Event 
Quantity allowed 
Default OB priority 
Program cycle 
1 program cycle event 
Multiple OBs allowed 
1
4
 
Startup 
1 startup event 
1
 
Multiple OBs allowed 
1
4
 
Time delay 
Up to 4 time events 
1 OB per event 
Cyclic interrupt 
Up to 4 events 
1 OB per event 
Hardware interrupt 
Up to 50 hardware interrupt events
2
 
1 OB per event, but you can use the same OB for multiple 
events 
18 
18 
Time error 
1 event (only if configured)
3
 
22 or 26
4
 
Diagnostic error 
1 event (only if configured) 
Pull or plug of modules 
1 event 
Rack or station failure  
1 event 
Time of day  
Up to 2 events 
Status 
1 event 
Update 
1 event 
Profile 
1 event 
 
1
  The startup event and the program cycle event never occur at the same time because the startup event runs to 
completion before the program cycle event starts. 
2
  You can have more than 50 hardware interrupt event OBs if you use the DETACH and ATTACH instructions. 
3
  You can configure the CPU to stay in RUN if the scan cycle exceeds the maximum scan cycle time or you can use the 
RE_TRIGR instruction to reset the cycle time. However, the CPU goes to STOP mode the second time that one scan 
cycle exceeds the maximum scan cycle time. 
4
  The priority for a new V4.0 CPU is 22. If you exchange a V3.0 CPU for a V4.0 CPU, the priority is 26, the priority that 
was in effect for V3.0. In either case, the priority field is editable and you can set the priority to any value in the range 22 
to 26. 
Refer to the topic "Exchanging a V3.0 CPU for a V4.0 CPU" for more details. 
In addition, the CPU recognizes other events that do not have associated OBs. The following 
table describes these events and the corresponding CPU actions: