Programming Instructions
R
02/92
9.2
Function Block FB 156 (PER:WPA)
9.2.1 Function Description
The function block “parameterize position decoder” supplies the module with the initial and final
track
setpoints
for both channels including the zero shift. If necessary the interrupt identifier bits
are set.
The data to be transferred is stored in a user data block. The required data must be entered there
by the user prior to calling the function block.
Prior to parameter assignment, the data on the module is deleted. The firmware contents are read
and entered into the data block.
In the S5–115U, the function block is usually called by organization block
OB20
(or
OB21
pro-
grammable controller S5–115U) if there is a cold restart.
Function
Transfer of the specified
setpoints
from the user data block to the digital position decoder module
1P
241.
9.2.2 Calling the Function Block
In the STL (Statement List):
In the
LAD/CSF
(Ladder Diagram/
Control System Flow Chart)
S5-115U
:JU
FB156
FB 156
NAME
:PER:WPA
BGDB
:
PAFE
:
SPFE
:
=
S5–135U
s5–150u/s
S5–155U
:JU
FB156
NAME
:PER:WPA
BGDB
:
P/Q :
PAFE
:
SPFE
:
FB 156
-
9–2
1P
241 Equipment Manual
@
Siemens AG 1989, Order No.: 6ES5
998-0KD21
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com