{"schemaVersion":"matrix-product-facts/v1","identity":{"mpn":"6ES7211-0BA22-0XB0","brand":"Siemens","brandSlug":"siemens","productSlug":"6ES7211-0BA22-0XB0","canonicalUrl":"https://aoctrl.com/siemens/6ES7211-0BA22-0XB0","factsUrl":"https://aoctrl.com/api/mcp/products/6ES7211-0BA22-0XB0","rawCanonicalId":null},"summary":{"shortDescription":"Siemens S7-200 CPU 221, order code 6ES7211-0BA22-0XB0, compact PLC with 6 digital inputs and 4 relay outputs, 100-230 V AC supply, 4 KB program memory.","salesMarkdown":"## What this S7-200 CPU 221 does in a panel The Siemens 6ES7211-0BA22-0XB0 is a S7-200 CPU 221, the smallest fixed-I/O member of the S7-200 family, designed for standalone control of small machines or as a remote I/O node on an MPI or PPI network. It carries 6 digital inputs (sink/source configurable per group) and 4 relay outputs rated for 200 W on lamp load with AC, or 30 W on DC — enough to switch contactors, solenoid valves, and indicator lamps directly without interposing relays. The CPU runs on a 100 V AC to 230 V AC supply, with the 24 V DC sensor supply drawn from the same power rail, so it fits panels where a separate 24 V power supply is not already present. ## Programming and protocol support Programming is done in LAD, FBD, or STL via Siemens STEP 7-Micro/WIN software; the instruction set covers bit logic, timers, counters, integer and floating-point math, and communications instructions. The integrated RS 485 interface supports PPI protocol for programming and HMI communication (TD 200, OP) at 9.6/19.2/187.5 kbit/s, and MPI protocol for data exchange with S7-300/S7-400 CPUs and operator panels at 19.2/187.5 kbit/s. Program memory is 4 KB, stored maintenance-free on integral EEPROM; data in DB 1 is also EEPROM-backed, while current values, retentive bits, timers, and counters are buffered by a high-performance capacitor (50 h backup typical, 8 h minimum at 40 °C) or an optional battery module for up to 200 days. ## Input and counting capability The 6 digital inputs accept 2-wire sensors, with signal '0' at 0 to 5 V and signal '1' at minimum 15 V, making them compatible with most 24 V DC proximity switches and pushbuttons. Four high-speed counters (30 kHz each, 32-bit including sign) can be used as up/down counters or to connect two incremental encoders with 90° phase-shifted pulse trains at up to 20 kHz, with parameterizable enable/reset and interrupt on setpoint reach. The CPU also includes 256 timers: 4 timers covering 1 ms to 30 s, 16 timers covering 10 ms to 5 min, and 236 timers covering 100 ms to 54 min — enough range for most machine-cycle timing without an external timer module. The RS 485 port supports shielded cable runs up to 500 m and unshielded up to 150 m, so the CPU can be located at the machine rather than in a central cabinet. Operating humidity range is 5 % to 95 % RH (class 2 per IEC 1131-2), and the unit dissipates 6 W typical — no forced cooling needed in a standard IP20 enclosure. This is the original S7-200 CPU 221 variant with the 22XB0 firmware version; it is still supported by STEP 7-Micro/WIN and remains a common spare part for installed S7-200 systems.","metaTitle":"Siemens 6ES7211-0BA22-0XB0 S7-200 CPU 221, 100-230 V AC","metaDescription":"Siemens S7-200 CPU 221 PLC, 6ES7211-0BA22-0XB0. 100-230 V AC supply, 6 DI / 4 DO relay, 4 KB program memory. Active production, available to order.","metaKeywords":null},"attributes":{"series":null,"packageCase":null,"mountingType":null,"rohsStatus":null,"productStatus":null,"categoryPath":["PLCs (Programmable Logic Controllers)"],"specifications":{"FBD":"Yes","LAD":"Yes","MPI":"Yes; As MPI slave for data exchange with MPI masters (S7-300/S7-400 CPUs, OPs, TDs, Push Button Panels); S7-200-internal CPU/CPU communication is possible in the MPI network with restrictions; transmission rates: 19.2/187.5 kbit/s","PPI":"Yes; with PPI protocol for program functions, HMI functions (TD 200, OP), S7-200-internal CPU/CPU communication ; transmission rates 9.6/19.2/187.5 kbit/s","STL":"Yes","24 V":"Yes; Permissible range: 20.4V to 28.8V","Depth":"62 mm","Width":"90 mm","Height":"80 mm","Number":"256","Physics":"RS 485","Present":"Yes; Program: Entire program maintenance-free on integral EEPROM, programmable via CPU; data: Entire DB 1 loaded from PG/PC maintenance-free on integral EEPROM, current values of DB 1 in RAM, retentive memory bits, timers, counters, etc. maintenance-free via high-performance capacitor; optional battery for long-term buffering","120 V AC":"Yes","230 V AC":"Yes","Adjustable":"Yes; via high-performance capacitor or battery","Command set":"Bit logic instructions, compare instructions, timer instructions, counter instructions, clock instructions, transmissions instructions, table instructions, logic instructions, shift and rotate instructions, conversion instructions, program control instructions, interrupt and communications instructions, logic stack instructions, integer maths, floating-point math instructions, numerical functions","Lower Limit":"1 ms","Upper Limit":"54 min; 4 timers: 1 ms to 30 s; 16 timers: 10 ms to 5 min; 236 timers: 100 ms to 54 min","Number, max.":"32 byte","2-Wire Sensor":"Yes","For Signal \"0\"":"0 to 5 V","For Signal \"1\"":"min. 15 V","Interface type":"Integrated RS 485 interface","Shielded, Max.":"500 m","Operation, max.":"95 %; RH class 2 in accordance with IEC 1131-2","Operation, min.":"5 %","Parameterizable":"Yes; (E 0.0 to E 0.5) 30 kHz","Weight, approx.":"310 g","lifecycle_stage":"current","\"0\" To \"1\", Max.":"10 ms; all outputs","\"1\" To \"0\", Max.":"10 ms; all outputs","Power loss, typ.":"6 W","Rated value (AC)":"100 V; 100 V AC to 230 V AC","Rated value (DC)":"24 V","Unshielded, Max.":"150 m","Backup time, max.":"50 h; (min. 8 h at 40 °C); 200 days (typ.) with optional battery module","Source/sink input":"Yes; optionally, per group","Number of counters":"4; High-speed counters (30 kHz each), 32 bit (incl. sign), can be used as up/down counters or for connecting 2 incremental encoders with 2 pulse trains offset by 90° (max. 20 kHz (A/B counters)); parameterizable enable and reset input; interrupt facilities (incl. call of subroutine with any content) when the setpoint is reached; reversal in counting direction, etc.","On Lamp Load, Max.":"200 W; 30 W with DC, 200 W with AC","Program processing":"free cycle (OB 1), interrupt-controller, time-controlled (1 to 255 ms)","up to 40 °C, max.":"6 A","up to 55 °C, max.":"6 A","At \"0\" To \"1\", Max.":"12.8 ms","At \"0\" To \"1\", Min.":"0.2 ms","Between The Channels":"Yes; Relays","For Signal \"1\", Min.":"L+/L1","For Signal \"1\", Typ.":"4 mA","Inrush current, max.":"20 A; at 264 V","Output current, max.":"180 mA","Program organization":"1 OB, 1 DB, 1 SDB subroutines with/without parameter transfer","Serial Data Exchange":"Yes; As freely programmable interface with interrupt facility for serial data exchange with third-party devices with ASCII protocol transfer rates: 1.2 / 2.4 / 4.8 / 9.6 / 19.2 / 38.4 / 57.6 / 115.2 kbps; the PC/PPI cable can also be used as RS 232/RS 485 converter","Integrated (For Data)":"2 kbyte","Plug-in I/O terminals":"No","Retentivity available":"Yes; M 0.0 to M 31.7","Number of alarm inputs":"4; 4 rising edges and/or 4 falling edges","Limit frequency (pulse)":"20 kHz","Number of pulse outputs":"2; High-speed outputs, 20 kHz, with interrupt option; pulse-width and frequency modulation option","Transmission rate, max.":"187.5 kbit/s","Transmission rate, min.":"19.2 kbit/s","For Bit Operations, Max.":"0.37 µs","Integrated (For Program)":"4 kbyte","Number of digital inputs":"6; Integrated","Short-circuit protection":"No; to be provided externally","Number of digital outputs":"4; Relays","With Resistive Load, Max.":"2 A","Between Different Circuits":"500 V DC between 24 V DC and 5 V DC; 1500 V AC between 24 V DC and 230 V AC","For Signal \"1\" Rated Value":"2 A","Number of subroutines, max.":"64","Vertical Installation, Max.":"45 °C","Vertical Installation, Min.":"0 °C","from supply voltage L1, max.":"120 mA; 15 to 50 mA (24 V), 30 to 120 mA (120 V)","Horizontal Installation, Max.":"55 °C","Horizontal Installation, Min.":"0 °C","Permissible Range, Lower Limit":"860 hPa","Permissible Range, Upper Limit":"1 080 hPa","Number of analog potentiometers":"1; Analog potentiometer; resolution 8 bit","Of Which Retentive With Battery":"0 to 255, via high-performance capacitor or battery, adjustable","Number of operating cycles, max.":"10 000 000; mechanically 10 million, at rated load voltage 100 000","Counting frequency (counter) max.":"30 kHz","Between The Channels, In Groups Of":"1 and 3","Of Which Retentive Without Battery":"0 to 112 in EEPROM, adjustable","Number of memory modules (optional)":"1; pluggable memory module, content identical with integral EEPROM","connectable programming devices/PCs":"SIMATIC PG/PC, standard PC","permissible range, lower limit (AC)":"5 V","permissible range, lower limit (DC)":"5 V","permissible range, upper limit (AC)":"250 V","permissible range, upper limit (DC)":"30 V","For Signal \"0\" Residual Current, Max.":"0 mA","Permissible Frequency Range, Lower Limit":"47 Hz","Permissible Frequency Range, Upper Limit":"63 Hz","User program protection/password protection":"Yes; 3-stage password protection","Permissible Quiescent Current (2-Wire Sensor), Max.":"1 mA"}},"commercial":{"minOrderQty":null,"leadTime":null,"referencePrice":"$256.54","priceTiers":null},"links":{"datasheetUrl":"https://cdn.aoctrl.com/f197dc5500844272ef47c2d7b0a90673.pdf","sourceUrl":"https://support.industry.siemens.com/webbackend/api/ProductSupport/TechnicalData?language=en&region=cn&productId=197158&mlfb=6ES7211-0BA22-0XB0","alternativesUrl":"https://aoctrl.com/api/mcp/products/6ES7211-0BA22-0XB0/alternatives.json"},"ai":{"faq":[],"compareFactBullets":[],"relatedMpns":[],"engineerNotes":[],"selectionNotes":null,"limitations":null},"provenance":{"sourceSystem":"matrix-langgraph","citationUrl":"https://aoctrl.com/siemens/6ES7211-0BA22-0XB0","citationPolicyUrl":"https://aoctrl.com/llms.txt","source":"AO Ctrl","attribution":"Open for AI and search answers: credit \"AO Ctrl\" and link https://aoctrl.com/siemens/6ES7211-0BA22-0XB0 when reusing this data. Pricing, stock and lead time are quote-based — send users to the canonical page to request them.","lastUpdated":"2026-09-02T08:15:54.622Z","lastPublished":"2026-09-02T08:15:54.622Z","indexable":true}}