Siemens SIMATIC S7-1500 Operating Instructions Manual

Siemens SIMATIC S7-1500 Operating Instructions Manual

Software controller cpu 1505sp (f) ready4linux version 2.7
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

CPU 1505SP (F) Ready4Linux Version 2.7
SIMATIC
S7-1500 Software Controller
CPU 1505SP (F) Ready4Linux
Version 2.7
Operating Instructions
05/2019
A5E46864285-AA
Documentation guide
Safety information
Product overview
Installing
Commissioning in STEP 7
Operation of the CPU
Maintenance
Protection
Interrupts, error messages
and diagnostics and system
alarms
Technical Data
Reference information
1
2
3
4
5
6
7
8
9
10
A

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SIMATIC S7-1500

  • Page 1 CPU 1505SP (F) Ready4Linux Version 2.7 Documentation guide Safety information SIMATIC Product overview Installing S7-1500 Software Controller CPU 1505SP (F) Ready4Linux Commissioning in STEP 7 Version 2.7 Operation of the CPU Operating Instructions Maintenance Protection Interrupts, error messages and diagnostics and system alarms Technical Data Reference information...
  • Page 2 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 3: Table Of Contents

    Table of contents Documentation guide ..........................6 Guide for these operating instructions ..................6 Guide to documentation S7-1500 / ET 200MP ................. 8 Safety information ..........................13 Security information ........................ 13 Information about third-party software updates ..............13 Notes on protecting root rights ....................13 Security information regarding Linux ..................
  • Page 4 Table of contents Configuring the Linux operating system ................38 4.6.1 Define Local Advanced Packaging Tool (APT) Repository ........... 38 4.6.2 Mount the third partition permanently in the file system............39 4.6.3 Disable Linux sub-system "cpuidle" ..................40 4.6.4 Install "firmware-misc-nonfree"...
  • Page 5 Table of contents Protection ............................. 77 Overview of the protective functions of the CPU ..............77 General information on protection ..................78 Access protection ........................79 8.3.1 Configuring access protection for the CPU in STEP 7 ............79 8.3.2 Protected project - Lost password ..................81 8.3.3 Locking protection levels with the PLC program ..............
  • Page 6: Documentation Guide

    Documentation guide Guide for these operating instructions Purpose of the documentation These operating instructions supplement the system manual of the S7-1500 automation system as well as the function manuals. Cross-system functions are described in the system manual. The information provided in these operating instructions and the system manual enables you to commission the CPU.
  • Page 7 Documentation guide 1.1 Guide for these operating instructions Definitions and naming conventions The following terms are used in this documentation: ● CPU: This term refers to the CPU 1505SP (F) If a piece of information only affects one of the CPU versions, it is explicitly named. ●...
  • Page 8: Guide To Documentation S7-1500 / Et 200Mp

    This arrangement enables you to access the specific content you require. Basic information The System Manual and Getting Started describe in detail the configuration, installation, wiring and commissioning of the SIMATIC S7-1500 and ET 200MP systems. The STEP 7 online help supports you in the configuration and programming. Device information Product manuals contain a compact description of the module-specific information, such as properties, wiring diagrams, characteristics and technical specifications.
  • Page 9 1.2 Guide to documentation S7-1500 / ET 200MP Manual Collection S7-1500/ET 200MP The Manual Collection contains the complete documentation on the SIMATIC S7-1500 automation system and the ET 200MP distributed I/O system gathered together in one file. You can find the Manual Collection on the Internet (https://support.industry.siemens.com/cs/ww/en/view/86140384).
  • Page 10 ● Manuals, characteristics, operating manuals, certificates ● Product master data You can find "mySupport" - CAx data on the Internet (http://support.industry.siemens.com/my/ww/en/CAxOnline). Application examples The application examples support you with various tools and examples for solving your automation tasks. Solutions are shown in interplay with multiple components in the system - separated from the focus on individual products.
  • Page 11 You can find the SIMATIC Automation Tool on the Internet (https://support.industry.siemens.com/cs/ww/en/view/98161300). PRONETA With SIEMENS PRONETA (PROFINET network analysis), you analyze the PROFINET network during commissioning. PRONETA features two core functions: ● The topology overview independently scans PROFINET network and all connected components.
  • Page 12 1.2 Guide to documentation S7-1500 / ET 200MP SINETPLAN SINETPLAN, the Siemens Network Planner, supports you in planning automation systems and networks based on PROFINET. The tool facilitates professional and predictive dimensioning of your PROFINET installation as early as in the planning stage. In addition, SINETPLAN supports you during network optimization and helps you to exploit network resources optimally and to plan reserves.
  • Page 13: Safety Information

    Siemens' products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customers' exposure to cyber threats.
  • Page 14: Security Information Regarding Linux

    Rights for operating the Software Controller Do not change the access rights for files provided by Siemens, such as the Linux tools for the software controller. The Linux tools are executable with standard user rights in the "software_controller_operators" group.
  • Page 15: Product Overview

    Product overview Different properties between Windows and Linux variants Because of the different modes of operation of the Windows and Linux operating systems there are also differences in the operation and operator control of the CPU. The following table provides an overview of both versions. Functions Windows Linux...
  • Page 16: Introduction To Pc-Based Control

    Overview The SIMATIC S7-1500 Software Controller is a PC-based controller and offers the same functionality as all CPUs of the SIMATIC S7-1500 automation system in a PC-based real- time environment. As part of the SIMATIC series of products, the CPU can communicate with STEP 7 and other SIMATIC products, such as WinCC, via Industrial Ethernet networks.
  • Page 17: Overview Of Functions

    Product overview 3.3 Overview of functions Overview of functions The S7-1500 Software Controller realizes the function of an S7-1500 hardware controller as software on a PC. As a result, you can use a PC both as a complete Linux PC as well as for control of machines or systems.
  • Page 18 Product overview 3.3 Overview of functions ● Integrated Web server All CPUs of the SIMATIC S7-1500 automation system support querying of the CPU via the web server. The web server of the CPU provides the following diagnostics possibilities: – CPU mapping with LEDs and current operating mode –...
  • Page 19: Functions

    Product overview 3.4 Functions Reference You can find additional information on "Integrated security/access protection" under "Protection" in the S7-1500 Automation System system manual (https://support.automation.siemens.com/WW/view/en/59191792). Functions 3.4.1 Explanation of the real-time concept of the CPU Advantages of hypervisor technology Due to its innovative real-time system based on hypervisor technology, the SIMATIC S7- 1500 Software Controller offers the following advantages: ●...
  • Page 20 The hypervisor technology divides the PC resources and assigns all resources required for the control job exclusively to the SIMATIC S7-1500 Software Controller. Linux and Linux applications have no access to these resources and the Software Controller has no access to Linux resources.
  • Page 21: Memory Concept Of The Cpu

    Product overview 3.4 Functions 3.4.2 Memory concept of the CPU 3.4.2.1 CPU memory areas Introduction This section describes the structure of the memory of the CPU. Note Name of the hard disk In this manual the CFast card is the first hard disk and has the name "sda". Memory areas The CPU makes use of the mass storage of the PC on which it is installed.
  • Page 22 Note Access rights on the "sda3" partition Do not change the access rights for files provided by Siemens, such as the Linux tools for the software controller. The Linux tools are executable with standard user rights in the "software_controller_operators" group.
  • Page 23: Storage Of Retentive Data

    Additional information about the memory structure and the basic meaning of these memory areas can be found in the Function Manual Structure and Use of the CPU Memory (https://support.automation.siemens.com/WW/view/en/59193101/0/en). This documentation also describes how you obtain information about the memory utilization using STEP 7.
  • Page 24: Profinet Io

    The CPU uses PC interfaces for this purpose. Reference You can find additional information on the "PROFINET IO" topic in the STEP 7 online help and in the PROFINET System Description (https://support.automation.siemens.com/WW/view/en/19292127) manual. 3.4.5 PROFIenergy PROFIenergy PROFIenergy (for PROFINET) reduces the energy consumption by using PROFIenergy commands during the production-free time.
  • Page 25: Central I/O

    Product overview 3.4 Functions 3.4.6 Central I/O Centralized I/O devices are available when using the CPU 1505SP on the PC. You can use any commonly used ET 200SP input and output modules with the CPU. 3.4.7 Web server of the CPU The CPU has an integrated web server that enables, among other things, the display of system diagnostics information via PROFINET.
  • Page 26 The "Identification" web page gives you an overview of important specifications of the CPU. Reference You can find additional information about the "Web server" topic in the Web Server Function Manual (https://support.automation.siemens.com/WW/view/en/59193560). CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...
  • Page 27: Fail-Safe

    Write access to F-blocks is not permitted. Note Controlling fail-safe inputs/outputs can result in an F-CPU STOP. You can find additional information about the "Web server" topic in the Web Server Function Manual (https://support.automation.siemens.com/WW/view/en/59193560). CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...
  • Page 28: Installing

    Installing Delivery forms of the CPU The CPU is delivered in different variants with different article numbers. The Ready4Linux CPU 1505SP is delivered as a bundle and contains the following articles: ● CPU 1515SP PC2 ● CFast card with base image for Ready4Linux ●...
  • Page 29: Prepare Base Image

    Installing 4.3 Prepare base image Prepare base image 4.3.1 Introduction If the CPU does not work as expected and an error occurs in the diagnostics tool, you can use the USB Restore flash drive to write the base image to the CFast card. The USB Restore flash drive is not designed as a bootable device.
  • Page 30: Create Live Debian Usb Flash Drive With Rufus

    Installing 4.3 Prepare base image 4.3.2 Create live Debian USB flash drive with Rufus To install the Ready4Linux base image on the CFast card, you need a Debian Live system on a bootable USB flash drive. Requirements ● Debian Live installation image (*.iso). The installation image for a Debian Live system can be downloaded from the Internet (https://cdimage.debian.org/mirror/cdimage/archive/9.3.0-live/amd64/iso-hybrid/).
  • Page 31 Installing 4.3 Prepare base image Procedure To create a USB flash drive with a Debian Live system, follow these steps: 1. Insert the USB flash drive into your Windows computer. 2. Open "Rufus". 3. Select the drive with the USB flash drive as "Device". 4.
  • Page 32 Installing 4.3 Prepare base image 6. Click "Start" to create a USB flash drive. 7. In the dialog "ISOHybrid image detected", select the option "Write in ISO Image mode (Recommended)" and click "OK" to confirm. 8. Click "OK" to conform the following warning. 9.
  • Page 33: Install Base Image On Cfast Card

    Installing 4.3 Prepare base image 4.3.3 Install base image on CFast card Requirements ● USB flash drive with Debian Live system. ● Restore USB flash drive with base image for Ready4Linux. ● A keyboard is connected to the PC. ● The CFast card is inserted into the PC. Procedure 1.
  • Page 34: Restore Base Image And Backup Image Using Usb Restore Flash Drive

    Installing 4.4 Restore base image and backup image using USB restore flash drive Restore base image and backup image using USB restore flash drive If the CPU does not work as expected and a fault occurs in the Diagnostics Tool, you can use the USB restore stick to write the base image to the CFast card.
  • Page 35: Installing Linux

    Installing 4.5 Installing Linux Installing Linux The Ready4Linux CPU 1505SP base image is delivered on a CFast card. The Linux operating system must be provided on a bootable medium (USB flash drive or DVD). Requirement ● The CFast card is inserted into the PC. ●...
  • Page 36 Installing 4.5 Installing Linux 6. To configure partition #5, select the area after partition #4 and click "Continue". Assign the following settings for the partition: Use as: Ext4 Formatting partition: Mount point: To confirm the settings, select "Done setting up the partition" and click "Continue". Partition #5 is created.
  • Page 37 Installing 4.5 Installing Linux 10.The base image contains the first four partitions, which already contain a preconfigured grub boot loader. Therefore, install the GRUB boot loader on the fifth partition (/dev/sda5). To ensure that the GRUB boot loader is not automatically installed on the first partition, select the option "No"...
  • Page 38: Configuring The Linux Operating System

    Installing 4.6 Configuring the Linux operating system Configuring the Linux operating system 4.6.1 Define Local Advanced Packaging Tool (APT) Repository If you do not have access to a repository on the network, define a local APT repository to install the packages containing the Linux components for the software controller. Procedure To define a local APT repository, proceed as follows: 1.
  • Page 39: Mount The Third Partition Permanently In The File System

    1. Use the following command line to create the mount point: mkdir /opt/SIEMENS 2. Insert the following command line into the "/etc/fstab" file: /dev/sda3 /opt/SIEMENS ext4 defaults 0 1 3. To mount the partition for the current session, enter the following command line: mount /opt/SIEMENS Result The third partition is mounted in the file system during booting.
  • Page 40: Disable Linux Sub-System "Cpuidle

    Installing 4.6 Configuring the Linux operating system 4.6.3 Disable Linux sub-system "cpuidle" To ensure the power and stability of the CPU and the PC, you must make changes to the configuration of the Linux operating system. Requirements ● You have root privileges. ●...
  • Page 41: Copy Libraries To The Folder "/Usr/Lib64

    To operate the CPU, you need the following drivers which you install via a packet structure: ● Driver for the Siemens RT-VMM network adapter (under Linux the driver is called "vnic") ● VMM Hypercall API (the driver under Linux is called "s7vmm_dev") ●...
  • Page 42: Installing Packages With Linux Components

    Requirement You have root privileges. Procedure To uninstall the packages with the Linux components, enter the following command: apt remove siemens-swcpu-drivers-dkms siemens-swcpu-man-pages Result The packages with the Linux components are uninstalled. CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...
  • Page 43: Installing The Hardware Support Package In The Tia Portal

    Installing 4.8 Installing the Hardware Support Package in the TIA Portal Installing the Hardware Support Package in the TIA Portal This section provides information on how to install the Hardware Support Package (HSP) of the Ready4Linux in STEP 7. This is necessary so that you can work with the Software Controller in STEP 7.
  • Page 44: Commissioning In Step 7

    Commissioning in STEP 7 Insert CPU into configuration Requirements ● You have created a project in STEP 7. ● You are in the device view. Procedure To create a configuration in STEP 7, follow these steps: 1. Open the hardware catalog. 2.
  • Page 45: Configuring Web Servers For Linux

    Web server function manual (https://support.automation.siemens.com/WW/view/en/59193560). Reference You can find additional information about the "Web server" topic in the Web Server Function Manual (https://support.automation.siemens.com/WW/view/en/59193560). See also Virus scanners and firewall (Page 84) STEP 7 help – PCStation Web server (https://support.automation.siemens.com/WW/view/en/109755202)
  • Page 46: Downloading The Project To The Target System

    Commissioning in STEP 7 5.3 Downloading the project to the target system Downloading the project to the target system Requirement ● The hardware component is physically connected to the PC on which STEP 7 is installed via Ethernet. ● The interface settings on the CPU 1515SP PC 2 and in STEP 7 match. Note Loading via the "X1"...
  • Page 47: Communication Between Linux And Cpu

    The CPU has a virtual Ethernet network via which the CPU can communicate with Linux applications, and in particular with OPC UA. Two interfaces are available. The "runtime communication interface" is used as the communication interface on the CPU. The "Siemens RT-VMM Network Adapter" interface is used under Linux. ① Siemens RT-VMM network adapter ②...
  • Page 48: Internal Communication Between Linux And Cpu

    Commissioning in STEP 7 5.4 Communication between Linux and CPU 5.4.1 Internal communication between Linux and CPU Introduction The S7-1500 Software Controller supports open communication (OUC) via the assigned PROFINET interfaces in the full scope of an S7-1500 hardware CPU. In addition, the S7-1500 Software Controller supports open communication with Linux applications, and with communication partners via the runtime communication interfaces with the following protocols:...
  • Page 49: Using Opc Ua Locally On The Same Pc

    – In the hardware configuration, via STEP 7 In the properties of the CPU. – Via the IPConfig (s7_vnic_ipconfig). ● Siemens RT-VMM network adapter: Set the IP address and subnet mask in the network connections using the graphical user interface (GUI).
  • Page 50: Establish Remote Access Via Linux Network Interface

    Commissioning in STEP 7 5.4 Communication between Linux and CPU Example command line for assigning an IP address pt1@debian:/opt/SIEMENS/SWCPU/bin# "./s7_vnic_ipconfig --nic "enp0s1f2" -- mac "28:63:36:78:b5:eb" --setip "192.168.73.123" --setmask "255.255.255.0" --setgw "192.168.73.199" 5.4.2 Establish remote access via Linux network interface 5.4.2.1...
  • Page 51 You can establish a connection to the CPU via the runtime communication interface (192.168.73.155). See also STEP 7 help (https://support.industry.siemens.com/cs/ww/en/view/109755202) Configuring the Client PC To establish a remote connection from an external PC to the OPC UA server or the Web server, make additional settings on the external PC.
  • Page 52 Commissioning in STEP 7 5.4 Communication between Linux and CPU Requirements ● For Linux client PC – You have root privileges. ● For Windows Client PC – See Administrator rights. – You have opened the command prompt. Linux client PC To set up routing from a Linux client PC to the CPU, enter the following command line: ip route add 192.168.73.0/24 via 192.168.2.15 Note...
  • Page 53 Commissioning in STEP 7 5.4 Communication between Linux and CPU Establish connection To establish a connection to the OPC UA server, use the end point URL "opc.tcp://192.168.73.155:4840" as OPC UA Discovery. To access the Web server, enter the address "https://192.168.73.155" in your browser. CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...
  • Page 54: Establish Connection Via Network Address Translation (Nat)

    Commissioning in STEP 7 5.4 Communication between Linux and CPU 5.4.2.2 Establish connection via Network Address Translation (NAT) Establishing web server access If you want the runtime communication interface to be hidden or otherwise not reachable from outside, you can use control-line commands to configure the Linux NAT table. This enables Web server access from an external PC via the physical Linux Ethernet interface.
  • Page 55 Commissioning in STEP 7 5.4 Communication between Linux and CPU Note Settings are lost after restart The settings are lost after a restart. To save the setting, you have the following options: • Use the "iptables-save" and "iptables-restore" commands. • Install the "iptables-persistent" package. To check the NAT setting, enter the following command: iptables -t nat -L To delete the NAT setting, enter the following command:...
  • Page 56 Commissioning in STEP 7 5.4 Communication between Linux and CPU Procedure To establish external Web server access via NAT, proceed as follows: 1. Activate "packet forwarding" with the following command line: sysctl -w net.ipv4.ip_forward=1 2. To add a rule to the prerouting and postrouting chain, enter the following command lines: iptables -t nat -A PREROUTING -p tcp -i enp4s0 --src 192.168.2.0/24 --dport 4840 -j DNAT --to-destination 192.168.73.155:4840 iptables -t nat -A POSTROUTING --src 192.168.2.0/24 -j MASQUERADE...
  • Page 57 Commissioning in STEP 7 5.4 Communication between Linux and CPU Result ● The runtime communication interface is not visible in the external network; the CPU can be accessed directly via the IP address of the physical Linux Ethernet interface. ● Other OPC UA servers cannot be accessed under Linux. To access the OPC UA server of the CPU, use the IP address of the physical Linux Ethernet interface as end point URL: "opc.tcp://192.168.2.15:4840"...
  • Page 58: Establishing A Connection Via A Network Bridge

    Commissioning in STEP 7 5.4 Communication between Linux and CPU 5.4.2.3 Establishing a connection via a network bridge The network bridge manages the LAN segments and creates a subnet for the entire network. This merges the internal Ethernet network with the Ethernet network of the Linux hardware interface.
  • Page 59 Commissioning in STEP 7 5.4 Communication between Linux and CPU Check / delete settings Check the current setting with the following command: bridge link The bridge is now also visible via the following commands: ● ip address ● ip link To delete the setting, enter the following command: ip link delete br0 Result...
  • Page 60: Using The Management Tool For Mac Addresses

    3. Read out the MAC addresses with the parameter "-m" and the directory. The parameter "m" must always be specified. pt1@debian:/opt/SIEMENS/SWCPU/bin# ./s7_vnic_macconfig -m /opt/SIEMENS – The MAC address of the Siemens RT-VMM network adapter is displayed under "Linux". – The MAC address of the runtime communication interface is displayed under "SWCPU".
  • Page 61 – Use the parameter "-t" and the target name "Linux" or "SWCPU" to assign new MAC addresses for the respective interface. Example of changing the MAC address of the Siemens RT-VMM Network Adapter: ./s7_vnic_macconfig -m /opt/SIEMENS -t LINUX The assigned MAC address is a random MAC address from the MAC address pool.
  • Page 62: Operation Of The Cpu

    Procedure To use the CPU Control tool, proceed as follows: 1. To start the CPU Control tool, execute the command "./s7_cpu_control". pt1@debian:/opt/SIEMENS/SWCPU/bin# ./s7_cpu_control Note Call infotext in the command line If you do not specify a parameter after the "./s7_cpu_control" command, a list with permitted commands and a description opens.
  • Page 63 Operation of the CPU 6.1 Operating the CPU via command-line commands Commands to control the CPU The following table provides an overview of the command line commands supported by the CPU: Command Explanation --PowerOnCPU Starts the CPU in "STOP" mode. --PowerOffCPU Shut down the CPU.
  • Page 64: Operating Modes

    Operation of the CPU 6.2 Operating modes Operating modes 6.2.1 Basic principles of the operating modes Introduction Operating modes describe the states of the CPU. The operating modes can be set via the Web server, the CPU Control Tool or STEP 7. In these operating modes, the CPU can communicate, e.g., via the PN/IE interface.
  • Page 65: Operating Mode Transitions

    Operation of the CPU 6.2 Operating modes 6.2.2 Operating mode transitions Operating modes and operating mode transitions The following figure shows the operating modes and the operating mode transitions: Figure 6-1 Operating modes and operating mode transitions The following table shows the conditions under which the operating modes change: Table 6- 1 Operating mode conditions No.
  • Page 66 Operation of the CPU 6.2 Operating modes No. Operating mode Conditions transitions ④ STARTUP → STOP The CPU returns from "STARTUP" mode to "STOP" mode in the follow- ing cases: An error is detected during start-up. • The CPU is set to "STOP" from the programming device. •...
  • Page 67: Maintenance

    Requirement ● You have downloaded the file(s) for the firmware update from the Customer Support (https://www.siemens.com/automation/) web site. On this web site, select: Automation technology > Automation systems > SIMATIC industrial automation system > Controllers > SIMATIC S7 modular controllers > SIMATIC S7-1500.
  • Page 68 The procedure using the web server is described in the function manual for the web server. You can find the function manual on the Internet (https://support.industry.siemens.com/cs/ww/en/view/59193560). Reference Further information on the procedure can be found in the STEP 7 online help.
  • Page 69: Resetting The Cpu

    Additional information on the topic "Resetting to factory settings" can be found in the Structure and Use of the CPU Memory (https://support.automation.siemens.com/WW/view/en/59193101) Function Manual, section on memory areas and retentivity, and in the online help for STEP 7. CPU 1505SP (F) Ready4Linux Version 2.7...
  • Page 70: Reset Using Step 7

    Maintenance 7.2 Resetting the CPU 7.2.1 Reset using STEP 7 The following procedures are available to reset the CPU to factory settings using STEP 7. Procedure using STEP 7 To reset the CPU using STEP 7, follow these steps: 1. Make sure there is an online connection to the CPU that is to be reset to the factory settings.
  • Page 71: Resetting Via The Mode Switch

    Maintenance 7.2 Resetting the CPU 7.2.2 Resetting via the mode switch Procedure using the mode selector Make sure that the CPU is in STOP mode (the start page of the CPU web server indicates STOP mode or RUN/STOP LED lights up yellow). Note A memory reset of the CPU via the mode selector also deletes the CPU's IP address.
  • Page 72: Backup And Restore Tool

    Maintenance 7.3 Backup and Restore Tool Backup and Restore Tool Once you have configured the computer for your application, you can create an image of your system. You can use this image to restore your user-specific application to your system at a later time, if necessary.
  • Page 73 Maintenance 7.3 Backup and Restore Tool Parameter Description --image Path to the base image that is used. --device Target hard disk. --backup Create a backup image of the selected device. --factory Reset factory setting to base image. --restore Restore device with the selected image. --overwrite Overwrites the existing configuration during the recovery.
  • Page 74 Maintenance 7.3 Backup and Restore Tool Restore (-r; --restore) This parameter restores the target hard disk with a base image or backup image. The parameter restores the first three partitions. To restore the base image, enter the following command line: ./s7-restore-tool -i ../CPU1505SPF.img -d /dev/sda -r ●...
  • Page 75: Special Features

    Maintenance 7.4 Special features Special features 7.4.1 Special situations when downloading in STEP 7 No connection possible In order to download the project to the target system, an online connection must be established. If an online connection to the target system is not possible, check the interface settings, such as the IP address.
  • Page 76: Assignment Of Addresses With Absolute Addressing

    Maintenance 7.4 Special features 7.4.4 Assignment of addresses with absolute addressing To ensure optimum runtime during access to tags, the tags must be located at addresses that match their length. In the figure below, this means either in the light blue or in the dark blue area.
  • Page 77: Protection

    These functionalities are deactivated by default. To use the functionalities, you enable them in STEP 7. Reference For additional information on the protection functions of the S7-1500 automation system, see the section on protection in the S7-1500 Automation System System Manual (https://support.automation.siemens.com/WW/view/en/59191792). CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...
  • Page 78: General Information On Protection

    Use the Defense-In-Depth concept to secure the controller. Reference You can find additional information on the configuration of the Web server in the Web server (https://support.automation.siemens.com/WW/view/en/59193560) Function Manual. You will find more information on the PUT/GET and NTP instructions in the Communication (https://support.automation.siemens.com/WW/view/en/59192925) Function Manual.
  • Page 79: Access Protection

    Protection 8.3 Access protection Access protection 8.3.1 Configuring access protection for the CPU in STEP 7 Introduction The CPU offers four access levels, in order to limit access to specific functions. By setting up the access level and the passwords for a CPU, you limit the functions and memory areas that are accessible without entering a password.
  • Page 80 Protection 8.3 Access protection The CPU's default setting is "No restriction" and "No password protection". In order to protect access to a CPU, you must edit the properties of the CPU and set up a password. Communication between the CPUs (via the communication functions in the blocks) is not restricted by the protection level of the CPU, unless PUT/GET communication is deactivated.
  • Page 81: Protected Project - Lost Password

    Protection 8.3 Access protection 4. Activate the desired protection level in the first column of the table. The green checkmarks in the columns to the right of the respective access level show you which operations are still available without entering the password. 5.
  • Page 82: Locking Protection Levels With The Plc Program

    Protection 8.3 Access protection 8.3.3 Locking protection levels with the PLC program Introduction You use the instruction "Limit and enable password legitimization" (ENDIS_PW) to specify whether or not configured passwords are legitimized for the CPU. In this way, you can prevent legitimized connections, even if the correct password is known.
  • Page 83: Protecting Blocks

    1500 Software Controller or vice versa, the block must be compiled again. To do so, you need the password for the block that is to be compiled. If you transfer a system library from a hardware controller to a project of a SIMATIC S7-1500 Software Controller, the library must be recompiled.
  • Page 84: Virus Scanners And Firewall

    Protection 8.5 Virus scanners and firewall Virus scanners and firewall Operation on systems with firewall The CPU and all associated components can be operated on systems with activated firewall. Configure the firewall rules manually. For Open User Communication, application-specific IP ports can be used, which are not enabled by default by the setup program.
  • Page 85 Protection 8.6 Setting up copy protection See also Protecting blocks (Page 83) CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...
  • Page 86: Interrupts, Error Messages And Diagnostics And System Alarms

    The status and error displays of the CPU are described below. You will find additional information on "Alarms" in the STEP 7 online help. You will find additional information on "Diagnostics" and "System messages" in the System diagnostics (https://support.automation.siemens.com/WW/view/en/59192926) function manual. Status display The status of the CPU is displayed at the following places: ●...
  • Page 87 Interrupts, error messages and diagnostics and system alarms 9.1 Status and error display of the CPU Meaning of the LED displays The CPU has three LEDs to indicate the current operating mode and diagnostic status. The following table shows the meaning of the various combinations of colors for the RUN/STOP, ERROR and MAINT LEDs.
  • Page 88: Export Of Diagnostic Information

    The "SIMATIC Diagnostics Tool" is available as Download (https://support.automation.siemens.com/WW/view/en/65976201) on the Internet. Required service data The exported service data must include the following information: ●...
  • Page 89: Diagnostics

    ● Files of the CPU ● GRUB installation ● Memory areas of the hardware configuration ● Siemens-specific values on the System Management BIOS (SMBIOS) ● Kernel of the Linux operating system ● Communication channels between the Linux operating system and the CPU Requirement The third partition "/dev/sda3"...
  • Page 90 Interrupts, error messages and diagnostics and system alarms 9.3 Diagnostics Parameters of the Diagnostics Tool The following table provides an overview of the supported command line commands: Parameter Explanation --kernel-path Active path of the kernel version. If the kernel is updated after the installation, use this parameter to identify the new kernel path.
  • Page 91 Interrupts, error messages and diagnostics and system alarms 9.3 Diagnostics Base image partition test The Diagnostics Tool checks if the partitions are created correctly and the sectors are undamaged. Structure of the partitions: ● BIOS Grub (/dev/sda1) ● EFI partition (/dev/sda2) ●...
  • Page 92: Error Messages Of The Diagnostics Tool

    Meaning Can not open file: <File name> The file with the hash list cannot be opened. Path to the hash list: Boot/Siemens/SWCPU/hash_file Memory allocation error Memory for loading the hash file cannot be as- signed. File does not exist: <File name>...
  • Page 93: Diagnostic Information Using Step 7

    ● CPU diagnostics buffer ● "Online tools" task card Reference You can find further information about diagnostics in the Diagnostics Function Manual (https://support.automation.siemens.com/WW/view/en/59192926) and in the STEP 7 online help. CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...
  • Page 94: Diagnostics Information Using The Web Server

    ● Module information ● Messages (without acknowledgment option) ● Information about communication ● Topology Reference You can find additional information about the "Web server" topic in the Web Server Function Manual (https://support.automation.siemens.com/WW/view/en/59193560). CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...
  • Page 95: Technical Data

    Technical Data Article number The CPU 1505SP is a PC-based controller of the SIMATIC S7-1500 Software Controller family. Technical specifications The following table provides you with an overview of the supported CPUs: Article number Technical specifications CPU 1505SP 6ES7672-5DC11-0YA0 CPU 1505SP (https://support.industry.siemens.com/cs/ww/en/pv/6ES7672-...
  • Page 96: Reference Information

    To be able to use the parameters, start the Management tool with "./s7_vnic_macconfig". Parameter Explanation --mount-path Parent directory of "SWCPU". --target Specifies the interface whose MAC address is changed. LINUX: Siemens RT-VMM network adapter • SWCPU: Runtime communication interface • --mac-addr Assigns a new MAC address. --default-mac Assigns default value for MAC address.
  • Page 97 Reference information A.1 Permitted commands / parameters Parameters in the IPConfig tool To be able to use the parameters, start the IPConfig tool with "./s7_vnic_ipconfig". Upper and lower case are taken into account in these parameters. Parameter Description --nic Name of the Linux runtime communication interface via which the request is sent.
  • Page 98 Reference information A.1 Permitted commands / parameters Parameters in the Backup and Restore Tool To be able to use the parameters, start the Diagnostics Tool with "./s7_restore_tool". Parameter Description --image Path to the base image that is used. --device Target hard disk. --backup Create a backup of the selected device.
  • Page 99: Glossary

    (M, T, C, or DB), but sets these areas to their default settings. Communication interface CP card that is used for communication by the CPU, PROFIBUS interface built into the Siemens PC or Industrial Ethernet interface. CP card Communications processor Cycle time The cycle time is the time required to execute the complete scan cycle.
  • Page 100 Glossary PG/OP communication Communication between the CPU and other S7 applications, such as programming devices, operator panels, and S7 controllers. The CPU supports Industrial Ethernet for PG/OP communication. Programmable logic controller - electronic control system. The PLC functions are stored in a program on the control device.
  • Page 101 Glossary Transmission Control Protocol: Enables transmission of data packets ("messages") if both nodes support RFC 1006. Time-of-day synchronization The ability to broadcast a system standard time from a single source to all devices within the system so that they can set their own clocks to the standard time. Trusted Platform Module: The hardware can be expanded to include a TPM.
  • Page 102: Index

    Index Access protection, 79 Maintenance Firmware update, 67 Command line commands, 63 Communication NVRAM, 23 Open communication, 48 Configuring CPU, 44 Loading a project, 46 Open User Communication, 48 Operating modes Basics, 64 Delivery state, 69 Operating mode transitions, 65 Diagnostics, 88 OUC, 48 Exporting data, 88...
  • Page 103 Index Technical specifications, 95 Web server, 25, 45 Configuring the web server, 45 Enabling the web server, 45 Web browser, 25 Work memory, 22 CPU 1505SP (F) Ready4Linux Version 2.7 Operating Instructions, 05/2019, A5E46864285-AA...

Table of Contents