6ES5 521-8MA22
6ES5 521-8MA22 Siemens SIMATIC S5 CP 521 SI Serial Communications Processor
The Siemens 6ES5 521-8MA22 is a CP 521 SI serial communications processor for SIMATIC S5 S5-90U, S5-95U, S5-100U and ET 200U systems. It transfers data asynchronously between the PLC and a peripheral at 110–9600 baud. The front 25-pin D-sub supports either V.24 (RS-232C) or a 20 mA TTY current loop, depending on the interface setting. The module supports 10-bit and 11-bit character frames.
A typical installation uses the CP 521 SI to pass messages from a barcode reader to the PLC or to print process messages on a serial printer. The printer driver sends data in one direction. For communication with a terminal or another controller, select a bidirectional driver supported by both ends.
How do you select the serial interface and cable?
RS-232C uses voltage levels, while TTY uses a current loop. Both use the same D-sub socket. Before reusing an existing S5 cable, match the CP interface setting to the wiring at the peripheral end.
Siemens specifies a 15 m maximum for V.24 at 9600 baud. A TTY link can reach up to 1000 m where cable voltage drop and the connected equipment permit it. The TTY interface is designed for passive operation. Active TTY uses the 24 V supply arrangement shown in the manual and operates without galvanic isolation.
Which driver does the application use?
Bidirectional options include transparent and interpretive ASCII, 3964(R), SINEC L1 and the terminal driver. For ASCII links, set the message length or end characters to suit the application. If V.24 hardware handshaking is enabled, check RTS, CTS, DTR and DSR against the wiring diagram for the selected driver.
Siemens lists the 6ES5 897-2AB11 special driver for certain connections to a CP 524 or CP 525-2. For a Modbus RTU installation, check which driver package is fitted. Siemens documents the 6ES5 897-8QA01 package separately for RTU slave operation.
How do you check the slot, CPU version and address?
Confirm the permitted CP slot in the system manual for the installed S5 mounting arrangement. On an S5-100U bus unit, set the slot coding element to 6. The module takes power from the bus, with a typical draw of 140 mA from the +9 V rail.
For the S5-100U, the manual lists CPU 100 from 6ES5 100-8MA02 onward, as well as the CPU 102 and CPU 103 families. With the CPU 102-8MA01 and CPU 103-8MA01, the highest permitted CP slot is 6.
In a local S5 installation, the CP uses 8 input bytes and 8 output bytes at the same numeric addresses. For example, slot 3 starts at byte 88 and spans 88–95. In an ET 200U station, check the IM 318-B station interface and use the module address assigned in the master project.
Where are the parameters stored?
The CPU program can send the serial parameters to the CP, or the parameters can be stored in DB1 on an EPROM or EEPROM submodule. Siemens lists 8 KB EEPROM options such as the 6ES5 375-0LC31. The memory submodule can also hold message texts for printer applications.
The module battery backs up the real-time clock and parameters held in RAM during a power interruption. Siemens lists the 6ES5 980-0MA11 lithium battery rated at 3.6 V / 850 mAh. In an ET 200U station, storing the parameters on a memory submodule helps restore the configuration when station power returns.
How do the 8MA21 and 8MA22 differ?
Siemens lists the same two enhancements for 6ES5 521-8MA21 version 5 and 8MA22 version 1. The additional interpretive ASCII mode passes 7Fh and 08h without applying their deletion functions. The D0h CPU job clears the receive mailbox. Siemens also documents a connector pin assignment change between earlier 8MA21 revisions.
Siemens documents the 6ES5 521-8MA11 as a printer communications module and the 6ES5 521-8MB12 as the CP 521 BASIC. When selecting a spare, check the SI marking, the full order number and the version on the module.
Editor’s note
Before removing the card, record the 6ES5 521-8MA22 nameplate, version and serial cable connections. When replacing an older 8MA21, compare the cable with the pin assignment for that revision.
Record the module slot and the starting address used in the PLC program. If the CP moves to another slot, check that the program addresses match the new position.
Before fitting a spare, record the DB1 parameters, the memory submodule order number and any printer message texts. If the yellow BATT indicator is on, check the clock and RAM backup.
If TxD flashes and RxD stays idle, check the peripheral’s response, cable and handshaking. If RxD shows activity but the PLC receives no message, check the CP status code, frame settings and receive job.
The D0h job can briefly interrupt serial reception. A continuously transmitting peripheral may leave the first frame incomplete. Run the job in a controlled interval and read the CP acknowledgement before issuing the next CPU job.
OtomasyonAVM resources and PDFs
Siemens SIMATIC S5 PLC guide · S5 communications processors
SIMATIC S5-90U PDF archive · OtomasyonAVM SIMATIC S5 PDF archive · Siemens ET 200 user manuals
Related topics
Related modules · CP 521 SI 6ES5 521-8MA21 · CP 521 BASIC 6ES5 521-8MB12
Serial links and station hardware · RS-232 serial communications · ET 200U IM 318-B interface
Browse SIMATIC S5
Used Siemens SIMATIC S5 equipment › SIMATIC S5 › S5 communications modules
Siemens documentation and external references
Siemens CP 521 SI Communications Processor manual · 6ES5 998-1UD21, pin assignments, addressing, drivers and revisions
Siemens SIMATIC S5-100U system manual · Section 15.13.1, 6ES5 521-8MA22 specifications
Siemens 6ES5 521-8MA22 product data sheet · Order number and supported systems, German PDF
Siemens CP 521 SI/BASIC Modbus RTU slave driver manual · 6ES5 897-8QA01 special driver package