6ES5 521-8MA21

Siemens 6ES5 521-8MA21 SIMATIC S5 CP 521 SI Serial Communications Processor

The Siemens 6ES5 521-8MA21 is a CP 521 SI communications processor for transferring data between a PLC and a serial peripheral. It is used with the S5-90U, S5-95U, S5-100U and ET 200U stations fitted with an IM 318-B. A single 25-pin D-sub port supports RS-232C (V.24) or a TTY current loop. The asynchronous serial port runs at 110 to 9,600 baud.

The PLC can send process messages to a printer or exchange data in both directions with a terminal or barcode reader. The CP 521 8MA11 is the printer version. The 8MA21 also offers ASCII, 3964(R), terminal and SINEC L1 drivers for two-way communication. Match the driver, character framing and handshaking to the connected device.

How is the serial cable wired?

Siemens specifies a maximum cable length of 15 m at 9,600 baud for RS-232C. For passive 20 mA TTY, the available length depends on voltage drop and can reach 1,000 m. For active TTY, Siemens documents a 24 V supply through the connector. This arrangement has no galvanic isolation. When choosing an S5 connection cable, check the CP pinout for the installed hardware revision against the peripheral wiring diagram.

On a SINEC L1 network, the CP 521 SI can connect an S5-100U station as a slave through a BT 777 bus terminal. This configuration uses a CP 530 at the master station. Check the serial connection and the PLC-to-CP data exchange separately.

Which CPUs, slots and addresses can the CP use?

For the S5-100U, CPU 100 support starts with 6ES5 100-8MA02. Siemens’ compatibility list for this CP excludes the earlier 6ES5 100-8MA01. The CPU 102 and CPU 103 are also supported. The manual excludes slot 7 for 6ES5 102-8MA01 and 6ES5 103-8MA01.

The CP mounts on the bus unit with mechanical coding position 6. The PLC maps it into the analog peripheral address area with 8 input bytes and 8 output bytes. The S5-90U uses slots 0–5. Other listed configurations use slots 0–7, subject to the exceptions in the manual. With several CPs installed, check the available analog address space and the S5 system supply’s +9 V current budget. The CP draws 140 mA typical.

For ET 200U, use the configuration for the installed interface module. The CP 521 SI module identifier is 223 for DP Siemens and 4AX or 243 for DP Standard. Siemens recommends storing the parameters in a memory submodule for IM 318-B stations so the settings can be reloaded after a station outage.

Where are the settings stored and what do the LEDs show?

The PLC program can send the serial parameters, or the CP can load them from DB1 on an EPROM or EEPROM submodule. Siemens lists the 6ES5 375-0LA15 and 6ES5 375-0LA21 as usable EPROM examples. Use the programming number specified for the full submodule order code.

TxD indicates transmit activity, RxD indicates receive activity, RTS means ready to send, and the yellow BATT LED signals a battery fault. If the serial link is active but the PLC data stays fixed, check the slot addresses and the CP’s job response in STEP 5.

Editor’s note

Record the hardware revision from the label. Siemens documents a connector pinout change between 8MA21 revisions 1 and 2. If you are considering an 8MA22 as a replacement, compare the installed cable and the job commands used by the program.

Save the serial setup before removal. Record the baud rate, parity, character framing, handshaking and driver. Keep a copy of DB1 with the S5 project. Switch off rack power before removing the CP or memory submodule.

Keep the PG and peripheral connections separate. The 734-2 programming cable to the PLC serves a different purpose from the CP peripheral cable. Check the peripheral cable end to end against the installed wiring diagram.

Watch both ends during the first test. If TxD shows activity but RxD stays dark, check the peer settings and the line first. On a TTY link, use the wiring diagram to identify which side supplies loop current.

Test a spare in an operating setup. Record the CP slot and hardware revision used with the SIMATIC S5 CPU. In a two-way application, verify that the reply reaches the PLC after a send.

OtomasyonAVM resources and PDFs

Siemens S5 hardware and STEP 5 guide · S5-90U to S5-115U CPU pages

OtomasyonAVM SIMATIC S5 PDF archive

Related topics

CP 521 SI 6ES5 521-8MA22 · CP 521 6ES5 521-8MA11 printer module · ET 200U IM 318-B · SINEC L1 BT 777

S5 navigation

Siemens S5 PLC · SIMATIC S5 · S5 90/110 modules · S5 communications modules

External references

Siemens CP 521 SI manual, technical data and 25-pin serial port (English PDF) · Siemens CP 521 SI 8MA21 hardware revision changes (English PDF)

Siemens ET 200U station manual, CP 521 SI, section 9.14 (English PDF)