6AG1317-6FF04-2AB0

SIPLUS S7-300 CPU 317F-2DP based on 6ES7317-6FF04-0AB0 with conformal coating, -25…+60 °C, central processing unit with 1.5 MB work memory, 1st interface MPI/DP 12 Mbps, 2nd interface DP master/ device, Micro Memory Card required can be used with software package S7 Distributed Safety V5.2 SP1 or higher

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

Product category
CPU
Manufacturer
SIEMENS
Product series
S7-300
General information
Product type designationCPU 317F-2 DP
based on6ES7317-6FF04-0AB0
Engineering with
Programming packageSTEP 7 V5.5 + SP1 or higher or STEP 7 V5.2 + SP1 or higher with HSP 202 + Distributed Safety
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)2 A min.
Input current
Current consumption (rated value)870 mA
Current consumption (in no-load operation), typ.120 mA
Inrush current, typ.4 A
I²t1 A²·s
Power loss
Power loss, typ.4.5 W
Storage
Work memory
integrated1 536 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.025 µs
for word operations, typ.0.03 µs
for fixed point arithmetic, typ.0.04 µs
for floating point arithmetic, typ.0.16 µs
CPU-blocks
Number of elements (total)2 048; (DBs, FCs, FBs); the maximum number of loadable blocks can be reduced by the MMC used.
DB
Number, max.2 048; Number range: 1 to 16000
Size, max.64 kbyte
FB
Number, max.2 048; Number range: 0 to 7999
Size, max.64 kbyte
FC
Number, max.2 048; 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 DPV1 alarm OBs3; OB 55, 56, 57
Number of isochronous mode OBs1; OB 61
Number of startup OBs1; OB 100
Number of asynchronous error OBs5; OB 80, 82, 85, 86, 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
Number512
Retentivity
adjustableYes
presetZ 0 to Z 7
Counting range
lower limit0
upper limit999
IEC counter
presentYes
TypeSFB
NumberUnlimited (limited only by RAM capacity)
S7 timer
Number512
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.256 kbyte
Flag
Size, max.4 096 byte
Retentivity availableYes; From MB 0 to MB 4 095
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 768 byte; Max. 2048 bytes per block
Address area
I/O address area
Inputs8 192 byte
Outputs8 192 byte
of which distributed
Inputs8 192 byte
Outputs8 192 byte
Process image
Inputs8 192 byte
Outputs8 192 byte
Inputs, adjustable8 192 byte
Outputs, adjustable8 192 byte
Inputs, default1 024 byte
Outputs, default1 024 byte
Subprocess images
Number of subprocess images, max.1
Digital channels
Inputs65 536
of which central1 024
Outputs65 536
of which central1 024
Analog channels
Inputs4 096
of which central256
Outputs4 096
of which central256
Hardware configuration
Number of expansion units, max.3
Number of DP masters
integrated2
via CP4
Number of operable FMs and CPs (recommended)
FM8
CP, PtP8
CP, LAN10
Rack
Racks, max.4
Modules per rack, max.8
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
Number4
Number/Number range0 to 3
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
to DP, masterYes; With DP slave only slave clock
on DP, deviceYes
in AS, masterYes
in AS, deviceYes
on Ethernet via NTPNo
Digital inputs
Number of digital inputs0
Digital outputs
Number of digital outputs0
Analog inputs
Number of analog inputs0
Interfaces
Number of PROFINET interfaces0
Number of RS 485 interfaces2
Number of RS 422 interfaces0
1. Interface
Interface typeIntegrated RS 485 interface
IsolatedYes
Interface types
RS 485Yes
Output current of the interface, max.200 mA
Protocols
MPIYes
PROFIBUS DP masterYes
PROFIBUS DP deviceYes
Point-to-point connectionNo
MPI
Transmission rate, max.12 Mbit/s
Services
PG/OP communicationYes
RoutingYes
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
PROFIBUS DP master
Transmission rate, max.12 Mbit/s
max. number of DP devices124
Services
PG/OP communicationYes
RoutingYes
Global data communicationNo
S7 basic communicationYes; I blocks only
S7 communicationYes; Only server, configured on one side
S7 communication, as clientNo
S7 communication, as serverYes
EquidistanceYes
Isochronous modeNo
SYNC/FREEZEYes
activation/deactivation of DP devicesYes
max. number of DP devices that can be activated/deactivated at the same time8
Direct data exchange (slave-to-slave communication)Yes; as subscriber
DPV1Yes
Address area
Inputs, max.8 kbyte
Outputs, max.8 kbyte
User data per DP device
Inputs, max.244 byte
Outputs, max.244 byte
PROFIBUS DP device
Transmission rate, max.12 Mbit/s
automatic baud rate searchYes; only with passive interface
Address area, max.32
User data per address area, max.32 byte
Services
PG/OP communicationYes
RoutingYes; Only with active interface
Global data communicationNo
S7 basic communicationNo
S7 communicationYes; Only server, configured on one side
S7 communication, as clientNo
S7 communication, as serverYes; Connection configured on one side only
Direct data exchange (slave-to-slave communication)Yes
DPV1No
Transfer memory
Inputs244 byte
Outputs244 byte
2. Interface
Interface typeIntegrated RS 485 interface
IsolatedYes
Interface types
RS 485Yes
Output current of the interface, max.200 mA
Protocols
MPINo
PROFIBUS DP masterYes
PROFIBUS DP deviceYes
Point-to-point connectionNo
PROFIBUS DP master
Transmission rate, max.12 Mbit/s
max. number of DP devices124
Services
PG/OP communicationYes
RoutingYes
Global data communicationNo
S7 basic communicationYes; I blocks only
S7 communicationYes; Only server, configured on one side
S7 communication, as clientNo; but via CP and loadable FB
S7 communication, as serverYes
EquidistanceYes
Isochronous modeYes; OB 61
SYNC/FREEZEYes
activation/deactivation of DP devicesYes
max. number of DP devices that can be activated/deactivated at the same time8
Direct data exchange (slave-to-slave communication)Yes; as subscriber
DPV1Yes
Address area
Inputs, max.8 192 byte
Outputs, max.8 192 byte
User data per DP device
Inputs, max.244 byte
Outputs, max.244 byte
PROFIBUS DP device
GSD fileThe latest GSD file is available on the Internet (http://www.siemens.com/profibus-gsd)
Transmission rate, max.12 Mbit/s
automatic baud rate searchYes; only with passive interface
Address area, max.32
User data per address area, max.32 byte
Services
PG/OP communicationYes
RoutingYes; Only with active interface
Global data communicationNo
S7 basic communicationNo
S7 communicationYes; Only server, configured on one side
S7 communication, as clientNo; but via CP and loadable FB
S7 communication, as serverYes
Direct data exchange (slave-to-slave communication)Yes
DPV1No
Transfer memory
Inputs244 byte
Outputs244 byte
Protocols
PROFIsafeNo
Communication functions
PG/OP communicationYes
Data record routingYes
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
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.See online help of STEP 7 (shared parameters of the SFBs/FBs and of the SFCs/FCs of S7 Communication)
S5 compatible communication
supportedYes; via CP and loadable FC
Number of connections
overall32
usable for PG communication31
reserved for PG communication1
adjustable for PG communication, min.1
adjustable for PG communication, max.31
usable for OP communication31
reserved for OP communication1
adjustable for OP communication, min.1
adjustable for OP communication, max.31
usable for S7 basic communication30
reserved for S7 basic communication0
adjustable for S7 basic communication, min.0
adjustable for S7 basic communication, max.30
usable for routingX1 as a MPI, max. 10; X1 as DP Master max. 24; X1 as DP Slave (active) max. 14; X2 as DP Master max. 24; X2 as DP Slave (active) max. 14
S7 message functions
Number of login stations for message functions, max.32; 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
can be setNo
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
Standards, approvals, certificates
CE markYes
UL approvalYes
KC approvalYes
EAC (formerly Gost-R)Yes
Use in hazardous areas
ATEX markingYes
Ambient conditions
Ambient temperature during operation
min.-25 °C; = Tmin
max.60 °C; = Tmax
Ambient temperature during storage/transportation
min.-40 °C
max.70 °C
Altitude during operation relating to sea level
Installation altitude above sea level, max.2 000 m
Ambient air temperature-barometric pressure-altitudeTmin ... Tmax at 1 140 hPa ... 795 hPa (-1 000 m ... +2 000 m)
Relative humidity
With condensation, tested in accordance with IEC 60068-2-38, max.100 %; RH incl. condensation/frost (no commissioning under condensation conditions)
Resistance
Use in stationary industrial systems
to biologically active substances according to EN 60721-3-3Yes; Class 3B2 mold, fungus and dry rot spores (with the exception of fauna); Class 3B3 on request
to chemically active substances according to EN 60721-3-3Yes; Class 3C4 (RH < 75 %) incl. salt spray acc. to EN 60068-2-52 (severity degree 3); *
to mechanically active substances according to EN 60721-3-3Yes; Class 3S4 incl. sand, dust, *
Use on ships/at sea
to biologically active substances according to EN 60721-3-6Yes; Class 6B2 mold and fungal spores (excluding fauna); Class 6B3 on request
to chemically active substances according to EN 60721-3-6Yes; Class 6C3 (RH < 75 %) incl. salt spray acc. to EN 60068-2-52 (severity degree 3); *
to mechanically active substances according to EN 60721-3-6Yes; Class 6S3 incl. sand, dust; *
Usage in industrial process technology
Against chemically active substances acc. to EN 60654-4Yes; Class 3 (excluding trichlorethylene)
Environmental conditions for process, measuring and control systems acc. to ANSI/ISA-71.04Yes; Level GX group A/B (excluding trichlorethylene; harmful gas concentrations up to the limits of EN 60721-3-3 class 3C4 permissible); level LC3 (salt spray) and level LB3 (oil)
Remark
Note regarding classification of environmental conditions acc. to EN 60721, EN 60654-4 and ANSI/ISA-71.04* The supplied plug covers must remain in place over the unused interfaces during operation!
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
Width40 mm
Height125 mm
Depth130 mm
Weights
Weight, approx.360 g
Approvals / Certificates