Setting The Time Of Day And The Date; Setting The - Siemens SIMATIC S5 CP 521 Manual

Printer/ascll communications module
Hide thumbs Also See for SIMATIC S5 CP 521:
Table of Contents

Advertisement

Print Mode
6.6.2
Setting the Time of Day and the Date (Job 10
You can set the clock in two ways:
With the user program
This is suitable, for example, if the clock is to be set for a SINEC L1 time syn-
chronization
In RUN mode with the "FORCE VAR" programmer function
Operator inputs required:
Specify job number 10H in byte 0
Specify the new settings in bytes 1 to 7
Note:
If you set the clock with the "FORCE VAR" programmer function, you must first
transfer the settings in bytes 1 to 7 and then the "Set clock" job (10H) in byte 0
to the CP 521.
Settings
You must note the following with regard to settings:
The settings must be transferred in BCD code to the CP 521.
If you enter the value "FFH" in one of the settings, the current time remains.
01 = Sunday, 02 = Monday, 03 = Tuesday, 04 = Wednesday, 05 = Thursday,
06 = Friday, 07 = Saturday
AM/PM flag (only with 12h clock)
When specifying "Hours" settings in byte 5, you must take account of the
AM/PM flag (bit 7)in the case of the 12h clock: bit 7 = 1
a.m.B
6-50
CP 521
)
H
p.m. and bit 7 = 0
GWA 4NEB 812 6030-02b

Advertisement

Table of Contents
loading

Table of Contents