6ES5 242-1AA41
Siemens 6ES5 242-1AA41 SIMATIC S5 IP 242B high-speed counter module
The 6ES5 242-1AA41 is a SIMATIC S5 IP 242B high-speed counter module with seven independent channels. Channels 1–5 are 16-bit counters with jumper-selectable 5 V or 24 V inputs and count at up to 480 kHz without additional filter capacitors. Channels 6–7 are 32-bit up/down counters for 5 V RS-422 incremental encoder signals up to 500 kHz.
+ OtomasyonAVM SIMATIC S5 PDF archive
Counting, encoder and supply specifications
Channels 1–5 have separate gate inputs for pulse counting and for frequency or time measurement. Select the high-speed counter mode for the application. On channels 6–7, the incremental encoder’s A/B signals are 90° out of phase and determine the count direction. Distinguish the differential line driver from other encoder output types. Siemens lists the 6ES5 242-1AU11 converter for a 24 V single-ended encoder on these channels.
The 37-pin Sub-D X3 carries pulse, start and stop inputs for channels 1–5. The 9-pin Sub-D connectors X4 and X5 carry encoder inputs for channels 6 and 7 respectively. The 15-pin Sub-D X6 carries all seven counter outputs and the external 24 V DC supply. Use the pin assignment when selecting the cable and connector. Check the shield and grounding against the machine schematic.
The module occupies one S5 rack slot. If the application uses interrupts, verify the slot assignment in section 10.12 of the manual. It draws about 1.1 A at 5 V DC from the backplane. The continuous range for the external 24 V DC supply at X6 is 20–30 V DC and its no-load draw is about 50 mA. Check the backplane and X6 power supplies separately.
CPU compatibility and STEP 5
Siemens lists CPU 941A/B through 944A/B for the S5-115U, CPU 922 (FW 9.0 or later), CPU 928A (3UA12 or later) and 928B for the S5-135U, and CPU 946/947 for the S5-155U. The CPU 944, CPU 928A 3UA12 and CPU 946 pages illustrate the order numbers to compare when selecting a spare.
The IP 242B uses page frame addressing. The base address is F400H, S3.8 is set to ON, and S4 sets the page frame number. In the STEP 5 project, FB 183 parameterizes and controls the counter, while FB 184 processes interrupts. During online troubleshooting, compare the address in the FB call with S4. The IP 242B can process measurements on the module and store a sequence of values.
Variant differences and troubleshooting
Channels 6–7 of the IP 242A 1AA32 are 24-bit. On the 1AA41, they are 32-bit. The 1AA32 uses FB 178–182 and the 1AA41 uses FB 183–184. The IP 242 1AA13 and IP 240 1AA21 are separate models. Compare the module order number, STEP 5 blocks and field wiring before replacement.
If the PLC shows no count, check the schematic to see whether the signal goes to the IP 242B or to the PLC digital inputs. If a physical output is expected at a threshold, monitor the OUT channel at X6 and the PLC output command separately. If the pulse count disagrees with actual travel, check the encoder coupling and axis scaling.
Editor’s note
1. For a used module, ask for photos of the 242-1AA41 label and X3–X6 connectors. Ask to see a test on one general-purpose channel and up/down encoder counting on channels 6 and 7.
2. Back up the STEP 5 project and parameter DBs before replacement. After isolating the supplies, photograph S1–S4 and BR3–BR17. Compare the spare’s settings with those of the original module.
3. If pulses reach a channel from 1 to 5 but the count stays unchanged, check the CNT input level and STA/STO conditions separately. Verify the 5 V or 24 V jumper setting for each input.
4. If channel 6 or 7 counts in the wrong direction, compare the A/B phase order, differential pairs and expected direction in the PLC. Verify any change with a controlled test.
5. If the green RUN LED flashes after startup and the red F LED is off, the module may have passed its startup test and still be waiting for parameters. Check the FB 183 call, parameter DB and page frame number first.
6. If counts are accurate at low speed and drop at higher speed, measure the input frequency and waveform. Check the fitted filter on channels 1–5 or the differential line on channels 6–7, then repeat the same test.
Related topics
Used Siemens equipment
To sell a 6ES5 242-1AA41, send the quantity, working condition, label photo and asking price to otomasyonavm@gmail.com.
External sources
+ Siemens IP 242A/B manual, X3–X6 connectors (EN)
+ Siemens IP 242B, FB 183 and FB 184 (EN)
+ Siemens IP 242A/B manual, counter specifications (DE)
+ Siemens ST 50, 1AA41 specifications and ordering data (EN)