Smb0: System Status - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Special memory (SM) and system symbol names
D.2 SMB0: System status
D.2

SMB0: System status

Special Memory Byte 0 (SM0.0 - SM0.7) provides eight bits the S7-200 SMART CPU
updates at the end of each scan cycle.
Table D- 1
SMB0 system status bits
S7-200 SMART
SM address
symbol name
Always_On
SM0.0
First_Scan_On
SM0.1
Retentive_Lost
SM0.2
RUN_Power_Up
SM0.3
Clock_60s
SM0.4
Clock_1s
SM0.5
Clock_Scan
SM0.6
RTC_Lost
SM0.7
802
Description
This bit is always TRUE.
The CPU sets this bit to TRUE, for the first scan cycle, and sets it to FALSE thereaf-
ter. One use for this bit is to call an initialization subroutine.
The CPU sets this bit TRUE for one scan cycle after:
Reset to factory communication command
Reset to factory memory card evaluation
Evaluation of program transfer card in which a new system block was loaded from
the card.
Problem with retentive record that the CPU stored on the last power down.
This bit can be used as either an error memory bit or as a mechanism to invoke a
special start-up sequence.
The CPU sets this bit to TRUE for one scan cycle when RUN mode is entered from a
power-up or warm restart condition. This bit can be used to provide machine warm-up
time before starting an operation.
This bit provides a clock pulse. The bit is FALSE for 30 seconds and TRUE for 30
seconds, for a cycle time of one minute. This bit provides an easy-to-use delay or a
one-minute clock pulse.
This bit provides a clock pulse. The bit is FALSE for 0.5 seconds and then TRUE for
0.5 seconds for a cycle time of one second. This bit provides an easy-to-use delay or
a one-second clock pulse.
This bit is a scan cycle clock that is TRUE for one scan and then FALSE for the next
scan. On subsequent scans the bit alternates between TRUE and FALSE. You can
use this bit as a scan counter input.
This bit applies to CPU models that have a real-time clock. The CPU sets this bit to
TRUE for one scan cycle if the time on the real time clock device was reset or lost at
power-up. The program can use this bit as either an error memory bit or to invoke a
special start-up sequence.
System Manual, V2.3, 07/2017, A5E03822230-AF
S7-200 SMART

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents