Setting The Prompt Time In Db1 - Siemens SIMATIC S5-100U System Manual

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

The Integral Real-Time Clock

12.3.2 Setting the Prompt Time in DB1

How to set the prompt time in DB1
1. Perform an overall reset on the programmable controller.
2. Generate DB5 with DW0 to DW21.
3. Output default DB1 to the programmer.
4. Overwrite the comment characters (#) with a blank space.
5. Use the cursor to jump into the CLP parameter block.
6. Enter the example.
- Set the clock to the following prompt time: Thursday, December 17, 1992, 8:00 o'clock.
Setting the Prompting Time
36:
KS
='PGN 01 ;
48:
KS
='CLK DB5
60:
KS
='MW102
84:
KS
='12:00:00
96:
KS
='17.12. 08:00:00 PM
Figure 12-3. Example: Setting the Prompt Time in DB1 to Thursday, December 17,
1992, 8:00 o'clock
7. Transfer the changed DB1 to the programmable controller.
8. Switch the programmable controller from STOP to RUN.
Each time the programmable controller is switched from STOP to RUN, it accepts the new clock
data.
12-6
CLP: CF 0
';
The clock data is stored in data block 5 beginning
DW0
STW
';
with data word DW0. The status word is located in
flag word MW 102.
STP Y SAV Y ';
The clock is updated when the programmable
controller is in the STOP mode. The clock time is
saved in the clock data area. See Table 12-3.
After the parameter for TIS, enter the weekday,
TIS 5
';
date and time to initiate the prompt time.
You can enter the parameter for the clock mode.
OHS ';
The clock runs in the 24-hour time mode.
S5-100U
Explanation
EWA 4NEB 812 6120-02b

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents