Smb4: Interrupt Queue Overflow, Run-Time Program Error, Interrupts Enabled, Freeport Transmitter Idle, And Value Forced; Smb5: I/O Error Status - Siemens Simatic S7 Series System Manual

Hide thumbs Also See for Simatic S7 Series:
Table of Contents

Advertisement

Special memory (SM) and system symbol names
D.6 SMB4: Interrupt queue overflow, run-time program error, interrupts enabled, freeport transmitter idle, and
value forced
D.6
SMB4: Interrupt queue overflow, run-time program error, interrupts
enabled, freeport transmitter idle, and value forced
Special memory byte 4 (SM4.0 - SM4.7) contains the interrupt queue overflow bits and a bit
(SM 4.4) that shows whether interrupts are enabled or disabled. These bits indicate either
that interrupts are occurring at a rate greater than can be processed or that interrupts were
disabled with the global interrupt disable instruction.
Other bits indicate:
● A run-time program error
● Freeport transmitter status
● If any PLC memory value is currently forced.
Table D- 5
SMB4 system status
S7-200 SMART
SM address
symbol name
Comm_Int_Ovr
** SM4.0
Input_Int_Ovr
** SM4.1
Timed_Int_Ovr
** SM4.2
RUN_Err
SM4.3
Int_Enable
SM4.4
Xmit0_Idle
SM4.5
Xmit1_Idle
SM4.6
Force_On
SM4.7
** Use status bits 4.0, 4.1, and 4.2 only inside an interrupt routine. These status bits are reset when the queue is emptied,
and control is returned to the main program.
D.7

SMB5: I/O error status

Special Memory Byte 5 (SM5.0 - SM5.7) contains status bits which indicate error conditions
that were detected in the I/O system. These bits provide an overview of the I/O errors
detected.
Table D- 6
SMB5 I/O error status
S7-200 SMART
SM address
symbol name
IO_Err
SM5.0
670
Description
1 = Communication interrupt queue has overflowed.
1 = Input interrupt queue has overflowed.
1 = Timed interrupt queue has overflowed.
1 = Run-time programming non-fatal error is detected.
1 = Interrupts are enabled.
1 = Port 0 transmitter is idle (0=transmission in progress).
1 = Port 1 transmitter is idle (0=transmission in progress).
1 = Any memory location is forced.
Description
This bit is set ON if any I/O errors are present.
System Manual, 09/2015, A5E03822230-AC
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart series

Table of Contents