R02/92
Programming Instructions
9.1
Overview
These programming instructions describe the following two standard function blocks:
FB 156 (PER:WPA)
“Parameterize position decoder”
FB 157
(PER:WST)
“Control position decoder”
FB 158 (PER:WSI)
“Control position decoder (indirect parameterization)”
The function blocks are used in connection with the
1P
241 digital position decoder module
in the following programmable controllers:
FB 156
FB 157 FB 158
PLCICPU
x
x x
S5–115U CPU 941A/B to 944A/B
x
x x
S5-135U
CPU 922, 928A/B
x
x x
s5–150u/s
x x
x
S5–155U
These programming instructions require the user to be familiar with sections 1 to 8 of the operating
instructions for the respective programmable controller.
The following example shows a test assembly with the
1P
241 digital position decoder for testing
the jumper assignments and functions in an easy fashion. This test program can be also used as
the basis for an automation task to be realized.
The files of the function blocks with example together with commentary blocks in English and
French for the respective programmable controllers are located on the S5–DOS floppy disk.
Function Block Commentary Block
PLC
S5–
German
English
French
S5KXXXSTIS5D
ECKXXXSTS5D
FCKXXXST.S5D
115U S5KA50ST.S5D
ECKA50ST.S5D
FCKA50ST.S5D
135U
S5KB22ST.S5D
ECKB22ST.S5D
FCKB22ST.S5D
150u/s
S5KA40ST.S5D ECKA40ST.S5D
FCKA40ST.S5D
155U
@
S5KA60STS5D
ECKA60ST.S5D
FCKA60ST.S5D
Copy the commentary blocks to file
S5KXXST.S5D
to obtain the commentaries in your language on
the printout of the example.
The pertaining title block files are:
S5KXXXF1
.INI
ECKXXXF1
.INI
FCKXXXF1
.INI
0
When a CPU 922 or928A/B is used in
PLC
S5–155U, use the
xxKB22STS5D
files.
1P
241 Equipment Manual
@SiemensA(31989, Order No.: 6ES5998-0KD21
9–1
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com