EasyManua.ls Logo

Siemens S7-1200 - Page 9

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Table of contents
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
9
4.5.4 Program card ............................................................................................................................. 130
4.5.5 Firmware update ........................................................................................................................ 133
4.6 Recovery from a lost password .................................................................................................. 136
5 Device configuration............................................................................................................................ 137
5.1 Inserting a CPU .......................................................................................................................... 138
5.2 Detecting the configuration for an unspecified CPU .................................................................. 140
5.3 Adding modules to the configuration ......................................................................................... 141
5.4 Changing a device ..................................................................................................................... 142
5.5 Configuring the operation of the CPU ........................................................................................ 142
5.5.1 Overview .................................................................................................................................... 142
5.5.2 Configuring digital input filter times ............................................................................................ 144
5.5.3 Pulse catch ................................................................................................................................. 146
5.6 Configuring the parameters of the modules ............................................................................... 147
5.7 Configuring the CPU for communication ................................................................................... 149
5.7.1 Creating a network connection .................................................................................................. 149
5.7.2 Configuring the Local/Partner connection path .......................................................................... 150
5.7.3 Parameters for the PROFINET connection ............................................................................... 153
5.7.4 Assigning Internet Protocol (IP) addresses ............................................................................... 155
5.7.4.1 Assigning IP addresses to programming and network devices ................................................. 155
5.7.4.2 Checking the IP address of your programming device .............................................................. 157
5.7.4.3 Assigning an IP address to a CPU online .................................................................................. 158
5.7.4.4 Configuring an IP address for a CPU in your project ................................................................. 159
5.7.5 Testing the PROFINET network ................................................................................................ 162
5.7.6 Locating the Ethernet (MAC) address on the CPU .................................................................... 163
5.7.7 Configuring Network Time Protocol synchronization ................................................................. 165
5.7.8 PROFINET device start-up time, naming, and address assignment ......................................... 166
6 Programming concepts ....................................................................................................................... 169
6.1 Guidelines for designing a PLC system ..................................................................................... 169
6.2 Structuring your user program ................................................................................................... 170
6.3 Using blocks to structure your program ..................................................................................... 172
6.3.1 Organization block (OB) ............................................................................................................. 172
6.3.2 Function (FC) ............................................................................................................................. 174
6.3.3 Function block (FB) .................................................................................................................... 175
6.3.4 Data block (DB) .......................................................................................................................... 176
6.3.5 Creating reusable code blocks ................................................................................................... 177
6.4 Understanding data consistency ................................................................................................ 178
6.5 Programming language .............................................................................................................. 179
6.5.1 Ladder logic (LAD) ..................................................................................................................... 180
6.5.2 Function Block Diagram (FBD) .................................................................................................. 181
6.5.3 SCL ............................................................................................................................................ 181
6.5.4 EN and ENO for LAD, FBD and SCL ......................................................................................... 188
6.6 Protection ................................................................................................................................... 190
6.6.1 Access protection for the CPU ................................................................................................... 190
6.6.2 Know-how protection ................................................................................................................. 193

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals