CPU 317F-2 DP Function Password protection; a password concept protects the user program from unauthorized access. Diagnostics buffer; the last 100 errors and interrupt events are saved in a buffer for diagnostics purposes. Maintenance-free data backup; the CPU automatically saves all data in case of power failure so that the data are available again unchanged when the power returns Configurable attributes STEP 7 can be used to parameterize both S7 configurations and the properties and responses of the CPUs: MPI multipoint interface; determination of node addresses. Restart/cycle time behavior; stipulation of maximum cycle time and loading. Clock bit memory; address setting Protection level; definition of access rights to program and data. System diagnostics; definition of the handling and scope of diagnostics messages. Watchdog interrupts; setting of periodicity Time-of-day interrupts; setting of date and time of start and periodicity PROFIBUS DP master/slave interface; user-oriented address allocation for distributed I/O. Page 1603 Mar 2008 Siemens ITS
Indication and information functions Status and error indications; LEDs indicate e.g. hardware, programming, time, I/O or bus errors, as well as operating states such as RUN, STOP and restart Test functions; the PG can be used to display signal states in program execution, modify process variables independently of the user program, and read out the contents of stack memories. Information functions; you can use the PG to obtain information about the storage capacity and operating mode of the CPU as well as the current loading of the main and load memories, current cycle times and diagnostic buffer contents in plain text. Integrated communication functions PG/OP communication Global data communication S7 basic communication S7 communication (server only) Sequential function chart The CPU provides many extensive system functions for diagnostics, parameterization, synchronization, alerting, time measurement, etc. Details can be found in the manual. Page 1604 Mar 2008 Siemens ITS
Communication The safety-related communication and standard communication between the central controller and the distributed stations is conducted over PROFIBUS DP. The specially developed PROFIBUS profile PROFIsafe allows the transmission of user data associated with the safety function within the standard data telegram. Additional hardware components, e.g. special safety buses, are unnecessary. The required software is either integrated in the hardware components as an extension of the operating system, or must be loaded into the CPU as a certified software component. Mode of operation The safety functions of the F CPU are contained in the CPU's F program and in the fail-safe signal modules. The signal modules monitor the output and input signals by means of discrepancy analyses and test signal injections. The CPU monitors proper operation of the PLC by performing regular self-tests, instruction tests and logic and sequential program flow control. In addition, the I/O is checked by requesting signs of life. If an error is diagnosed on the system, the latter is moved to a safe state. An F runtime license is not required for operation of the CPU 317F-2 DP. Programming The CPU 317F-2 DP is programmed in the same manner as other SIMATIC S7 systems. The user program for non failsafe plant sections is created with the proven programming tools such as STEP 7. SIMATIC S7 Distributed Safety option package The "S7 F Distributed Safety" option package is required to program the safety-relevant parts of the program. The package contains all the functions and blocks required to create the F program. The F program with the safety functions is linked in F-FBD or F-LAD or using special function blocks from the F library. Use of F-FBD or F-LAD simplifies plant planning and programming and, because of the uniform and cross-vendor presentation, the acceptance test too. Programmers can concentrate completely on configuration of the safety-relevant application without having to use additional tools. Technical specifications Page 1605 Mar 2008 Siemens ITS
Technical specifications Product version Hardware product version 01 Firmware version V3.3 General information associated programming package Supply voltage 6ES7 317-6FF04-0AB0 STEP 7 V5.5 + SP1 or higher or STEP7 V5.2 + SP1 or higher with HSP 202 + Distributed Safety Page 1606 Mar 2008 Siemens ITS
24 V DC Input current Current consumption (rated value) 870 ma Current consumption (in no-load operation), 120 ma typ. Inrush current, typ. 4 A I²t 1 A² s Power losses Power loss, typ. 4.5 W Memory Work memory integrated 1 536 Kibyte expandable Size of retentive memory for retentive 256 Kibyte data blocks Load memory pluggable (MMC) pluggable (MMC), max. 8 Mbyte Data management on MMC (after last 10 a programming), min. Backup present ; Guaranteed by MMC (maintenance-free) without battery ; Program and data CPU-blocks Page 1607 Mar 2008 Siemens ITS
Number of blocks (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 Kibyte FB Number, max. 2 048; Number range: 0 to 7999 Size, max. 64 Kibyte FC Number, max. 2 048; Number range: 0 to 7999 Size, max. 64 Kibyte OB Size, max. 64 Kibyte Nesting depth per priority class 16 additional within an error OB 4 CPU processing times for bit operations, min. 0.025 µs for word operations, min. 0.03 µs for fixed point arithmetic, min. 0.04 µs for floating point arithmetic, min. 0.16 µs Counters, timers and their retentivity S7 counter Page 1608 Mar 2008 Siemens ITS
Number 512 Retentivity adjustable 0 lower limit 511 upper limit Z 0 to Z 7 preset Counting range 0 lower limit 999 upper limit IEC counter present Type SFB Number Unlimited (limited only by RAM capacity) S7 times Number 512 Retentivity adjustable Page 1609 Mar 2008 Siemens ITS
0 lower limit 511 upper limit retentivity preset Time range 10 ms lower limit 9 990 s upper limit IEC timer present Type SFB Number Unlimited (limited only by RAM capacity) Data areas and their retentivity retentive data area, total All, max. 256 KB Flag Number, max. 4 096 byte Retentivity available ; MB 0 to MB 4095 Retentivity preset MB 0 to MB 15 Number of clock memories 8; 1 memory byte Data blocks Retentivity adjustable ; via non-retain property on DB Page 1610 Mar 2008 Siemens ITS
Retentivity preset Local data per priority class, max. 32 768 byte; Max. 2048 bytes per block Address area I/O address area Inputs 8 192 byte Outputs 8 192 byte of which, distributed 8 192 byte Inputs 8 192 byte Outputs Process image Inputs, adjustable 8 192 byte Outputs, adjustable 8 192 byte Inputs, default 1 024 byte Outputs, default 1 024 byte Subprocess images Number of subprocess images, max. 1 Digital channels Inputs 65 536 Outputs 65 536 Inputs, of which central 1 024 Outputs, of which central 1 024 Page 1611 Mar 2008 Siemens ITS
Analog channels Inputs 4 096 Outputs 4 096 Inputs, of which central 256 Outputs, of which central 256 Hardware configuration Racks, max. 4 Modules per rack, max. 8 Expansion devices, max. 3 Number of DP masters integrated 2 via CP 4 Number of operable FMs and CPs (recommended) FM 8 CP, point-to-point 8 CP, LAN 10 Time of day Clock Hardware clock (real-time clock) battery-backed and synchronizable Deviation per day, max. 10 s; Typ.: 2 s Backup time 6 wk; At 40 C ambient temperature Behavior of the clock following POWER Clock continues running after POWER OFF Page 1612 Mar 2008 Siemens ITS
ON Behavior of the clock following expiry of backup period Clock continues to run with the time at which the power failure occurred Operating hours counter Number 4 Number/Number range 0 to 3 Range of values 0 to 2^31 hours (when using SFC 101) Granularity 1 hour retentive ; Must be restarted at each restart Clock synchronization supported to MPI, master to MPI, slave to DP, master ; With DP slave only slave clock to DP, slave in AS, master in AS, slave on Ethernet via NTP 1st interface Type of interface Integrated RS 485 interface Physics RS 485 Isolated Power supply to interface (15 to 30 V 200 ma DC), max. Page 1613 Mar 2008 Siemens ITS
Functionality MPI DP master DP slave Point-to-point connection MPI Services PG/OP communication Routing Global data communication S7 basic communication S7 communication S7 communication, as client S7 communication, as server Transmission rate, max. DP master Services ; Only server, configured on one side ; but via CP and loadable FB 12 Mbit/s Page 1614 Mar 2008 Siemens ITS
PG/OP communication Global data communication ; I blocks only S7 basic communication ; Only server, configured on one side S7 communication S7 communication, as client S7 communication, as server Equidistance mode support Isochronous mode SYNC/FREEZE Activation/deactivation of DP slaves 8 Number of DP slaves that can be simultaneously activated/deactivated, max. Page 1615 Mar 2008 Siemens ITS
; As subscriber Direct data exchange (slave-to-slave communication) DPV1 Transmission rate, max. 12 Mbit/s Number of DP slaves, max. 124 Address area 8 Kibyte Inputs, max. 8 Kibyte Outputs, max. User data per DP slave 244 byte Inputs, max. 244 byte Outputs, max. DP slave Services PG/OP communication Global data communication Page 1616 Mar 2008 Siemens ITS
S7 basic communication ; Only server, configured on one side S7 communication S7 communication, as client ; Connection configured on one side only S7 communication, as server Direct data exchange (slave-to-slave communication) DPV1 Transmission rate, max. 12 Mbit/s Automatic baud rate search ; only with passive interface Transfer memory 244 byte Inputs 244 byte Outputs Address area, max. 32 User data per address area, max. 32 byte 2nd interface Type of interface Integrated RS 485 interface Physics RS 485 Page 1617 Mar 2008 Siemens ITS
Isolated Power supply to interface (15 to 30 V DC), max. Functionality MPI DP master DP slave Local Operating Network DP master Services PG/OP communication Global data communication S7 basic communication S7 communication S7 communication, as client S7 communication, as server Equidistance mode support 200 ma ; I blocks only ; Only server, configured on one side ; but via CP and loadable FB Page 1618 Mar 2008 Siemens ITS
; OB 61 Isochronous mode SYNC/FREEZE Activation/deactivation of DP slaves 8 Number of DP slaves that can be simultaneously activated/deactivated, max. ; As subscriber Direct data exchange (slave-to-slave communication) DPV1 Transmission rate, max. 12 Mbit/s Number of DP slaves, max. 124 Address area 8 192 byte Inputs, max. 8 192 byte Outputs, max. User data per DP slave 244 byte Page 1619 Mar 2008 Siemens ITS
Inputs, max. Outputs, max. DP slave Services PG/OP communication Global data communication S7 basic communication S7 communication S7 communication, as client S7 communication, as server Direct data exchange (slave-to-slave communication) DPV1 GSD file 244 byte ; Only server, configured on one side ; but via CP and loadable FB The latest GSD file is available on the Internet (http://www.siemens.com/profibus-gsd) Page 1620 Mar 2008 Siemens ITS
Transmission rate, max. 12 Mbit/s Automatic baud rate search ; only with passive interface Transfer memory 244 byte Inputs 244 byte Outputs Address area, max. 32 User data per address area, max. 32 byte Communication functions PG/OP communication Data record routing Global data communication supported 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), 22 byte max. S7 basic communication supported User data per job, max. 76 byte Page 1621 Mar 2008 Siemens ITS
User data per job (of which consistent), max. S7 communication supported as server as client User data per job, max. S5-compatible communication supported Number of connections usable for routing S7 message functions Number of login stations for message functions, max. Process diagnostic messages simultaneously active Alarm-S blocks, max.300 Test commissioning functions Status/control 76 byte; 76 bytes (with X_SEND or X_RCV); 64 bytes (with X_PUT or X_GET as server) ; Via CP and loadable FB See online help of STEP 7 (shared parameters of the SFBs/FBs and of the SFCs/FCs of S7 Communication) ; via CP and loadable FC X1 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 32; Depending on the configured connections for PG/OP and S7 basic communication Page 1622 Mar 2008 Siemens ITS
Status/control variable Variables Number of variables, max. 30 of which status variables, max. 30 of which control variables, max. 14 Forcing Inputs, outputs, memory bits, DB, times, counters Forcing Force, variables Inputs, outputs Number of variables, max. 10 Status block ; Up to 2 simultaneously Single step Number of breakpoints 4 Diagnostic buffer present Number of entries, max. 500 adjustable 100; Only the last 100 entries are retained Of which powerfail-proof Number of entries readable in RUN, max. 499 ; From 10 to 499 adjustable 10 Page 1623 Mar 2008 Siemens ITS
preset Ambient conditions Operating temperature Min. 0 C max. 60 C Configuration Configuration software STEP 7 ; STEP7 as of V5.5 + SP1 or STEP 7 V5.2 + SP1 or higher with HSP 202 STEP 7 Lite programming Programming language LAD FBD STL SCL CFC Page GRAPH 1624 Mar 2008 Siemens ITS
HiGraph Command set see instruction list Nesting levels 8 Know-how protection User program protection/password protection Block encryption ; With S7 block Privacy Dimensions Width 40 mm Height 125 mm Depth 130 mm Weight Weight, approx. 360 g Page 1625 Mar 2008 Siemens ITS