6ES5 242-1AA31
Siemens 6ES5 242-1AA31 IP 242A high-speed counter module
Siemens 6ES5 242-1AA31 is a SIMATIC S5 IP 242A counter module that processes high-speed pulses and incremental encoder signals on the board. It has five 16-bit pulse counters, two incremental encoder channels and seven digital outputs. Siemens’ 1AA31 test example uses a 5 V encoder with A and B pulses 90° out of phase.
The IP 242A specifications list selectable 5 V or 24 V inputs on channels 1–5 and counting up to 480 kHz, depending on input filtering. Channels 6 and 7 use 5 V differential RS-422 inputs for 24-bit up/down counting. The family specification lists a maximum encoder frequency of 500 kHz on these two channels.
Connectors and input levels
On the IP 242A front panel, X3 carries the count, start and stop inputs for the first five counters. X4 and X5 serve encoder channels 6 and 7 respectively. X6 carries all seven outputs. Match the S5 cables to the connector labels. In Siemens’ test setup, the digital input module and digital output module are separate I/O cards for the simulator.
CPU, addressing and STEP 5
Siemens’ 1AA31 table lists separate FB files for the S5-115U, S5-135U and S5-155U SIMATIC S5 controllers. The CPU 942, CPU 928 and CPU 946 pages help identify the processor. The CR 700-2 in the S5 rack range and the S5-135U and S5-135U/155U central controllers illustrate different hardware layouts. Check the fitted rack and rack interface before choosing a slot.
FB 178 uses page frame addressing, and FB 179 uses linear addressing. FB 180 writes to the module, FB 181 reads from it and FB 182 acknowledges interrupts. Record the FB version, page or start address and counter data block before replacing the board.
Related counter variants
6ES5 242-1AA32 is a separate IP 242A order number. The IP 242B 6ES5 242-1AA41 uses 32-bit encoder channels and FB 183/184. Track 1AA12, 1AA13 and 1AA21 by their own order numbers. Use the respective wiring and programming references for the IP 246I in the positioning module range and the IP 281 counter.
Editor’s note
1. Photograph the 1AA31 label, hardware revision and X3–X6 connectors before ordering a spare.
2. Record the input-level jumpers for the first five counters and the address switches before removing the module.
3. If channel 6 or 7 does not count, check the A/B differential pairs and any N and SYN connections against the machine drawing.
4. If the module sends data but the count is incorrect, check the STEP 5 page or start address, the FB selected and the channel’s count direction.
5. For a used board, ask for a test record covering all five pulse inputs and forward and reverse counts on both encoder channels.
Buying or selling a used module
For a quote, share the label photo, quantity and operating condition. Confirm the price and bench-test arrangements with the quote. To sell a module, email otomasyonavm@gmail.com.
Related topics
+ IP 242A counter module 6ES5 242-1AA32
+ IP 242B counter module 6ES5 242-1AA41
Second-hand Siemens
OtomasyonAVM PDF archive
+ Siemens SIMATIC S5 manuals and PDF archive
External references
+ Siemens IP 242A/B manual, 6ES5 998-0KM21, English — exact 1AA31 in §§12.2 and 13.1
+ Siemens IP 242A/B manual, 6ES5 998-0KM11, German — §§12.2 and 13.1
+ Siemens ST 50, p. 4/29 — IP 242A standard FB version table