EasyManua.ls Logo

schmersal PROTECT-PSC - Page 221

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-87
Mode of operation of the translation process
In order to perform a check of the block of the ladder diagram shown as a state-
ment list, it is necessary to understand the principal procedure of PROTECT-
PSCsw during translation.
For the conversion of a ladder diagram into a statement list it is necessary to imag-
ine a virtual 1-register machine with a register width of 1 bit. In addition to the work-
ing register A, this machine has an interim memory (stack S0…S23) to save 24 1-
bit values. The working register always contains the result of the last operation
(Current Result (CR) according to IEC 61131). The interim memory is organised as
a stack. The last stored value is always located in S0. Every statement from table
7.10.4 can be specified as an instruction sequence for this virtual machine. Timer,
functions and edge detecting contacts are viewed as function call.
Working
register
Interim memory (stack)
A
S0
S1
S2
S3
S4
S5…S18
S19
S20
S21
S22
S23
T
T
a
a
b
b
l
l
e
e
6
6
-
-
2
2
7
7
m
m
e
e
m
m
o
o
r
r
y
y
o
o
f
f
t
t
h
h
e
e
v
v
i
i
r
r
t
t
u
u
a
a
l
l
m
m
a
a
c
c
h
h
i
i
n
n
e
e

Table of Contents