Download Siemens Standard Technical data
Transcript
SFCs for Handling Time-Delay Interrupts 10.3 Querying a Time-Delay Interrupt with SFC 34 "QRY_DINT" Description With SFC 34 "QRY_DINT" (query time-delay interrupt), you can query the status of a time-delay interrupt OB. Time-delay interrupts are managed by organization blocks OB20 to OB23. Parameter Declaration Data Type Memory Area Description OB_NR INPUT INT I, Q, M, D, L, constant Number of the OB, whose STATUS will be queried (OB20 to OB23). RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is being processed, the actual parameter of RET_VAL contains an error code. STATUS OUTPUT WORD I, Q, M, D, L Status of the time-delay interrupt, see following table. Output Parameter STATUS Bit Value Meaning 0 0 Time-delay interrupt is enabled by the operating system. 1 0 New time-delay interrupts are not rejected. 2 0 Time-delay interrupt is not activated or has elapsed. 3 - - 4 0 Time-delay interrupt-OB is not loaded. 5 0 The execution of the time-delay interrupt OB is not disabled by an active test function. Error Information Error Code (W#16#...) Explanation 0000 No error occurred 8090 Incorrect parameter OB_NR 8xyy General error information, see Evaluating Errors with Output Parameter RET_VAL 10-4 System Software for S7-300/400 System and Standard Functions - Volume 1/2 A5E00709327-01
Related documents
Quickfilter QF4A512-PA Specifications
5.0.0.0 Companion User Manual
Siemens S7-300 User's Manual
Programmazione con STEP 7 - Industry Support Siemens
SIMATIC Programmazione con STEP 7 V5.2
Programmer avec STEP 7 - Service, Support
Sencor SDF 760 Technical data
Programmieren mit STEP 7 V5.1
M7-300/400, Installieren und Bedienen - Services
SIMATIC Programmazione con STEP 7 Lite V3.0