R 02/92
Programming Instructions
9.5
Example
This example shows the operation of the digital position decoder 
1P
 241. By means of a simulator,
the individual functions can be selected via digital inputs; the signal states can be displayed via
digital outputs. It explains how a channel is parameterized with an incremental encoder module.
The actual value and the track identifier bits can be read and, depending on the parameterization,
a process interrupt can be triggered.
This example also describes the required jumper settings. It can be used as a test program to
check jumper settings or module functions.
9.5.1 Device Configuration
For a test of the digital position decoder 
1P
 241, the following devices can be used:
– One of the mentioned programmable controllers
– Programmer (e.g., PG 750)
– Digital position decoder (basic module) 
1P
 241
(6ES5
 241–IAA12) with a 50–way sub D connector
- Encoder matching module, incremental 
(6ES5
 241 -1 
AB12)
– Rotary transducer (5 V), symmetrical operation and two-phase displaced pulse sequences
– Digital input module; front connector with screw mounting
– Digital output module; front connector with screw mounting
– 1 Simulator(6ES5788–01A12)
1P
 241 Equipment Manual
@ 
Siemens
 AG 1989, Order No.: 
6ES5
 998-0KD21
9 – 45
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com