Program instructions
7.10 Interrupt
S7-200 SMART
334
System Manual, V2.3, 07/2017, A5E03822230-AF
Example 3: Clear interrupt event instruction
LAD
STL
SBR 1
Network 1
HSC instruction wizard:
Set control bits, write preset.
PV = 6
Attach interrupt
HSC1_STEP1:
CV = PV for HC1
Configure HSC 1.
Network 1
LD SM0.0
MOVB 16#A0, SMB47
MOVD +6, SMD52
ATCH HSC1_STEP1, 13
SBR 1
Network 2
Clear unwanted interrupts
caused by machine vibration.
Network 2
LD SM0.0
CEVNT 13
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...