6ES5 242-1AA13

Siemens 6ES5 242-1AA13 is the compact IP 242 high-speed counter module for SIMATIC S5. Its five 16-bit counters count sensor pulses up or down independently of the CPU scan. Each channel has a count input, a gate input that starts or enables counting, and a counter output. The counters can run independently or be cascaded for a wider count.

Input levels and frequency. Siemens specifies a maximum of 2 MHz at 5 V TTL and 200 kHz at 24 V DC. The factory input setup is for 24 V signals. A used module may have modified input resistors or filter capacitors. The achievable count rate depends on the channel hardware and signal quality.

Connectors and power. The five 9-pin D-sub sockets on the front panel, X3 through X7, serve counters 1–5 in order. The module electronics take 5 V DC from the S5 backplane. A counter output used at the front socket requires a separate external 24 V DC supply for its output circuit.

PLC and STEP 5. The manual specifies an adapter casing for S5-115U. Check CPU and slot requirements for S5-135U, S5-150S/U and S5-155U. FB 158 tests and parameterizes the module. FB 159 controls the counter and reads its value.

OtomasyonAVM PDF archive

+ Shared Siemens S5 PDF archive

Checking signals, addressing and spares

Signal source. Identify the signal level from the inductive sensor or encoder feeding the high-speed counter. Check the pulse count of the incremental encoder and its output type separately. If it is marked line driver, compare the output circuit with the module’s input diagram.

Counting at speed. A 1000-pulse-per-revolution encoder generates 50 kHz on one pulse channel at 3000 rpm. If counting is correct at low speed but pulses are missed at high speed, check the filter and signal cable. If the machine turns but no pulses arrive, check the encoder coupling as well.

Module address. The IP 242 address in the SIMATIC S5 project must match the module’s S1 address switch. Check whether the chosen S5 rack slot provides the interrupt line required by the project. See S5 special modules, S5 function modules and the S5 system overview for the rack and program context.

Spare module. Read the full label when checking used high-speed counter modules. 6ES5 242-1AA12, 6ES5 242-1AA21, 6ES5 242-1AA31, 6ES5 242-1AA32 and 6ES5 242-1AA41 are separate order numbers. Check the signal levels, sockets, addressing and STEP 5 blocks together when selecting a spare.

Editor’s note

Label the X3–X7 plugs by channel before removing the module. Photograph S1 and the jumpers, and back up the STEP 5 project and parameter data block.

If the count never changes, check for pulses at the corresponding socket and verify the gate state. If pulses are present, confirm FB 159 is starting the correct channel.

If the count is correct at low speed and misses pulses at high speed, check the waveform at the module input with an oscilloscope. Establish the signal level and filter setting before using 2 MHz as a test target.

If counting starts on the wrong edge after replacement, compare input polarity and the selected counting edge. Siemens documents different optocoupler input responses for the older AA11 and the AA13.

If the PLC reads a count but the front socket does not switch, check the external AxP/AxM supply and the programmed output mode.

For a used module, request a test with a known number of pulses, a gate stop and a check of the output used by the application.

Have this module to sell? Send the label photo, quantity, working condition or fault details, and asking price to otomasyonavm@gmail.com.

Related topics

+ 6ES5 242-1AA32 IP 242A counter

+ 6ES5 242-1AA41 IP 242B counter

+ 6ES5 240-1AA21 IP 240 counter and position decoder

+ Counters and tachometers

Navigation

+ S5 special modules

+ SIMATIC S5

+ Second-hand Siemens

External references

+ Siemens IP 242 equipment manual (German PDF) · §1.1, exact 1AA13 order number and five channels.

+ Siemens IP 242 technical data (German PDF) · §9, power and input frequencies.

+ Siemens IP 242 front sockets (German PDF) · §2.8, X3–X7 and pin diagram.

+ Siemens IP 242 technical reference (English PDF) · hardware and FB 158/159.

+ Siemens S5 migration guide (PDF) · p. 48, IP 242 variant identification.