Skip to content
Industrial

6ES7312-5BF04-0AB0

Siemens CPU 312C compact, 64 KB, 10 DI/6 DO, MPI

Siemens

Delivery options

  • FedEx
  • DHL
  • UPS

Siemens SIMATIC S7-300 CPU 312C: compact CPU with 64 KB work memory, an MPI interface, 10 digital inputs and 6 digital outputs, two 10 kHz high-speed counters and a 24 V DC supply; Micro Memory Card required.

Manufacturer
Siemens
Manufacturer part no.
6ES7312-5BF04-0AB0
Type
PLC CPU
Lifecycle
Discontinued
OEM successor
Not stated
Technical datasheet
Data sheet

Technical specifications

Manufacturer
Siemens
Manufacturer part no.
6ES7312-5BF04-0AB0
Type
PLC CPU
Application
PLC controller
Used with
SIMATIC S7-300 rack (S7-300 backplane bus)
Product type designation
CPU 312C
HW functional status
01
Firmware version
V3.3
Engineering with / Programming package
STEP 7 V5.5 + SP1 or higher or STEP 7 V5.3 + SP2 or higher with HSP 203
Supply voltage / Rated value (DC)
24 V
Supply voltage / permissible range, lower limit (DC)
19.2 V
Supply voltage / permissible range, upper limit (DC)
28.8 V
external protection for power supply lines (recommendation)
Miniature circuit breaker, type C; min. 2 A; miniature circuit breaker type B, min. 4 A
Mains buffering / Mains/voltage failure stored energy time
5 ms
Mains buffering / Repeat rate, min.
1 s
Load voltage L+ / Digital outputs / Rated value (DC)
24 V
Load voltage L+ / Digital outputs / Reverse polarity protection
No
Input current / Current consumption (rated value)
570 mA
Input current / Current consumption (in no-load operation), typ.
90 mA
Input current / Inrush current, typ.
5 A
Input current / I²t
0.7 A²·s
Digital outputs / from load voltage L+, max.
25 mA
Power loss, typ.
8 W
Work memory / integrated
64 kbyte
Work memory / expandable
No
Load memory / Plug-in (MMC)
Yes
Load memory / Plug-in (MMC), max.
8 Mbyte
Load memory / Data management on MMC (after last programming), min.
10 a
Backup / present
Yes; Guaranteed by MMC (maintenance-free)
Backup / without battery
Yes; Program and data
Show all 278 specifications
CPU processing times / for bit operations, typ.
0.1 µs
CPU processing times / for word operations, typ.
0.24 µs
CPU processing times / for fixed point arithmetic, typ.
0.32 µs
CPU processing times / for floating point arithmetic, typ.
1.1 µs
CPU-blocks / Number of elements (total)
1 024; (DBs, FCs, FBs); the maximum number of loadable blocks can be reduced by the MMC used.
DB / Number, max.
1 024; Number range: 1 to 16000
DB / Size, max.
64 kbyte
FB / Number, max.
1 024; Number range: 0 to 7999
FB / Size, max.
64 kbyte
FC / Number, max.
1 024; Number range: 0 to 7999
FC / Size, max.
64 kbyte
OB / Number, max.
see instruction list
OB / Size, max.
64 kbyte
OB / Number of free cycle OBs
1; OB 1
OB / Number of time alarm OBs
1; OB 10
OB / Number of delay alarm OBs
2; OB 20, 21
OB / Number of cyclic interrupt OBs
4; OB 32, 33, 34, 35
OB / Number of process alarm OBs
1; OB 40
OB / Number of startup OBs
1; OB 100
OB / Number of asynchronous error OBs
4; OB 80, 82, 85, 87
OB / Number of synchronous error OBs
2; OB 121, 122
Nesting depth / per priority class
16
Nesting depth / additional within an error OB
4
S7 counter / Number
256
S7 counter / Retentivity / adjustable
Yes
S7 counter / Retentivity / preset
Z 0 to Z 7
S7 counter / Counting range / lower limit
0
S7 counter / Counting range / upper limit
999
IEC counter / present
Yes
IEC counter / Type
SFB
IEC counter / Number
Unlimited (limited only by RAM capacity)
S7 timer / Number
256
S7 timer / Retentivity / adjustable
Yes
S7 timer / Retentivity / preset
No retentivity
S7 timer / Time range / lower limit
10 ms
S7 timer / Time range / upper limit
9 990 s
IEC timer / present
Yes
IEC timer / Type
SFB
IEC timer / Number
Unlimited (limited only by RAM capacity)
Retentive data area (incl. timers, counters, flags), max.
64 kbyte
Flag / Size, max.
256 byte
Flag / Retentivity available
Yes; MB 0 to MB 255
Flag / Retentivity preset
MB 0 to MB 15
Flag / Number of clock memories
8; 1 memory byte
Data blocks / Retentivity adjustable
Yes; via non-retain property on DB
Data blocks / Retentivity preset
Yes
Local data / per priority class, max.
32 kbyte; Max. 2048 bytes per block
I/O address area / Inputs
1 024 byte
I/O address area / Outputs
1 024 byte
I/O address area / of which distributed / Inputs
none
I/O address area / of which distributed / Outputs
none
Process image / Inputs
1 024 byte
Process image / Outputs
1 024 byte
Process image / Inputs, adjustable
1 024 byte
Process image / Outputs, adjustable
1 024 byte
Process image / Inputs, default
128 byte
Process image / Outputs, default
128 byte
Digital channels / Inputs
266
Digital channels / Inputs / of which central
266
Digital channels / Outputs
262
Digital channels / Outputs / of which central
262
Analog channels / Inputs
64
Analog channels / Inputs / of which central
64
Analog channels / Outputs
64
Analog channels / Outputs / of which central
64
Hardware configuration / Number of expansion units, max.
0
Number of DP masters / integrated
none
Number of DP masters / via CP
4
Number of operable FMs and CPs (recommended) / FM
8
Number of operable FMs and CPs (recommended) / CP, PtP
8
Number of operable FMs and CPs (recommended) / CP, LAN
4
Rack / Racks, max.
1
Rack / Modules per rack, max.
8
Clock / Software clock
Yes
Clock / retentive and synchronizable
No; Buffered: No, Can be synchronized: Yes
Clock / Deviation per day, max.
10 s; Typ.: 2 s
Clock / Behavior of the clock following POWER-ON
the clock continues at the time of day it had when power was switched off
Operating hours counter / Number
1
Operating hours counter / Number/Number range
0
Operating hours counter / Range of values
0 to 2^31 hours (when using SFC 101)
Operating hours counter / Granularity
1 h
Operating hours counter / retentive
Yes; Must be restarted at each restart
Clock synchronization / supported
Yes
Clock synchronization / to MPI, master
Yes
Clock synchronization / on MPI, device
Yes
Clock synchronization / in AS, master
Yes
Clock synchronization / in AS, device
No
Number of digital inputs
10
Number of digital inputs / of which inputs usable for technological functions
8
Digital inputs / integrated channels (DI)
10
Digital inputs / Input characteristic curve in accordance with IEC 61131, type 1
Yes
Number of simultaneously controllable inputs / horizontal installation / up to 40 °C, max.
10
Number of simultaneously controllable inputs / horizontal installation / up to 60 °C, max.
5
Number of simultaneously controllable inputs / vertical installation / up to 40 °C, max.
5
Input voltage / Rated value (DC)
24 V
Input voltage / for signal "0"
-3 to +5V
Input voltage / for signal "1"
+15 to +30 V
Input current / for signal "1", typ.
8 mA
Input delay (for rated value of input voltage) / for standard inputs / parameterizable
Yes; 0.1 / 0.3 / 3 / 15 ms (You can reconfigure the input delay of the standard inputs during program runtime. Please note that under certain circumstances your newly set filter time may not be effective until the next filter cycle.)
Input delay (for rated value of input voltage) / for standard inputs / Rated value
3 ms
Input delay (for rated value of input voltage) / for technological functions / at "0" to "1", max.
48 µs; Minimum pulse width/minimum pause between pulses at maximum counting frequency
Digital inputs / Cable length / shielded, max.
1 000 m; 100 m for technological functions
Digital inputs / Cable length / unshielded, max.
600 m; for technological functions: No
Cable length / for technological functions / shielded, max.
100 m; at maximum count frequency
Cable length / for technological functions / unshielded, max.
not allowed
Number of digital outputs
6
Number of digital outputs / of which high-speed outputs
2; Notice: You cannot connect the fast outputs of your CPU in parallel
Digital outputs / integrated channels (DO)
6
Digital outputs / Short-circuit protection
Yes; Clocked electronically
Short-circuit protection / Response threshold, typ.
1 A
Digital outputs / Limitation of inductive shutdown voltage to
L+ (-48 V)
Controlling a digital input
Yes
Switching capacity of the outputs / on lamp load, max.
5 W
Load resistance range / lower limit
48 Ω
Load resistance range / upper limit
4 kΩ
Output voltage / for signal "1", min.
L+ (-0.8 V)
Output current / for signal "1" rated value
500 mA
Output current / for signal "1" permissible range, min.
5 mA
Output current / for signal "1" permissible range, max.
0.6 A
Output current / for signal "1" minimum load current
5 mA
Output current / for signal "0" residual current, max.
0.5 mA
Parallel switching of two outputs / for uprating
No
Parallel switching of two outputs / for redundant control of a load
Yes
Switching frequency / with resistive load, max.
100 Hz
Switching frequency / with inductive load, max.
0.5 Hz
Switching frequency / on lamp load, max.
100 Hz
Switching frequency / of the pulse outputs, with resistive load, max.
2.5 kHz
Total current of the outputs (per group) / horizontal installation / up to 40 °C, max.
2 A
Total current of the outputs (per group) / horizontal installation / up to 60 °C, max.
1.5 A
Total current of the outputs (per group) / vertical installation / up to 40 °C, max.
1.5 A
Digital outputs / Cable length / shielded, max.
1 000 m
Digital outputs / Cable length / unshielded, max.
600 m
Number of analog inputs
0
Analog inputs / integrated channels (AI)
0
Analog outputs / integrated channels (AO)
0
Connectable encoders / 2-wire sensor
Yes
Connectable encoders / 2-wire sensor / permissible quiescent current (2-wire sensor), max.
1.5 mA
Number of PROFINET interfaces
0
Number of RS 485 interfaces
1; MPI
Number of RS 422 interfaces
0
1. Interface / Interface type
Integrated RS 485 interface
1. Interface / Isolated
No
Interface types / RS 485
Yes
Interface types / Output current of the interface, max.
200 mA
Protocols / MPI
Yes
Protocols / PROFIBUS DP master
No
Protocols / PROFIBUS DP device
No
Protocols / Point-to-point connection
No
MPI / Transmission rate, max.
187.5 kbit/s
MPI / Services / PG/OP communication
Yes
MPI / Services / Routing
No
MPI / Services / Global data communication
Yes
MPI / Services / S7 basic communication
Yes
MPI / Services / S7 communication
Yes; Only server, configured on one side
MPI / Services / S7 communication, as client
No; but via CP and loadable FB
MPI / Services / S7 communication, as server
Yes
Protocols / PROFIsafe
No
PG/OP communication
Yes
Communication functions / Data record routing
No
Global data communication / supported
Yes
Global data communication / Number of GD loops, max.
8
Global data communication / Number of GD packets, max.
8
Global data communication / Number of GD packets, transmitter, max.
8
Global data communication / Number of GD packets, receiver, max.
8
Global data communication / Size of GD packets, max.
22 byte
Global data communication / Size of GD packet (of which consistent), max.
22 byte
S7 basic communication / supported
Yes
S7 basic communication / User data per job, max.
76 byte
S7 basic communication / User data per job (of which consistent), max.
76 byte; 76 bytes (with X_SEND or X_RCV); 64 bytes (with X_PUT or X_GET as server)
S7 communication / supported
Yes
S7 communication / as server
Yes
S7 communication / as client
Yes; Via CP and loadable FB
S7 communication / User data per job, max.
180 byte; (with PUT/GET)
S7 communication / User data per job (of which consistent), max.
240 byte; as server
S5 compatible communication / supported
Yes; via CP and loadable FC
Number of connections / overall
6
Number of connections / usable for PG communication
5
Number of connections / usable for PG communication / reserved for PG communication
1
Number of connections / usable for PG communication / adjustable for PG communication, min.
1
Number of connections / usable for PG communication / adjustable for PG communication, max.
5
Number of connections / usable for OP communication
5
Number of connections / usable for OP communication / reserved for OP communication
1
Number of connections / usable for OP communication / adjustable for OP communication, min.
1
Number of connections / usable for OP communication / adjustable for OP communication, max.
5
Number of connections / usable for S7 basic communication
2
Number of connections / usable for S7 basic communication / reserved for S7 basic communication
0
Number of connections / usable for S7 basic communication / adjustable for S7 basic communication, min.
0
Number of connections / usable for S7 basic communication / adjustable for S7 basic communication, max.
2
S7 message functions / Number of login stations for message functions, max.
6; Depending on the configured connections for PG/OP and S7 basic communication
S7 message functions / Process diagnostic messages
Yes
S7 message functions / simultaneously active Alarm_S blocks, max.
300
Test commissioning functions / Status block
Yes; Up to 2 simultaneously
Test commissioning functions / Single step
Yes
Test commissioning functions / Number of breakpoints
4
Status/control / Status/control variable
Yes
Status/control / Variables
Inputs, outputs, memory bits, DB, times, counters
Status/control / Number of variables, max.
30
Status/control / Number of variables, max. / of which status variables, max.
30
Status/control / Number of variables, max. / of which control variables, max.
14
Forcing / Forcing
Yes
Forcing / Forcing, variables
Inputs, outputs
Forcing / Number of variables, max.
10
Diagnostic buffer / present
Yes
Diagnostic buffer / Number of entries, max.
500
Diagnostic buffer / Number of entries, max. / can be set
No
Diagnostic buffer / Number of entries, max. / of which powerfail-proof
100; Only the last 100 entries are retained
Diagnostic buffer / Number of entries readable in RUN, max.
499
Diagnostic buffer / Number of entries readable in RUN, max. / can be set
Yes; From 10 to 499
Diagnostic buffer / Number of entries readable in RUN, max. / preset
10
Service data / Can be read out
Yes
Diagnostics indication LED / Status indicator digital input (green)
Yes
Diagnostics indication LED / Status indicator digital output (green)
Yes
Counter / Number of counters
2; See "Technological Functions" manual
Counter / Counting frequency, max.
10 kHz
Integrated Functions / Frequency measurement
Yes
Frequency measurement / Number of frequency meters
2; up to 10 kHz (see "Technological Functions" manual)
Integrated Functions / controlled positioning
No
integrated function blocks (closed-loop control)
No
Integrated Functions / PID controller
No
Integrated Functions / Number of pulse outputs
2; Pulse width modulation up to 2.5 kHz (see "Technological Functions" Manual)
Integrated Functions / Limit frequency (pulse)
2.5 kHz
Potential separation digital inputs / Potential separation digital inputs
Yes
Potential separation digital inputs / between the channels
No
Potential separation digital inputs / between the channels and backplane bus
Yes
Potential separation digital outputs / Potential separation digital outputs
Yes
Potential separation digital outputs / between the channels
No
Potential separation digital outputs / between the channels and backplane bus
Yes
Isolation tested with
600 V DC
Ambient temperature during operation / min.
0 °C
Ambient temperature during operation / max.
60 °C
Configuration software / STEP 7
Yes; STEP 7 V5.5 + SP1 or higher or STEP 7 V5.3 + SP2 or higher with HSP 203
Configuration software / STEP 7 Lite
No
Programming / Command set
see instruction list
Programming / Nesting levels
8
Programming / System functions (SFC)
see instruction list
Programming / System function blocks (SFB)
see instruction list
Programming / Programming language / LAD
Yes
Programming / Programming language / FBD
Yes
Programming / Programming language / STL
Yes
Programming / Programming language / SCL
Yes
Programming / Programming language / GRAPH
Yes
Programming / Programming language / HiGraph®
Yes
Know-how protection / User program protection/password protection
Yes
Know-how protection / Block encryption
Yes; With S7 block Privacy
Width
80 mm
Height
125 mm
Depth
130 mm
Weight, approx.
410 g

