Programming / parameter assignment
Instruction Manual PROTECT-PSC
V 2.6R01 / 04.19
6-38
CNTH
This is an incrementing/decrementing counter. If the up/down input is HIGH, it acts
like an incrementing counter, and if it is LOW it acts like a decrementing counter.
6.10.7
Functions
A function is selected in the [Property] dialogue (to be reached via the main menu
[View]-[Property] or alternatively with a right mouse click on a symbol). In addition
to its function name, every function is defined by a clear function number. The
functions are stored internally in the
‘F’
memory area which is not accessible to the
programmer.
Flow control
START
F
F
i
i
g
g
u
u
r
r
e
e
6
6
-
-
3
3
0
0
L
L
a
a
d
d
d
d
e
e
r
r
d
d
i
i
a
a
g
g
r
r
a
a
m
m
s
s
y
y
m
m
b
b
o
o
l
l
/
/
s
s
t
t
a
a
t
t
e
e
m
m
e
e
n
n
t
t
f
f
o
o
r
r
S
S
T
T
A
A
R
R
T
T
f
f
u
u
n
n
c
c
t
t
i
i
o
o
n
n
Marks the program start. All blocks between START and END are executed in an
endless loop.
In order to execute blocks only once directly after initialisation (during the first pro-
gram run), you can also place your statements before the START function as an al-
ternative to interrogating the special flag V006.
END
F
F
i
i
g
g
u
u
r
r
e
e
6
6
-
-
3
3
1
1
L
L
a
a
d
d
d
d
e
e
r
r
d
d
i
i
a
a
g
g
r
r
a
a
m
m
s
s
y
y
m
m
b
b
o
o
l
l
/
/
s
s
t
t
a
a
t
t
e
e
m
m
e
e
n
n
t
t
f
f
o
o
r
r
E
E
N
N
D
D
f
f
u
u
n
n
c
c
t
t
i
i
o
o
n
n
Marks the end of the main program. All statements between END and PEND can
only be achieved by branches or subprogram calls.
This function has only been implemented for reasons of compatibility with other
control types and is without significance to the programming of the PROTECT-
PSC.
START FUN 448
END FUN 452
Summary of Contents for PROTECT-PSC
Page 4: ......
Page 8: ......
Page 112: ......
Page 132: ......
Page 252: ......
Page 265: ...Annex 8 Instruction Manual PROTECT PSC V 2 6R01 04 19 8 5 8 3 EC Type Examination certificate ...
Page 266: ...Annex 8 Instruction Manual PROTECT PSC V 2 6R01 04 19 8 6 8 4 Declarations of conformity W ...
Page 267: ...Annex 8 Instruction Manual PROTECT PSC V 2 6R01 04 19 8 7 8 5 Index ...