6ES7313-6BG04-0AB0

Siemens 6ES7313-6BG04-0AB0

SIMATIC S7-300, CPU 313C-2 PTP compact CPU with MPI, 16 DI/16 DO, 3 high-speed counters (30 kHz), integrated interface RS485, integrated power supply 24 V DC, work memory 128 KB, front connector (1x 40-pole) and Micro Memory Card required

Siemens spare part — S7-300 product cancellation (PM410, 1 October 2025); available as a spare part until 2033.

Categorie de produs
CPU
Producător
SIEMENS
Serie de produse
S7-300
General information
Product type designationCPU 313C-2 PtP
HW functional status01
Firmware versionV3.3
Engineering with
Programming packageSTEP 7 as of V5.5 + SP1 or STEP 7 V5.3 + SP2 or higher with HSP 204
Supply voltage
Rated value (DC)24 V
permissible range, lower limit (DC)19.2 V
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 time5 ms
Repeat rate, min.1 s
Load voltage L+
Digital inputs
Rated value (DC)24 V
Reverse polarity protectionYes
Digital outputs
Rated value (DC)24 V
Reverse polarity protectionNo
Input current
Current consumption (rated value)580 mA
Current consumption (in no-load operation), typ.110 mA
Inrush current, typ.5 A
I²t0.7 A²·s
Digital inputs
from load voltage L+ (without load), max.80 mA
Digital outputs
from load voltage L+, max.50 mA
Power loss
Power loss, typ.9 W
Storage
Work memory
integrated128 kbyte
expandableNo
Load memory
Plug-in (MMC)Yes
Plug-in (MMC), max.8 Mbyte
Data management on MMC (after last programming), min.10 a
Backup
presentYes; Guaranteed by MMC (maintenance-free)
without batteryYes; Program and data
CPU processing times
for bit operations, typ.0.07 µs
for word operations, typ.0.15 µs
for fixed point arithmetic, typ.0.2 µs
for floating point arithmetic, typ.0.72 µ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
Size, max.64 kbyte
FB
Number, max.1 024; Number range: 0 to 7999
Size, max.64 kbyte
FC
Number, max.1 024; Number range: 0 to 7999
Size, max.64 kbyte
OB
Number, max.see instruction list
Size, max.64 kbyte
Number of free cycle OBs1; OB 1
Number of time alarm OBs1; OB 10
Number of delay alarm OBs2; OB 20, 21
Number of cyclic interrupt OBs4; OB 32, 33, 34, 35
Number of process alarm OBs1; OB 40
Number of startup OBs1; OB 100
Number of asynchronous error OBs4; OB 80, 82, 85, 87
Number of synchronous error OBs2; OB 121, 122
Nesting depth
per priority class16
additional within an error OB4
Counters, timers and their retentivity
S7 counter
Number256
Retentivity
adjustableYes
presetZ 0 to Z 7
Counting range
can be setYes
lower limit0
upper limit999
IEC counter
presentYes
TypeSFB
NumberUnlimited (limited only by RAM capacity)
S7 timer
Number256
Retentivity
adjustableYes
presetNo retentivity
Time range
lower limit10 ms
upper limit9 990 s
IEC timer
presentYes
TypeSFB
NumberUnlimited (limited only by RAM capacity)
Data areas and their retentivity
Retentive data area (incl. timers, counters, flags), max.64 kbyte
Flag
Size, max.256 byte
Retentivity availableYes; MB 0 to MB 255
Retentivity presetMB 0 to MB 15
Number of clock memories8; 1 memory byte
Data blocks
Retentivity adjustableYes; via non-retain property on DB
Retentivity presetYes
Local data
per priority class, max.32 kbyte; Max. 2048 bytes per block
Address area
I/O address area
Inputs1 024 byte
Outputs1 024 byte
of which distributed
Inputsnone
Outputsnone
Process image
Inputs1 024 byte
Outputs1 024 byte
Inputs, adjustable1 024 byte
Outputs, adjustable1 024 byte
Inputs, default128 byte
Outputs, default128 byte
Digital channels
Inputs1 008
of which central1 008
Outputs1 008
of which central1 008
Analog channels
Inputs248
of which central248
Outputs248
of which central248
Hardware configuration
Number of expansion units, max.3
Number of DP masters
integratednone
via CP4
Number of operable FMs and CPs (recommended)
FM8
CP, PtP8
CP, LAN6
Rack
Racks, max.4
Modules per rack, max.8; In rack 3 max. 7
Time of day
Clock
Hardware clock (real-time)Yes
retentive and synchronizableYes
Backup time6 wk; At 40 °C ambient temperature
Deviation per day, max.10 s; Typ.: 2 s
Behavior of the clock following POWER-ONClock continues running after POWER OFF
Behavior of the clock following expiry of backup periodthe clock continues at the time of day it had when power was switched off
Operating hours counter
Number1
Number/Number range0
Range of values0 to 2^31 hours (when using SFC 101)
Granularity1 h
retentiveYes; Must be restarted at each restart
Clock synchronization
supportedYes
to MPI, masterYes
on MPI, deviceYes
in AS, masterYes
in AS, deviceNo
Digital inputs
Number of digital inputs16
of which inputs usable for technological functions12
integrated channels (DI)16
Input characteristic curve in accordance with IEC 61131, type 1Yes
Number of simultaneously controllable inputs
horizontal installation
up to 40 °C, max.16
up to 60 °C, max.8
vertical installation
up to 40 °C, max.8
Input voltage
Rated value (DC)24 V
for signal "0"-3 to +5V
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
parameterizableYes; 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.)
Rated value3 ms
for technological functions
at "0" to "1", max.16 µs; Minimum pulse width/minimum pause between pulses at maximum counting frequency
Cable length
shielded, max.1 000 m; 100 m for technological functions
unshielded, max.600 m; for technological functions: No
for technological functions
shielded, max.100 m; at maximum count frequency
unshielded, max.not allowed
Digital outputs
Number of digital outputs16
of which high-speed outputs4; Notice: You cannot connect the fast outputs of your CPU in parallel
integrated channels (DO)16
Short-circuit protectionYes; Clocked electronically
Response threshold, typ.1 A
Limitation of inductive shutdown voltage toL+ (-48 V)
Controlling a digital inputYes
Switching capacity of the outputs
on lamp load, max.5 W
Load resistance range
lower limit48 Ω
upper limit4 kΩ
Output voltage
for signal "1", min.L+ (-0.8 V)
Output current
for signal "1" rated value500 mA
for signal "1" permissible range, min.5 mA
for signal "1" permissible range, max.0.6 A
for signal "1" minimum load current5 mA
for signal "0" residual current, max.0.5 mA
Parallel switching of two outputs
for upratingNo
for redundant control of a loadYes
Switching frequency
with resistive load, max.100 Hz
with inductive load, max.0.5 Hz
on lamp load, max.100 Hz
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.3 A
up to 60 °C, max.2 A
vertical installation
up to 40 °C, max.2 A
Cable length
shielded, max.1 000 m
unshielded, max.600 m
Analog inputs
Number of analog inputs0
integrated channels (AI)0
Analog outputs
integrated channels (AO)0
Encoder
Connectable encoders
2-wire sensorYes
permissible quiescent current (2-wire sensor), max.1.5 mA
Interfaces
Number of PROFINET interfaces0
Number of RS 485 interfaces1; MPI
Number of RS 422 interfaces1; RS 422 / 485 combined
Point-to-point connection
Cable length, max.1 200 m
Integrated protocol driver
3964 (R)Yes
ASCIIYes
RK 512No
Transmission rate, RS 422/485
with 3964 (R) protocol, max.19.2 kbit/s; 38.4 kbit/s half duplex; 19.2 kbit/s full duplex
with ASCII protocol, max.19.2 kbit/s; 38.4 kbit/s half duplex; 19.2 kbit/s full duplex
1. Interface
Interface typeIntegrated RS 485 interface
IsolatedNo
Interface types
Output current of the interface, max.200 mA
Protocols
MPIYes
PROFIBUS DP masterNo
PROFIBUS DP deviceNo
Point-to-point connectionNo
MPI
Transmission rate, max.187.5 kbit/s
Services
PG/OP communicationYes
RoutingNo
Global data communicationYes
S7 basic communicationYes
S7 communicationYes; Only server, configured on one side
S7 communication, as clientNo; but via CP and loadable FB
S7 communication, as serverYes
2. Interface
Interface typeIntegrated RS 422/ 485 interface
IsolatedYes
Interface types
RS 485Yes; RS 422 / 485 (X.27)
Output current of the interface, max.No
Protocols
MPINo
PROFINET IO ControllerNo
PROFINET IO DeviceNo
PROFINET CBANo
PROFIBUS DP masterNo
PROFIBUS DP deviceNo
Point-to-point connection
Transmission rate, max.19.2 kbit/s; 38.4 kbit/s half duplex; 19.2 kbit/s full duplex
Interface controllable from the user programYes
Interface can trigger alarm/interrupt in the user programYes; Message on break - identification
Protocols
PROFIsafeNo
Communication functions
PG/OP communicationYes
Data record routingNo
Global data communication
supportedYes
Number of GD loops, max.8
Number of GD packets, max.8
Number of GD packets, transmitter, max.8
Number of GD packets, receiver, max.8
Size of GD packets, max.22 byte
Size of GD packet (of which consistent), max.22 byte
S7 basic communication
supportedYes; Server
User data per job, max.76 byte
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
supportedYes
as serverYes
as clientYes; Via CP and loadable FB
User data per job, max.180 byte; With PUT/GET
User data per job (of which consistent), max.240 byte; as server
S5 compatible communication
supportedYes; via CP and loadable FC
Number of connections
overall8
usable for PG communication7
reserved for PG communication1
adjustable for PG communication, min.1
adjustable for PG communication, max.7
usable for OP communication7
reserved for OP communication1
adjustable for OP communication, min.1
adjustable for OP communication, max.7
usable for S7 basic communication4
reserved for S7 basic communication0
adjustable for S7 basic communication, min.0
adjustable for S7 basic communication, max.4
S7 message functions
Number of login stations for message functions, max.8; Depending on the configured connections for PG/OP and S7 basic communication
Process diagnostic messagesYes
simultaneously active Alarm_S blocks, max.300
Test commissioning functions
Status blockYes; Up to 2 simultaneously
Single stepYes
Number of breakpoints4
Status/control
Status/control variableYes
VariablesInputs, outputs, memory bits, DB, times, counters
Number of variables, max.30
of which status variables, max.30
of which control variables, max.14
Forcing
ForcingYes
Forcing, variablesInputs, outputs
Number of variables, max.10
Diagnostic buffer
presentYes
Number of entries, max.500
adjustableNo
of which powerfail-proof100; Only the last 100 entries are retained
Number of entries readable in RUN, max.499
can be setYes; From 10 to 499
preset10
Service data
Can be read outYes
Interrupts/diagnostics/status information
Diagnostics indication LED
Status indicator digital input (green)Yes
Status indicator digital output (green)Yes
Integrated Functions
Counter
Number of counters3; See "Technological Functions" manual
Counting frequency, max.30 kHz
Frequency measurementYes
Number of frequency meters3; up to 30 kHz (see "Technological Functions" manual)
controlled positioningNo
integrated function blocks (closed-loop control)Yes; PID controller (see "Technological Functions" manual)
PID controllerYes
Number of pulse outputs3; Pulse width modulation up to 2.5 kHz (see "Technological Functions" Manual)
Limit frequency (pulse)2.5 kHz
Potential separation
Potential separation digital inputs
Potential separation digital inputsYes
between the channelsNo
between the channels and backplane busYes
Potential separation digital outputs
Potential separation digital outputsYes
between the channelsYes
between the channels, in groups of8
between the channels and backplane busYes
Isolation
Isolation tested with600 V DC
Ambient conditions
Ambient temperature during operation
min.0 °C
max.60 °C
Configuration
Configuration software
STEP 7Yes; STEP 7 V5.5 + SP1 or higher or STEP 7 V5.3 + SP2 or higher with HSP 203
STEP 7 LiteNo
Programming
Command setsee instruction list
Nesting levels8
System functions (SFC)see instruction list
System function blocks (SFB)see instruction list
Programming language
LADYes
FBDYes
STLYes
SCLYes
CFCYes
GRAPHYes
HiGraph®Yes
Know-how protection
User program protection/password protectionYes
Block encryptionYes; With S7 block Privacy
Dimensions
Width80 mm
Height125 mm
Depth130 mm
Weights
Weight, approx.500 g
Approvals / Certificates