Technical documents (1)

Key features

  • 64 KB integrated work memory
  • 10 digital inputs and 6 digital outputs on the CPU
  • 2 high-speed counters (10 kHz)
  • MPI interface
  • 24 V DC supply; program on a Micro Memory Card
  • Siemens lists it as a spare part

About the Siemens 6ES7312-5BF04-0AB0

The Siemens 6ES7312-5BF04-0AB0 is the CPU 312C, the compact CPU of the S7-300. Siemens's data sheet gives it 64 KB of integrated work memory, an MPI interface, and on-board I/O: 10 digital inputs, 6 digital outputs and two high-speed counters at 10 kHz, wired through a 40-pole front connector. It runs on 24 V DC, and the program is held on a Micro Memory Card. Siemens's data sheet marks it as a spare part.

What is the 6ES7312-5BF04-0AB0 used for?

It controls small machines on its own, using its on-board inputs and outputs, and can be extended with S7-300 modules. A failed CPU stops the machine it controls, so a like-for-like replacement is the quickest way back into production.

Lifecycle and successor

Discontinued.

Before you order

What to photograph or confirm so the right unit is quoted.

Check the full order number and the firmware version on the CPU's label, and read the program size from the project if you can: a replacement must match or exceed the work memory. The Micro Memory Card (MMC) holding the program is a separate part; send its order number and size too.

