6ES5 240-5AA11

Siemens 6ES5 240-5AA11 IP 240 configuration package · German

The 6ES5 240-5AA11 is the German-language configuration package for counting, position decoding and positioning with the IP 240 in SIMATIC S5 systems. Siemens lists a manual and standard STEP 5 function blocks in the package. The IP 240 hardware is ordered separately. The catalogue lists 6ES5 240-1AA21 for the hardware and 6ES5 240-5AA21 for the English-language package.

STEP 5 function blocks

FB 171 / FB 172 are for counting, FB 169 / FB 170 for position decoding and FB 167 / FB 168 for positioning. In each pair, the first FB configures the operating mode and the second handles control and data exchange. The IP 240 and CPU exchange data through a DB in the project. Siemens supplies PLC-specific blocks. For the S5-115U, consult the catalogue table for CPUs such as the CPU 941, CPU 943 and CPU 945. Use the full CPU order number and version for projects with a CPU 928 or CPU 948 as well.

Disk, project and hardware checks

The part listing describes software on floppy disk, printed documentation and a single-installation licence. When backing up a working machine, document the PG connection cable and memory card details. For an older project with a 6ES5 240-1AA12 board, check the IP 240 order number, module address and rack slot. For example, record the slot layout before removing equipment from a CR 700-2 rack.

If the FB call is correct but no pulses are counted, start with the encoder signal reaching the IP 240. Match the incremental encoder output type to the board’s input settings. During testing, watch the raw channel value alongside the machine’s digital input conditions and digital output states. If the field signal is missing, check the power supply and wiring to separate field faults from software faults.

Editor’s note

+ When buying a used package, check the 5AA11 code on the box and disk labels. Ask whether the disk is readable and whether the printed German manual and licence paperwork are included.

+ If the disk is readable, write-protect the original and make a working copy within the licence terms. Verify that the required STEP 5 blocks open from the copy.

+ Back up the project from the working PLC. Record the FB pair in use, the calling OB, the DB number and the IP 240 module address.

+ If the project also uses a WF 625 with an operator panel, check for duplicate FB numbers. Siemens identifies this overlap. Compare the blocks in a project copy and trace which calls go to each module.

+ When replacing the CPU or board, check the CPU variant, module revision and DB length before loading the old DB. During restart, verify that the configuration FB completes successfully.

+ Under the site commissioning procedure, test counting mode with a known number of pulses. In positioning mode, verify reference and direction first, then check the target-reached status.

To sell a package, email photos of the box and disk, a contents list, the disk’s readability and your asking price to otomasyonavm@gmail.com.

PDFs and Siemens references

+ Siemens ST 50, 5AA11 ordering data, p. 4/54 (EN)

+ Siemens ST 50, IP 240 standard function blocks, pp. 7/109–7/112 (EN)

+ IP 240 manual, STEP 5 block table, p. 6-3 (DE)

+ IP 240 manual, FB and DB descriptions, pp. 6-3–6-4 (EN)

+ IP 240 hardware supplement for 1AA21 and earlier boards (DE)

+ Siemens S5 PDF archive

Related topics

+ About Siemens S5 PLCs

+ IP 240 hardware · 6ES5 240-1AA21

+ Encoder output signal types

Second-hand Siemens

+ S5 positioning modules

+ S5 CPU range

+ Siemens S5

+ Second-hand Siemens main page