How To Execute A Limited Number Of Scans - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Debugging and troubleshooting

10.6 How to execute a limited number of scans

10.6
How to execute a limited number of scans
You can specify that the PLC execute your program for a limited number of scans (from 1
scan to 65,535 scans). By selecting the number of scans for the PLC to run, you can monitor
the program as it changes the process variables.
On the first scan, the value of SM0.1 is one (ON).
Before executing a single scan or multiple scans, change the PLC to STOP mode (Page 46)
if the PLC is not already in STOP mode.
Executing a single scan
To execute a single scan, click the "Execute Single" button from the Scan area of the Debug
menu ribbon strip.
Executing multiple scans
To execute multiple scans, follow these steps:
1. Click the "Execute Multiple" button from the Scan area of the Debug menu ribbon strip.
The Execute Scans dialog box appears.
2. Enter a value for the desired number of scans, and click "Start" to execute the number of
scans you entered.
Note
When you are ready to resume normal program operation, change the PLC back to RUN
mode (Page 46).
576
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