Alternatives for 6ES7312-5BF04-0AB0

The manufacturer’s named successor and other parts in the same family. None is a drop-in replacement without checking wiring, I/O and configuration for your installation.

ProductManufacturerTypeLifecycleRelationshipQty AvailablePriceAction
Siemens 6ES7315-2AH14-0AB0CPU 315-2 DP, 256 KB, MPI and PROFIBUS DPSiemensPLC CPUDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7315-2EH14-0AB0CPU 315-2 PN/DP, 384 KB, MPI/DP and PROFINETSiemensPLC CPUDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7317-2EK14-0AB0CPU 317-2 PN/DP, 1 MB, MPI/DP and PROFINETSiemensPLC CPUDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7314-6EH04-0AB0CPU 314C-2 PN/DP compact CPU with integrated I/OSiemensPLC CPUDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7313-5BG04-0AB0CPU 313C compact CPU with integrated I/O, MPISiemensPLC CPUDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7321-1BL00-0AA0SM 321 digital input, 32 DI, 24 V DCSiemensDigital input moduleDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7322-1BL00-0AA0SM 322 digital output, 32 DO, 24 V DC, 0.5 ASiemensDigital output moduleDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7331-7KF02-0AB0SM 331 analog input, 8 AI, U/I/thermocouple/resistanceSiemensAnalog input moduleDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7332-5HF00-0AB0SM 332 analog output, 8 AO, voltage/currentSiemensAnalog output moduleDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6ES7307-1EA01-0AA0PS307 power supply, 120/230 V AC in, 24 V DC 5 A outSiemensPower supplyPhased outSame familyOn RequestOn requestView ›
Siemens 6GK7343-1CX10-0XE0CP 343-1 Lean communications processor, Industrial EthernetSiemensCommunications processorDiscontinuedSame familyOn RequestOn requestView ›
Siemens 6GK7343-1EX30-0XE0CP 343-1 communications processor, Industrial Ethernet, PROFINET IO controllerSiemensCommunications processorDiscontinuedSame familyOn RequestOn requestView ›

You may also be interested in

TIMC is an independent distributor. Manufacturer names and logos are the property of their respective owners and identify products we source; they do not imply manufacturer authorization or affiliation.

Need Siemens 6ES7312-5BF04-0AB0? Send us the details.