6ES5 521-8MA11

Siemens 6ES5 521-8MA11 CP 521 Printer and ASCII Communications Module

The Siemens 6ES5 521-8MA11 is the CP 521 printer and ASCII communications module for S5-90U, S5-95U and S5-100U systems in the SIMATIC S5 family. Its front 25-pin D-sub port supports V.24 (RS-232-C) or passive 20 mA TTY at 110–9600 baud. The module draws 140 mA typically from the CPU’s 9 V bus supply. S5-100U compatibility depends on the full CPU order number.

In print mode, the CP 521 sends fault and process messages triggered by the PLC to a serial printer. A message can include the date, time and measured values from the PLC, such as a machine stoppage time or an end-of-shift count. In ASCII mode, the module can exchange data in both directions with a serial peripheral.

Which interface and cable does the printer use?

RS-232-C uses voltage signals. TTY uses a current loop, and the CP 521’s TTY interface is passive. The active interface on the other device supplies loop current. When selecting an S5 serial cable, check the signal type and pinout as well as the connector.

For the PT 88 printer, Siemens lists the 6ES5 735-2BD20 cable for RS-232-C and the 6ES5 736-0BD20 for TTY. The specifications give 30 m for TTY with the PT 88 and 15 m for RS-232-C. Match the baud rate, parity, character format and the configured BUSY or XON/XOFF setting at both ends.

Where are the message texts and serial settings stored?

The printer interface parameters can be configured in DB 1 on the CP’s memory submodule. The same submodule can hold the print message texts. Siemens lists the 8 KB 6ES5 375-0LA15 EPROM, 2 KB 6ES5 375-0LC11 EEPROM and 8 KB 6ES5 375-0LC31 EEPROM as accessories.

In print mode, the PLC passes the print job and its data to the CP. In ASCII mode, the PLC can also send serial parameters during operation with job 90H. When replacing the module, check both the memory contents and the CP parameter jobs in the STEP 5 program.

Which CPU and slot can you use?

The CPU 100 6ES5 100-8MA01 does not support this CP. Check the full label to identify other S5-100U revisions, such as the CPU 100 8MA02 and CPU 102 8MA02. The CP is assigned to slots 0–7. Slot 7 is unavailable with the CPU 102 8MA01 and CPU 103 8MA01.

The CP fits the installed bus unit, such as the 6ES5 700-8MA11 or 6ES5 700-8MA22. Siemens specifies position 6 for the bus unit’s coding element. The serial cable connects at the front port. When checking S5 system power, distinguish the 24 V supply, such as the PS 930 or PS 931, from the 9 V bus supply that the CPU provides to the CP.

STEP 5 addresses the CP like a four-channel analog module. Each slot uses eight bytes in the process input image and eight bytes in the process output image. For example, slot 3 uses addresses 88–95. If the CP moves to another slot, check the job and status addresses in the PLC program.

How do the 8MA11, 8MA21 and 8MA22 differ?

In the S5 communications range, the 8MA11 is the printer and ASCII version. The 6ES5 521-8MA21 and 6ES5 521-8MA22 are CP 521 SI versions. For a spare in an existing print application, check the full order number, the memory submodule and the jobs sent by the PLC.

Editor’s note

Record the full CP order number, CPU suffix and slot number before removal. Check the installation table carefully for CPUs marked 8MA01.

Back up the working EPROM or EEPROM contents. Switch off the supply before inserting or removing the memory submodule.

If the printer gives no response, start with the RS-232-C or TTY selection and the printer’s ready status. On a TTY link, identify which device supplies loop current.

If the printout contains garbled characters, compare the baud rate, parity and character format at both ends. If a printout stops partway through, check flow control and the printer’s ready signal.

If the yellow battery LED is on, check the backup battery and the module status byte. After replacement, print a known message and verify the text, variable value and timestamp.

OtomasyonAVM resources and PDFs

See the Siemens SIMATIC S5 PLC overview and the S5 serial communications modules section for related systems.

Browse the SIMATIC S5-90U PDF archive and the SIMATIC S5 PDF archive that lists the S5-100U manual.

Related topics

CP 521 SI 8MA21, CP 521 SI 8MA22 and PT 88 V.24 printer cable.

Browse the S5 range

SIMATIC S5 CPU family and S5 communications modules.

If you have a module to sell, send a label photo, quantity and working condition to otomasyonavm@gmail.com.

Siemens and external technical references

Siemens CP 521 Printer/ASCII Communications Module manual, 6ES5 998-0UD21 (PDF)

Siemens SIMATIC S5-100U system manual, Section 15.10.1 – 6ES5 521-8MA11