Siemens SIMATIC S5 CP 521 Manual page 96

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

Advertisement

CP 521
Example: Reading the current time of day
The module is installed in slot 7 (initial address 120).
The clock data is to be output on digital output modules from address 8.
STL FB 100
NAME
:UHRDATEN
:L
IEB 121
:T
QB
8
:L
IW 122
:T
QW
9
:L
EW 124
:T
AW
11
:L
EW 126
:T
AW
13
:BE
Note:
You can also evaluate the following messages using the integrated clock:
Clock defective (1X
This error evaluation is only relevant after a restart.
Default time set (2X
This evaluation is only only meaningful if you are operating the CP 521
without a backup battery.
Time of day or date error (3X
This error evaluation is only meaningful after you have set the clock.
GWA 4NEB 812 6030-02b
Reading the current clock data and transferring it
to the digital output modules.
)
H
)
H
)
H
Print Mode
Explanation
6-39

Advertisement

Table of Contents
loading

Table of Contents