Siemens SIMATIC S7-200 System Manual page 174

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 Programmable Controller System Manual
Example: Clear Interrupt Event Instruction
160
Network 1
// Instruction Wizard HSC
LD
SM0.0
MOVB 16#A0, SMB47
//Set control bits:
//write preset;
MOVD +6, SMD52
//PV = 6;
ATCH HSC1_STEP1, 13
ATCH HSC1 STEP1 13
//Interrupt HSC1_STEP1: CV = PV for HC1
Network 2
//Clear unwanted interrupts caused
//by machine vibration
LD
SM0.0
CEVNT
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents