hit counter script

Siemens SIMATIC S5 CP 523 Manual page 92

Serial i/o module
Hide thumbs Also See for SIMATIC S5 CP 523:
Table of Contents

Advertisement

CP 523
Example:
Reading the current clock data
The module is set with to start address 128.
The clock data is to be output on digital output modules beginning address 8.
STL FB 102
NAME
:CLOCKDAT
:L
KH 0000
:T
PW 128*
:L
PY 129
:T
QB
:L
PW 130
:T
QW
10
:L
PW 132
:T
QW
12
:L
PW 134
:T
QW
14
:BE
*
5.2
Note:
You can also evaluate the following in connection with the integral clock:
Module in restart routine (XF
The clock data is invalid.
Default time of day set (2X
This evaluation is relevant if you are operating your programmable controller without
battery backup.
Time of day or date error (3X
This error evaluation is relevant after you have set the clock.
Clock fault (1X
)
H
This error evaluation is only relevant after a restart.
EWA 4NEB 811 6044-02a
Load nonrelevant data into accumulator 1 and transfer it to word
0 of the CP so that the CP transfers current data to the transfer
memory.
Read current clock data and transfer it to digital output modules.
8
)
H
)
H
)
H
Explanation
Print Mode
6-37

Advertisement

Table of Contents
loading

Table of Contents