EasyManua.ls Logo

schmersal PROTECT-PSC - Page 173

schmersal PROTECT-PSC
267 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming / parameter assignment
6
Instruction Manual PROTECT-PSC
V 2.6R01 / 04.19
6-39
PEND
F
F
i
i
g
g
u
u
r
r
e
e
6
6
-
-
3
3
2
2
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
P
P
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 program. Statements after this function are not taken into
consideration.
If you do not wish to execute specific program parts for the time being during the
program test or during trouble-shooting, move these to behind the END or PEND
function. This will save you the necessity of storing several test versions.
Application instructions (PN program only)
Comparison
Command
OP1
OP2
Function
=H
S
1
H
Comparison of a register with a
constant or of two registers. If the
condition ‘=’ is satisfied, then the
result is HIGH.
W=H
=N
S
1
S
2
W=N
<>H
S
1
H
Comparison of a register with a
constant or of two registers. If the
condition ‘<>’ is satisfied, then the
result is HIGH.
W<>H
<>N
S
1
S
2
W<>N
>H
S
1
H
Comparison of a register with a
constant or of two registers. If the
condition ‘>’ is satisfied, then the
result is HIGH.
W>H
>N
S
1
S
2
W>N
>=H
S
1
H
Comparison of a register with a
constant or of two registers. If the
condition ‘>=’ is satisfied, then the
result is HIGH.
W>=H
>=N
S
1
S
2
W>=N
<H
S
1
H
Comparison of a register with a
constant or of two registers. If the
condition ‘<’ is satisfied, then the
result is HIGH.
W<H
<N
S
1
S
2
W<N
<=H
S
1
H
Comparison of a register with a
constant or of two registers. If the
condition ‘<=’ is satisfied, then the
result is HIGH.
W<=H
<=N
S
1
S
2
W<=N
Agenda
S
1,2
: register,
H : hexadecimal constant
T
T
a
a
b
b
l
l
e
e
6
6
-
-
5
5
O
O
v
v
e
e
r
r
v
v
i
i
e
e
w
w
o
o
f
f
t
t
h
h
e
e
c
c
o
o
m
m
p
p
a
a
r
r
i
i
s
s
o
o
n
n
f
f
u
u
n
n
c
c
t
t
i
i
o
o
n
n
s
s
PEND FUN 456

Table of Contents