Siemens SIMATIC S5-115U User Manual page 429

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

S5-115U Manual
Parameter
Block Identifier: PFB:
SFB
p=238, 239
Block Identifier: CLP:
CLK
DBxDWy or MBy
STW
DBxDWy or MBy
SET
wd dd.mm.yy
hh:mn:ss AM/PM 1
TIS
hh:mn:ss AM/PM 1
hhhhhh:mn:ss 2
OHS
OHE
STP
SAV
CF
wd
=
1 to 7 (Weekday=Su to Sa)
tt
=
01 to 31 (Day)
mm
=
01 to 12 (Month)
yy
=
0 to 99 (Year)
hh
=
1 to 12 (AM/PM) 00 to 23
mn
=
00 to 59 (Minutes)
ss
=
00 to 59 (Seconds)
hhhhhh =
000000 to 999999 (Hours)
Block identifier: ERT
ERR
MBx or DByDWZ
1
If an argument (e.g. Weekday) is not to be transferred, enter XX! The clock will then continue with the current value. If
you specify AM or PM after the clock time, the clock will operate in the relevant 12-hour mode. If you omit this
argument, the clock will operate in 24-hr mode.
2
If an argument (e.g. minute) is not to be transferred, enter XX! The clock will then continue with the current value.
There is no parameter block for defining interprocessor communication flags. If you require these
flags for the use of particular CPs, proceed as described in Section 12.1.1. Only after defining the
interprocessor communication flags can you start assigning parameters to the functions described
in this section.
EWA 4NEB 811 6130-02b
Argument
" S ubstitute FB "
p q
Replace number p of the integral FB p (COMPR or
DELETE) with the number q
q=0 to 239, 252 to 255
(only in the case of CPU 943/944 with two interfaces)
" CL oc K Data" start of clock data area
" ST atus W ord" Position of the status word
Set clock time, date
" T imer I nterrupt S et"
wd dd.mm.
" O perating H ours counter S et"
" O perating H our counter E nable"
J/Y/N
" ST O P " Update clock in STOP state
J/Y/N
SAV e Save clock time after last RUN STOP or Power
J/Y/N
OFF
" C orrection F actor" Enter correction factor
p
" ERR ORs" Position of the error code
(x=0 to 236
y=2 to 255
z=0 to 255)
Integral Blocks
Meaning
Placement of FB
Clock Parameters
p=– 400 to 400
x=2 to 255
y=0 to 255
y/Y=yes
n/N=no
Error Return
11-55

Advertisement

Table of Contents
loading

Table of Contents