Chương 6. Thực hiện các project với Eplan. 6.1. Thiết kế mạch điều khiển PLC s7 300, s7 1200 điều khiển trạm bơm cấp nước. 6.2. Thiết kế mạch bơm tăng áp duy trì áp suất, sử dụng biến tần ABB. 6.3. Thiết kế mạch động lực tủ tổng sử dụng máy cắt ACB. 6.4. Bố trí tủ điện trên Eplan Pane với các project đã học. 6.5. Xuất bản vẽ Eplan sang PDF, Cad, Bom, Part List
Preface SIMATIC S7 S7-1200 Programmable controller System Manual V4.3.0 02/2019 A5E02486680-AM _ Product overview _ New features _ STEP programming _ software Installation _ PLC concepts _ Device configuration _ Programming concepts _ Basic instructions _ Extended instructions _ 10 Technology instructions _ 11 Communication _ 12 Web server _ Communication processor _ 13 and Modbus TCP TeleService communication _ 14 (SMTP email) 15 Online and diagnostic tools _ A Technical specifications _ B Calculating a power budget _ C Ordering Information _ Device exchange and spare D parts compatibility _ Legal information Warning notice system This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol These notices shown below are graded according to the degree of danger DANGER indicates that death or severe personal injury will result if proper precautions are not taken WARNING indicates that death or severe personal injury may result if proper precautions are not taken CAUTION indicates that minor personal injury can result if proper precautions are not taken NOTICE indicates that property damage can result if proper precautions are not taken If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems Proper use of Siemens products 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 The permissible ambient conditions must be complied with The information in the relevant documentation must be observed Trademarks All names identified by ® are registered trademarks of Siemens AG The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described Since variance cannot be precluded entirely, we cannot guarantee full consistency However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions Siemens AG Division Digital Factory Postfach 48 48 90026 NÜRNBERG GERMANY A5E02486680-AM Ⓟ 01/2019 Subject to change Copyright © Siemens AG 2019 All rights reserved Preface Purpose of the manual The S7-1200 series is a line of programmable logic controllers (PLCs) that can control a variety of automation applications Compact design, low cost, and a powerful instruction set make the S7-1200 a perfect solution for controlling a wide variety of applications The S71200 models and the Windows-based STEP programming tool (Page 33) give you the flexibility you need to solve your automation problems This manual provides information about installing and programming the S7-1200 PLCs and is designed for engineers, programmers, installers, and electricians who have a general knowledge of programmable logic controllers Required basic knowledge To understand this manual, it is necessary to have a general knowledge of automation and programmable logic controllers Scope of the manual This manual describes the following products: ● STEP Basic and Professional (Page 33) ● S7-1200 CPU firmware release V4.3 For a complete list of the S7-1200 products described in this manual, refer to the technical specifications (Page 1350) Certification, CE label, C-Tick, and other approvals Refer to the technical specifications (Page 1350) for more information Service and support In addition to our documentation, Siemens offers technical expertise on the Internet and on the customer support web site (http://support.industry.siemens.com) Contact your Siemens distributor or sales office for assistance in answering any technical questions, for training, or for ordering S7 products Because your sales representatives are technically trained and have the most specific knowledge about your operations, process and industry, as well as about the individual Siemens products that you are using, they can provide the fastest and most efficient answers to any problems you might encounter S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM Preface Documentation and information S7-1200 and STEP provide a variety of documentation and other resources for finding the technical information that you require ● The S7-1200 Programmable Controller System Manual provides specific information about the operation, programming, and the specifications for the complete S7-1200 product family The system manual is available as an electronic (PDF) manuals You can download or view this and other electronic manuals from the Siemens Industry Online Support Web site (http://support.industry.siemens.com) The system manual is also available on the Documents Disk that ships with every S7-1200 CPU ● The online STEP information system provides immediate access to the conceptual information and specific instructions that describe the operation and functionality of the programming package and basic operation of SIMATIC CPUs ● The Siemens Industry Online Support Web site (http://support.industry.siemens.com) provides access to the electronic (PDF) versions of the SIMATIC documentation set, including the system manual, and the STEP information system Existing documents are available from the Product Support link With this online documentation access, you can also drag and drop topics from various documents to create your own custom manual Updates to previous-published system manuals are also available from Siemens Industry Online Support You can access online documentation by clicking "mySupport" from the left side of the page and selecting "Documentation" from the navigation choices To use the mySupport Documentation features, you must sign up as a registered user ● The Siemens Industry Online Support Web site also provides FAQs and other helpful documents for S7-1200 and STEP ● You can also follow or join product discussions on the Service & Support technical forum (https://support.industry.siemens.com/tf/ww/en/?Language=en&siteid=csius&treeLang=e n&groupid=4000002&extranet=standard&viewreg=WW&nodeid0=34612486) These forums allow you to interact with various product experts – Forum for S7-1200 (https://support.industry.siemens.com/tf/ww/en/threads/237?title=simatic-s71200&skip=0&take=10&orderBy=LastPostDate+desc) – Forum for STEP Basic (https://support.industry.siemens.com/tf/ww/en/threads/243?title=step-7-tiaportal&skip=0&take=10&orderBy=LastPostDate+desc) S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM Preface Security information Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept Siemens’ products and solutions constitute one element of such a concept Customers are responsible for preventing unauthorized access to their plants, systems, machines and networks Such systems, machines and components should only be connected to an enterprise network or the internet if and to the extent such a connection is necessary and only when appropriate security measures (e.g firewalls and/or network segmentation) are in place For additional information on industrial security measures that can be implemented, please visit (https://www.siemens.com/industrialsecurity) 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 To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed visit (https://www.siemens.com/industrialsecurity) S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM Table of contents Preface Product overview 25 1.1 Introducing the S7-1200 PLC 25 1.2 Expansion capability of the CPU 29 1.3 Basic HMI panels 31 New features 32 STEP programming software 33 3.1 System requirements 34 3.2 Different views to make the work easier 35 3.3 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9 3.3.10 3.3.11 3.3.12 Easy-to-use tools 36 Inserting instructions into your user program 36 Accessing instructions from the "Favorites" toolbar 37 Creating a complex equation with a simple instruction 38 Adding inputs or outputs to a LAD or FBD instruction 40 Expandable instructions 40 Selecting a version for an instruction 41 Modifying the appearance and configuration of STEP 41 Dragging and dropping between editors 42 Changing the operating mode of the CPU 43 Changing the call type for a DB 44 Temporarily disconnecting devices from a network 45 Virtual unplugging of devices from the configuration 46 3.4 Backward compatibility 47 Installation 48 4.1 Guidelines for installing S7-1200 devices 48 4.2 Power budget 51 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.8 4.3.8.1 4.3.8.2 4.3.8.3 4.3.8.4 Installation and removal procedures 52 Mounting dimensions for the S7-1200 devices 52 Installing and removing the CPU 55 Installing and removing an SB, CB, or BB 57 Installing and removing an SM 59 Installing and removing a CM or CP 60 Removing and reinstalling the S7-1200 terminal block connector 62 Installing and removing the expansion cable 63 TS (TeleService) adapter 65 Connecting the TeleService adapter 65 Installing the SIM card 66 Installing the TS adapter unit on a DIN rail 68 Installing the TS adapter on a panel 69 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM Table of contents 4.4 Wiring guidelines .70 PLC concepts 77 5.1 5.1.1 5.1.2 5.1.3 5.1.3.1 5.1.3.2 5.1.3.3 5.1.3.4 5.1.3.5 5.1.3.6 5.1.3.7 5.1.3.8 5.1.3.9 5.1.3.10 5.1.3.11 5.1.3.12 5.1.3.13 5.1.3.14 5.1.3.15 5.1.3.16 5.1.3.17 5.1.4 5.1.5 5.1.5.1 5.1.6 5.1.7 5.1.8 Execution of the user program 77 Operating modes of the CPU 81 Processing the scan cycle in RUN mode 85 Organization blocks (OBs) 85 Program cycle OB 86 Startup OB 86 Time delay interrupt OB 87 Cyclic interrupt OB 87 Hardware interrupt OB 88 Time error interrupt OB 89 Diagnostic error interrupt OB 90 Pull or plug of modules OB .92 Rack or station failure OB .93 Time of day OB .93 Status OB 94 Update OB 95 Profile OB 95 MC-Servo and MC-Interpolator OB 95 MC-PreServo 95 MC-PostServo 96 Event execution priorities and queuing 97 Monitoring and configuring the cycle time 101 CPU memory 103 System and clock memory 105 Diagnostics buffer 107 Time of day clock 108 Configuring the outputs on a RUN-to-STOP transition 108 5.2 5.2.1 Data storage, memory areas, I/O and addressing 109 Accessing the data of the S7-1200 .109 5.3 Processing of analog values 115 5.4 5.4.1 5.4.2 5.4.3 5.4.4 5.4.5 5.4.6 5.4.7 5.4.8 5.4.9 5.4.10 5.4.11 Data types .117 Bool, Byte, Word, and DWord data types .118 Integer data types 119 Floating-point real data types .119 Time and Date data types .120 Character and String data types 121 Array data type 124 Data structure data type 125 PLC data type .125 Variant pointer data type .126 Accessing a "slice" of a tagged data type .126 Accessing a tag with an AT overlay 127 5.5 5.5.1 5.5.2 Using a memory card 129 Inserting a memory card in the CPU 130 Configuring the startup parameter of the CPU before copying the project to the memory card 133 Transfer card 133 5.5.3 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM Table of contents 5.5.4 5.5.5 Program card 136 Firmware update 139 5.6 Recovery from a lost password 142 Device configuration 143 6.1 Inserting a CPU 144 6.2 Uploading the configuration of a connected CPU 146 6.3 Adding modules to the configuration 148 6.4 6.4.1 6.4.2 6.4.3 Configuration control 149 Advantages and applications of configuration control 149 Configuring the central installation and optional modules 149 Example of configuration control 155 6.5 Changing a device 158 6.6 6.6.1 6.6.2 6.6.3 Configuring the operation of the CPU 159 Overview 159 Configuring digital input filter times 160 Pulse catch 162 6.7 Configuring multilingual support 163 6.8 Configuring the parameters of the modules 165 6.9 Configuring the CPU for communication 167 6.10 Time synchronization 169 Programming concepts 171 7.1 Guidelines for designing a PLC system 171 7.2 Structuring your user program 172 7.3 7.3.1 7.3.2 7.3.3 7.3.4 7.3.5 7.3.6 Using blocks to structure your program 174 Organization block (OB) 175 Function (FC) 176 Function block (FB) 177 Data block (DB) 178 Creating reusable code blocks 180 Passing parameters to blocks 180 7.4 Understanding data consistency 183 7.5 7.5.1 7.5.2 7.5.3 7.5.3.1 7.5.3.2 7.5.3.3 7.5.4 Programming language 184 Ladder logic (LAD) 184 Function Block Diagram (FBD) 185 SCL 186 SCL program editor 186 SCL expressions and operations 187 Indexed addressing with PEEK and POKE instructions 191 EN and ENO for LAD, FBD and SCL 193 7.6 7.6.1 7.6.2 7.6.3 Protection 195 Access protection for the CPU 195 External load memory 197 Know-how protection 198 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM Table of contents 7.6.4 Copy protection .199 7.7 Downloading the elements of your program 200 7.8 Synchronizing the online CPU and offline project 204 7.9 7.9.1 Uploading from the online CPU 205 Comparing the online CPU to the offline CPU 206 7.10 7.10.1 7.10.2 7.10.3 7.10.4 Debugging and testing the program .206 Monitor and modify data in the CPU .206 Watch tables and force tables 207 Cross reference to show usage 207 Call structure to examine the calling hierarchy .208 Basic instructions 210 8.1 8.1.1 8.1.2 8.1.3 Bit logic operations 210 Bit logic instructions 210 Set and reset instructions .213 Positive and negative edge instructions .216 8.2 Timer operations 219 8.3 Counter operations .227 8.4 8.4.1 8.4.2 8.4.3 8.4.4 8.4.4.1 8.4.4.2 8.4.4.3 Comparator operations 233 Compare values instructions 233 IN_Range (Value within range) and OUT_Range (Value outside range) .234 OK (Check validity) and NOT_OK (Check invalidity) 235 Variant and array comparison instructions 236 Equality and non-equality comparison instructions 236 Null comparsion instructions 237 IS_ARRAY (Check for ARRAY) 237 8.5 8.5.1 8.5.2 8.5.3 8.5.4 8.5.5 8.5.6 8.5.7 8.5.8 8.5.9 Math functions .238 CALCULATE (Calculate) 238 Add, subtract, multiply and divide instructions 239 MOD (return remainder of division) 240 NEG (Create twos complement) 241 INC (Increment) and DEC (Decrement) 242 ABS (Form absolute value) 242 MIN (Get minimum) and MAX (Get maximum) .243 LIMIT (Set limit value) 244 Exponent, logarithm, and trigonometry instructions .245 8.6 8.6.1 Move operations 247 MOVE (Move value), MOVE_BLK (Move block), UMOVE_BLK (Move block uninterruptible), and MOVE_BLK_VARIANT (Move block) 247 Deserialize 250 Serialize 253 FILL_BLK (Fill block) and UFILL_BLK (Fill block uninterruptible) 256 SWAP (Swap bytes) .257 LOWER_BOUND: (Read out ARRAY low limit) 258 UPPER_BOUND: (Read out ARRAY high limit) 260 Read / Write memory instructions 262 PEEK and POKE (SCL only) 262 Read and write big and little Endian instructions (SCL) .264 8.6.2 8.6.3 8.6.4 8.6.5 8.6.6 8.6.7 8.6.8 8.6.8.1 8.6.8.2 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM Table of contents 8.6.9 8.6.9.1 8.6.9.2 8.6.9.3 8.6.10 8.6.10.1 Variant instructions 265 VariantGet (Read VARIANT tag value) 265 VariantPut (Write VARIANT tag value) 266 CountOfElements (Get number of ARRAY elements) 267 Legacy instructions 268 FieldRead (Read field) and FieldWrite (Write field) instructions 268 8.7 8.7.1 8.7.2 8.7.3 8.7.4 8.7.5 8.7.6 8.7.6.1 8.7.6.2 Conversion operations 270 CONV (Convert value) 270 Conversion instructions for SCL 271 ROUND (Round numerical value) and TRUNC (Truncate numerical value) 274 CEIL and FLOOR (Generate next higher and lower integer from floating-point number) 275 SCALE_X (Scale) and NORM_X (Normalize) 276 Variant conversion instructions 279 VARIANT_TO_DB_ANY (Convert VARIANT to DB_ANY) 279 DB_ANY_TO_VARIANT (Convert DB_ANY to VARIANT) 280 8.8 8.8.1 8.8.2 8.8.3 8.8.4 8.8.5 8.8.6 8.8.7 8.8.8 8.8.9 8.8.10 8.8.10.1 8.8.10.2 8.8.10.3 8.8.10.4 8.8.10.5 8.8.10.6 8.8.10.7 8.8.10.8 8.8.10.9 8.8.10.10 Program control operations 282 JMP (Jump if RLO = 1), JMPN (Jump if RLO = 0), and Label (Jump label) instructions 282 JMP_LIST (Define jump list) 283 SWITCH (Jump distributor) 284 RET (Return) 286 ENDIS_PW (Enable/disable CPU passwords) 287 RE_TRIGR (Restart cycle monitoring time) 289 STP (Exit program) 290 GET_ERROR and GET_ERROR_ID (Get error and error ID locally) instructions 291 RUNTIME (Measure program runtime) 294 SCL program control statements 296 Overview of SCL program control statements 296 IF-THEN statement 297 CASE statement 298 FOR statement 299 WHILE-DO statement 300 REPEAT-UNTIL statement 301 CONTINUE statement 302 EXIT statement 303 GOTO statement 303 RETURN statement 304 8.9 8.9.1 8.9.2 8.9.3 8.9.4 Word logic operations 305 AND, OR, and XOR logic operation instructions 305 INV (Create ones complement) 306 DECO (Decode) and ENCO (Encode) instructions 306 SEL (Select), MUX (Multiplex), and DEMUX (Demultiplex) instructions 308 8.10 8.10.1 8.10.2 Shift and rotate 311 SHR (Shift right) and SHL (Shift left) instructions 311 ROR (Rotate right) and ROL (Rotate left) instructions 312 Extended instructions 313 9.1 9.1.1 9.1.2 9.1.3 Date, time-of-day, and clock functions 313 Date and time-of-day instructions 313 Clock functions 316 TimeTransformationRule data structure 319 S7-1200 Programmable controller 10 System Manual, V4.3.0 02/2019, A5E02486680-AM Index LAD (ladder logic) monitor, 1323 monitoring status or value, 1322 overview, 184 program editor, 1323 status, 1323, 1328 Lamp loads, 73 Languages, user-defined Web pages, 1034 Latency, 97 LED (read LED status), 424 LED indicators communication interface, 1045, 1307 CPU status, 1307 LEFT (read the left characters of a character string), 340 Legacy TCON, TDISCON, TSEND, and TRCV instructions, 831 Legacy TRCV_C (receive data via Ethernet (TCP)), 812 Legacy TSEND_C (send data via Ethernet (TCP)), 812 Legacy USS protocol library overview, 1235 requirements for using, 1237 status codes, 1246 USS_DRV (Swap data with drive), 1241 USS_PORT (Edit communication via USS network), 1239 USS_RPM (readout parameters from the drive), 1243 USS_WPM (change parameters in the drive), 1245 LEN (determine the length of a character string), 338 LENGTH parameter, SEND_P2P, 1083 Length, PtP message, 1061 LIMIT (set limit value), 244 Linear programming, 172 LN (form natural logarithm), 245 Load memory, 26 CPU 1211C, 1362 CPU 1212C, 1375 CPU 1214C, 1387 CPU 1215C, 1400 CPU 1217C, 1416 user-defined Web pages, 1023 Local memory maximum per OB priority level, 113 usage by blocks, 113 Local time RD_LOC_T (read local time), 317 WR_LOC_T (set local time), 317 Local/Partner connection, 769 LOG2GEO (Determine the slot from the hardware identifier), 518 Logging in/out, standard Web pages, 976 Logic analyzer, 1340 Loss of CPU communication to modules, 92 Lost password, 142 LOWER_BOUND (read out ARRAY low limit), 258 M MAC address, 776, 781 Manual fragment DB control, 1038 Manuals, Maritime approval, 1353 Master polling architecture, 1093 Math, 38, 238, 239 MAX (get maximum), 243 MAX_LEN (maximum length of a character string), 338 Maximum message length, 1060 Maximum Web server connections, 1042 MB_CLIENT, 1126 MB_CLIENT (communicate via PROFINET as Modbus TCP client), legacy, 1250 MB_COMM_LOAD (configure port on the PtP module for Modbus RTU), legacy, 1268 MB_MASTER (communicate via the PtP port as Modbus master), legacy, 1271 MB_RED_CLIENT, 1145 MB_RED_SERVER, 1163 MB_SERVER, 1134 MB_SERVER (communicate via PROFINET as Modbus TCP server), legacy, 1257 MB_SLAVE (communicate via the PtP port as Modbus slave), legacy, 1277 MC_ChangeDynamic (change dynamic settings for the axis), 719 MC_CommandTable, 716 MC_Halt (pause axis), 705 MC_Home (home axis), 702 MC_MoveAbsolute (position axis absolutely), 707 MC_MoveJog (move axis in jog mode), 714 MC_MoveRelative (position axis relatively), 710 MC_MoveVelocity (move axis at predefined velocity), 712 MC_Power (release/block axis), 698 MC_ReadParam (read parameters of a technology object), 723 MC_Reset (confirm error), 701 MC_WriteParam (write to parameters of a technology object), 721 MC-PostServo OB, 96 MC-PreServo OB, 95 Measurements, trace jobs, 1341 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM 1583 Index Media redundancy Configuring, 920 Functions in ring topology, 916 Memory clock memory, 105 I (process image input), 111 L (local memory), 109 load memory, 103 M (bit memory), 113 monitoring memory usage, 1317 peripheral input addresses (force table), 1328 Q (process image output), 112 retentive memory, 103 system memory, 105 Temp memory, 113 work memory, 103 Memory areas addressing Boolean or bit values, 110 immediate access, 110 process image, 110 Memory areas, viewing with Web server, 981 Memory card, 1536 configure the startup parameters, 133 empty transfer card for a lost password, 142 firmware update, 139 incompatibility error, 1308 inserting into CPU, 130 lost password, 142 overview, 129 program card, 137 transfer card, 134 Memory card service life, 139 Memory locations, 109, 111 Message end, 1059 length, 1060 start, 1056 Message configuration instructions, 1092 receive, 1055 transmit, 1054 MicroMaster drive, connecting, 1118 MID (read the middle characters of a character string), 340 MIN (get minimum), 243 Miscellaneous PtP parameter errors, 1067 Mobile device, accessing Web server, 969 Mobile devices Web page layout, 974 MOD (return remainder of division), 240 Modbus function codes, 1121 MB_CLIENT (communicate via PROFINET as Modbus TCP client), legacy, 1250 MB_COMM_LOAD (configure port on the PtP module for Modbus RTU), legacy, 1268 MB_MASTER (communicate via the PtP port as Modbus master), legacy, 1271 MB_SERVER (communicate via PROFINET as Modbus TCP server), legacy, 1257 MB_SLAVE (communicate via the PtP port as Modbus slave), legacy, 1277 memory addresses, 1123 Modbus_Comm_Load (Configure SIPLUS I/O or port on the PtP module for Modbus RTU), 1193 Modbus_Master (Communicate using SIPLUS I/O or the PtP port as Modbus RTU master), 1197 Modbus_Slave (Communicate using SIPLUS I/O or the PtP port as Modbus RTU slave), 1204 network station addresses, 1123 RTU communication, 1123 versions, 41, 1105, 1192, 1236, 1267 MODBUS MB_CLIENT, 1126 MB_RED_CLIENT, 1145 MB_RED_SERVER, 1163 MB_SERVER, 1134 Modbus RTU master program, 1215 slave example, 1217 Modbus TCP versions, 1125, 1249 Modbus_Comm_Load (Configure SIPLUS I/O or port on the PtP module for Modbus RTU) instruction, 1193 Modbus_Master (Communicate using SIPLUS I/O or the PtP port as Modbus RTU master), 1197 Modbus_Slave (Communicate using SIPLUS I/O or the PtP port as Modbus RTU slave), 1204 Modifying program editor status, 1323 variables from Web server, 993 watch table, 1324 Module information standard Web page, 985 Modules communication boards (CB), 30 communication module (CM), 30 communication processor (CP), 30 comparison chart, 29 configuring parameters, 165 signal board (SB), 30 signal modules (SM), 30 thermal zone, 50, 53 ModuleStates, 446 ModuleStates example, 448 S7-1200 Programmable controller 1584 System Manual, V4.3.0 02/2019, A5E02486680-AM Index Monitoring capturing and resetting DB values, 1323 cycle time, 1317 force operation, 1329 force table, 1328 LAD status, 1323 LAD status and use of watch table, 1322 memory usage, 1317 watch table, 1324 Monitoring the program, 207 Monitoring variables from Web server, 993 Motion Telegram 4, 649 Motion control hardware and software limit switches, 678 homing (sequence for active homing), 693 homing configuration parameters, 689 homing the axis, 688 List of ErrorIDs and ErrorInfo, 737 MC_ChangeDynamic (change dynamic settings for the axis), 719 MC_CommandTable, 716 MC_Halt (pause axis), 705 MC_Home (home axis), 702 MC_MoveAbsolute (position axis absolutely), 707 MC_MoveJog (move axis in jog mode), 714 MC_MoveRelative (position axis relatively), 710 MC_MoveVelocity (move axis at predefined velocity), 712 MC_Power (release/block axis), 698 MC_ReadParam (read parameters of a technology object), 723 MC_Reset (confirm error), 701 MC_WriteParam (write to parameters of a technology object), 721 overview, 619 phasing, 625 TM Pulse module, 666 Motion control instructions, 696 Mounting airflow, 50 clearance, 50 communication board (CB), 57 communication module (CM), 60 cooling, 50 CPU, 55 dimensions, 53 expansion cable, 63 grounding, 71 guidelines, 48 inductive loads, 74 isolation, 71 lamp loads, 73 overview, 54 signal board (SB), 57 signal module (SM), 59 terminal block connector, 62 thermal zone, 50, 53 wiring guidelines, 70, 72 MOVE (move value), 247 MOVE_BLK (move block), 247 Movement sequence (MC_CommandTable), 716 MRES, operator panel, 43 MUL (multiply), 239 Multi-node connections connection types, 951 Ethernet protocols, 951 Multiple AWP variable definitions, 1016 MUX (multiplex), 308 N N (scan operand for negative signal edge), 216 N_TRIG (scan RLO for negative signal edge), 217 N= box and N coil (set operand on negative signal edge), 216 NE_ElemType (Compare data type for UNEQUAL with the data type of a tag), 236 NE_Type (Compare data type for UNEQUAL with the data type of a tag), 236 NEG (create twos complement), 241 Nesting depth, 77 Network communication, 875 bias and terminate cable, 1046 Network connection connecting devices, 768 multiple CPUs, 879, 880, 884, 933, 937 Network time protocol (NTP), 783 New features, 32 No restart, 81 NORM_X (normalize), 276 Normalizing analog values, 278 Normally open/closed coil, 212 Normally open/closed contact, 210 NOT (invert RLO), 212 NOT_NULL (Query for UNEQUALS ZERO pointer), 237 NOT_OK (check invalidity), 235 Numbers binary, 118 integer, 119 real, 119 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM 1585 Index O OB, (Organization block) Off-delay (TOF), 219 OK (check validity), 235 On-delay delay (TON), 219 On-delay retentive (TONR), 219 Online assigning an IP address, 774 capturing and resetting DB values, 1323 comparing and synchronizing, 1319 cycle time, 1317 diagnostics buffer, 1318 force, 1328 force operation, 1329 going online, 1310 IP address, 1313 memory usage, 1317 monitoring status or value, 1322 operating panel, 1317 operator panel, 43 RUN/STOP buttons, 43 status, 1323 time of day, 1313 tools, 1321 watch table, 1322, 1323, 1324 Online and diagnostic tools downloading in RUN mode, 1330 Online device names PROFINET IO, 1311 OPC, configuration, 1296 Open loop motion control configuring the axis, 628 PTO, 628 Open User Communication establishing a connection and reading data with legacy TRCV_C, 812 establishing a connection and reading data with TRCV_C, 799 establishing a connection and sending data with legacy TSEND_C, 812 establishing a connection and sending data with TSEND_C, 799 Open User Communication instructions return values, 874 Operating mode, 43, 43 changing STOP/RUN, 1317 operating modes of the CPU, 81 Operating phase HSC (high-speed counter), 543 Operator panel, 43 Operator panels, 31 Optimized data blocks, 179 Option handling (configuration control), 149 OR (logic operation), 305 Organization block call, 85 calling code blocks within the user program, 174 configuring operation, 176 creating, 176 cyclic interrupt, 87 function, 85 know-how protection, 198 linear and structured programming, 172 multiple cyclic, 176 overview, 77 priority classes, 85 processing, 175, 175 startup processing, 84 temp memory allocation, 113 Organization block (OB) Reading start information with RD_SINFO, 414 OUT_Range (value outside range), 234 Output parameters, 177 configuring pulse channels, 466 pulse outputs, 464 Overvoltage category, 1356 P P (scan operand for positive signal edge), 216 P_TRIG (scan RLO for positive signal edge), 217 P= box and P coil (set operand on positive signal edge), 216 P3964_Config (Configuring the 3964(R) protocol), 1078 errors, 1079 Panels (HMI), 31 Parameter assignment, 177 Parameters configuration LENGH and BUFFER for SEND_P2P, 1083 receive, 884 transmit, 882 Parity, 1052 Passive/active communication configuring the partners, 769, 953 connection IDs, 789 parameters, 792 Password protection access to the CPU, 195 binding to a CPU, memory card, or password, 199 code block, 198 copy protection, 199 empty transfer card, 142 ENDIS_PW (enable disable passwords), 287 lost password, 142 S7-1200 Programmable controller 1586 System Manual, V4.3.0 02/2019, A5E02486680-AM Index PEEK, PEEK_WORD, PEEK_BOOL, PEEK_DWORD, PEEK_BLK, 191, 262 Performance times, 1363, 1376, 1389, 1401, 1417 Phase shift, cyclic interrupt OBs, 87 Phasing, 625 PID cascading controllers, 585 overview, 558 PID_3STEP (PID controller with tuning for valves), 569 PID_3Step algorithm, 558 PID_3Step ErrorBit parameters, 576 PID_Compact (universal PID controller with integrated tuning), 561 PID_Compact algorithm, 558 PID_Compact ErrorBit parameters, 566 PID_Compact process value limits, 565 PID_Temp (universal PID controller that allows handling of temperature control), 579 PID_Temp ErrorBit parameters, 588 PLC add modules, 148 assigning an IP address to an online CPU, 774 communication load, 102 comparing and synchronizing, 1319 copying blocks from an online CPU, 205 cycle time, 101, 102 cycle time, 101, 102 device configuration, 143 download, 200 expansion cable, 63 force, 1328 force operation, 1329 HSC configuration, 541 installation, 54, 55 know-how protection, 198 monitoring, 1322 operating modes, 81 overview of the CPU, 25 power budget, 51 RTM (runtime meters), 321 startup processing, 84 system design, 171 tags, 109 terminal block connector, 62 time synchronization property, 784 using blocks, 172 watch table, 1324 PM 1207 power module, 1540 PN slave Activating and deactivating with D_ACT_DP, 373 Pointers Variant data type, 126 Point-to-Point communication, 1048 Point-to-Point programming, 1092 POKE, POKE_BOOL, POKE_BLK, 191, 262 Polling architecture, 1093 Polution degree, 1356 Port configuration, 1051 errors, 1070, 1220 instructions, 1092 PtP example program, 1095 Port configuration, 3964(R), 1063 Port numbers assigning to communication partners, 786 restricted, 875 PORT_CFG (configure communication parameters dynamically), legacy, 1219 Port_Config (port configuration), 1068 Portal view, 35 Potentiometer module specifications, 1538 Power budget, 51 example, 1544 form for calculations, 1545 overview, 1543 Power supply module PM1207, 1540 Priority priority class, 85 priority in processing, 97 Process image force, 1328 force operation, 1329 monitor, 1323 monitoring status or value, 1322 Reading inputs with GETIO, 364 Reading the process image area with GETIO_PART, 366 status, 1323, 1328 Transferring the process image area with SETIO_PART, 367 Writing outputs with SETIO, 365 PROFIBUS add CM 1243-5 (DP master) module, 932 add DP slave, 932 address, 933 address, configuring, 933 CM 1242-5 (DP slave) module, 929 CM 1243-5 (DP master) module, 929 distributed I/O instructions, 360 DPNRM_DG (read diagnostic data from a DP slave), 391 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM 1587 Index DPRD_DAT (read consistent data of a DP standard slave), 383 DPWR_DAT (write consistent data of a DP standard slave), 383 GET (read data from a remote CPU), 946 master, 928 network connection, 768, 933 number of communication connections, 765 PUT (write data to a remote CPU), 946 RALRM (receive interrupt), 369 RDREC (read data record), 361 S7 connection, 951 slave, 928 WRREC (write data record), 361 PROFIBUS and PROFINET DeviceStates example, 442 ModuleStates example, 448 PROFIdrive, 638 PROFIenergy, 394 Profile OB, 95 PROFINET ad hoc mode, 789 configuring communication between CPU and HMI device, 878 configuring the IP address, 159 connection IDs, 789 CPU-to-CPU communication, 879 device naming and addressing, 785 distributed I/O instructions, 360 DPRD_DAT (read consistent data of a standard DP slave), 383 DPWR_DAT (write consistent data of a DP standard slave), 383 Ethernet address properties, 777 GET (read data from a remote CPU), 946 IP address, 776 IP address assignment, 785 MAC address, 776 network connection, 768, 879, 880, 884 number of communication connections, 765 overview, 786 PLC-to-PLC communication, 879 PRVREC (make data record available), 388 PUT (write data to a remote CPU), 946 RALRM (receive interrupt), 369 RCVREC (receive data record), 386 RDREC (read data record), 361 resetting a connection, 840 S7 connection, 951 system start-up time, 785 testing a network, 780 time synchronization, 159 time synchronization property, 784 types of communication, 762 WRREC (write data record), 361 PROFINET instructions legacy TCON, TDISCON, TSEND, and TRCV instructions, 831 legacy TRCV_C (receive data via Ethernet (TCP)), 812 legacy TSEND_C (send data via Ethernet (TCP)), 812 T_CONFIG (configure interface), 863 T_DIAG, 842 T_RESET, 840 TCON, 820 TDISCON, 820 TRCV, 820 TRCV_C, 799, 883 TSEND, 820 TSEND_C, 799 TURCV (receive data via Ethernet (UDP)), 857 TUSEND (send data via Ethernet (UDP)), 857 PROFINET IO Adding a device, 884 Assigning a CPU, 885 Assigning device names, 885 Assigning device names online, 1311 device names, 885 Devices, 884 Online device names, 1311 PROFINET IO devices Reading a portion of the inputs with GETIO_PART, 366 Writing a part of the outputs with SETIO_PART, 367 Writing all outputs with SETIO, 365 PROFINET port autonegotiation, 778 PROFINET RT, 786 Program binding to a CPU, memory card, or password, 199 calling code blocks within the user program, 174 copying blocks from an online CPU, 205 download, 200 linear and structured programs, 172 memory card, 129 organization blocks (OBs), 175 password protection, 198 priority class, 85 Program card configure the startup parameters, 133 creating, 137 inserting into CPU, 130 overview, 129 S7-1200 Programmable controller 1588 System Manual, V4.3.0 02/2019, A5E02486680-AM Index Program control (SCL), 296 CASE, 298 CONTINUE, 302 EXIT, 303 FOR, 299 GO TO, 303 IF-THEN, 297 REPEAT, 301 RETURN, 304 WHILE, 300 Program cycle OB, 86 Program editor monitor, 1323 status, 1323 Program execution, 77 Program information In the call structure, 208 Program structure, 174 Programming adding inputs or outputs to LAD or FBD instructions, 40 binding to a CPU, memory card, or password, 199 block calls, 77 calling code blocks within the user program, 174 comparing and synchronizing code blocks, 1319 data block (DB), 77 drag and drop between editors, 42 expandable instructions, 40 favorites, 37 FBD (function block diagram), 185 function (FC), 176 function block (FB), 77, 177 initial value of an FB, 177 inserting instructions, 36 instance data block (DB), 177 LAD (ladder), 184 linear program, 172 operating modes of the CPU, 81 PID overview, 558 PID_3STEP (PID controller with tuning for valves), 569 PID_3Step algorithm, 558 PID_Compact (universal PID controller with integrated tuning), 561 PID_Compact algorithm, 558 PID_Temp (universal PID controller that allows handling of temperature control), 579 power flow (EN and ENO), 193 priority class, 85 PtP instructions, 1092 RTM (runtime meters), 321 SCL (Structured Control Language), 186, 186, 187 structured program, 172 system time, 317 types of code blocks, 77 unplugged modules, 46 unspecific CPU, 146 valid FC, FB, and DB numbers, 77 Programming user-defined Web page language switch, 1035 Project access protection by passwords, 195 binding to a CPU, memory card, or password, 199 comparing and synchronizing, 1319 download, 200 empty transfer card, 142 lost password, 142 program card, 137 protecting a code block, 198 transfer card, 134 Project view, 35, 35 Protection class, 1357 Protection level binding to a CPU, memory card, or password, 199 code block, 198 CPU, 195 lost password, 142 Protocol communication, 1048 freeport, 1048 ISO on TCP, 786 Modbus, 1048 PROFINET RT, 786 TCP, 786 UDP, 786 USS, 1048 Protocols, communication, 788 PRVREC (make data record available), 388 PTO, 628 PTO (pulse train output) cannot be forced, 1329 configuring pulse channels, 466 CTRL_PTO (pulse train output), 460 CTRL_PWM (pulse width modulation), 459 operation, 464 PtP communication, 1048 configuring parameters, 1054 configuring ports, 1051 example program, 1094 example program configuration, 1095 example program, running, 1102 example program, STEP programming, 1100 programming, 1092 terminal emulator for example program, 1101 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM 1589 Index PtP communication, 3964(R) configuring ports, 1063 configuring priority and protocol parameters, 1064 PtP error classes, 1067, 1218 PtP instruction return values, 1066 Pull or plug of modules OB, 92 Pulse catch, 162, 165 Pulse catch bits, digital input configuration, 162 Pulse delay (TP), 219 Pulse outputs, 464 PUT (write data to a remote CPU), 946 configuring the connection, 770 PWM (pulse width modulation Cycle time, 467 Pulse duration, 467 PWM (pulse width modulation) cannot be forced, 1329 changing the Cycle time, 469 changing the Pulse duration, 469 configuring pulse channels, 466 CTRL_PTO (pulse train output), 460 CTRL_PWM (pulse width modulation), 459 I/O addresses, 469 operation, 464 Q Q memory configuring pulse channels, 466 pulse outputs, 464 QRY_CINT (query cyclic interrupt parameters), 400 QRY_DINT (query time-delay interrupt status), 407 QRY_TINT (query status of time of day interrupt), 405 Queueing, 97 Quotation mark conventions, Web server, 1016 R R (reset ouput), 213 R_TRIG (set tag on positive signal edge), 217 Rack or station failure OB, 93 RALRM (receive interrupt), 369, 378 Rated voltages, 1357, 1357 RCV_CFG (configure serial receive parameters dynamically), legacy, 1222 RCV_PTP (enable receive messages), legacy, 1229 RCV_RST (delete receive buffer), legacy, 1231 RCVREC (receive data record), 386 RD_ADDR (determine the IO addresses from the hardware identifier), 520 RD_LOC_T (read local time), 317 RD_SINFO (Read current OB start information, 414 RD_SYS_T (read time-of-day), 317 RDREC (read data record), 361, 378 RE_TRIGR (restart cycle monitoring time), 289 READ_BIG (Read data in big endian format), 264 READ_DBL (read from data block in load memory), 509 READ_LITTLE (Read data in little endian format), 264 Reading from DBs, I/O, or memory, 191, 262 Reading HTTP variables, 1008 Receive configuration errors, 1077, 1227 Receive message configuration PtP device configuration, 1055 PtP example program, 1096 Receive parameters configuration, 884 Receive runtime return values, 1084, 1229 Receive_Config (receive configuration), 1072 Receive_P2P (receive Point-to-Point), 1084 Receive_Reset (receiver reset), 1086 Recipe DB structure, 471 example program, 479 overview, 470 RecipeExport (recipe export), 474 RecipeImport (recipe import), 476 Recipe program example, 478 Redundancy Redundancy clients, 915 Redundancy domains, 917 Referencing enum types, user-defined Web pages, 1012 Refreshing user-defined Web pages, 1003 Relay electrical service life, 1358 REPEAT, SCL, 301 REPLACE (replace characters in a character string), 343 Replacing modules, 46 Requirements, installation, 34 Reset timer (RT), 219 Reset to factory settings, 1313 RESET_BF (reset bit field), 214 Resetting the values of a DB, 1323 Restoring a backup, 1348 Restricted TSAPs and port numbers, 875 RET (return), 286 Retentive block tags download in RUN mode, 1336 Retentive memory, 26, 103 CPU 1211C, 1362 CPU 1212C, 1375 CPU 1214C, 1387 S7-1200 Programmable controller 1590 System Manual, V4.3.0 02/2019, A5E02486680-AM Index CPU 1215C, 1400 CPU 1217C, 1416 Return values Open User Communication instructions, 874 PtP instructions, 1066 RETURN, SCL, 304 Reverse voltage protection, 1357 RIGHT (read the right characters of a character string), 340 Ring port, 922 Ring topology, 915 ROL (rotate left) and ROR (rotate right), 312 ROUND (round numerical value), 274 Router IP address, 777 RS (reset/set flip-flop), 214 RS232 and RS485 communication modules, 1045 RS485 connector termination and bias, 1046 RT (reset timer), 219 RTS (Hardware flow control, PtP), 1053 RTS On delay, Off delay, 1055 Run axis commands as movement sequence (MC_CommandTable), 716 RUN mode, 81, 85, 1317 force operation, 1329 operator panel, 43 toolbar buttons, 43 RUN to STOP transition, 108 RUN/STOP buttons, 43 Runtime meters (RTM), 321 RUNTIME(Measure program runtime), 294 S S (set ouput), 213 S_CONV (convert character string), 324 S_MOV (move chracter string), 323 S7 communication configuring the connection, 770 S7 routing, 923 Saving backup files, 1347 SCALE_X (scale), 276 Scaling analog values, 278 Scaling analogs, 39 Scan cycle force operation, 1329, 1329 overview, 101 SCL (Structured Control Language) addressing, 187 bit logic, 210 calling an FB or FC, 187 calling blocks, 174 compare values, 233 conditions, 187 control statements, 187, 296 Conversion instructions, 271 EN and ENO (power flow), 193 expressions, 187 operators, 187 overview, 186 priority of operators, 187 program control, 296 program editor, 186 timers, 219 Var section, 186 Security binding to a CPU, memory card, or password, 199 copy protection, 199 CPU access protection, 195 know-how protectionf for a code block, 198 lost password, 142 Security events in diagnostics buffer, 107 SEL (select), 308 Send message configuration, 1054 Send parameters configuration, 769, 882, 953 SEND_CFG (configure serial transmission parameters dynamically), legacy, 1221 Send_Config (send configuration), 1070 Send_P2P (send Point-to-Point data), 1080 SEND_P2P (send Point-to-Point data) LENGH and BUFFER parameters, 1083 SEND_PTP (transmit send buffer data), legacy, 1227 Serial communication, 1048 Serialize, 253 Service and support, SET_BF (set bit field), 214 SET_CINT (set cyclic interrupt parameters), 398 Set_Features (set advanced features), 1090 SET_TIMEZONE (set time zone), 320 SET_TINTL (set date and time of day interrupt), 402 SETIO, 365 SETIO_PART, 367 Settings, 41 SGN_GET (get RS232 signals), 1086 SGN_GET (Query RS232 signals), legacy, 1232 SGN_SET (set RS-232 signals), legacy, 1233 Shared device concept, 897 configuration, 900 Shared I-device, configuration, 905 SHL (shift left) and SHR (shift right), 311 Siemens security certificate, Web pages, 979 Siemens technical support, siemens_automation_language cookie, 1035 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM 1591 Index Signal boards (SB) add modules, 148 analog output representation (current), 1462, 1507 analog output representation (voltage), 1461, 1506 configuration of parameters, 165 input representation (current), 1461, 1506 input representation (voltage), 1460, 1505 installation, 57 overview, 30 power requirements, 1543 removal, 57 SB 1221 DI x 24 V DC, 200 kHz, 1489 SB 1221 DI x V DC, 200 kHz, 1489 SB 1222 DQ x 24 V DC, 200 kHz, 1491 SB 1222 DQ x V DC, 200 kHz, 1491 SB 1223 DI x 24 V DC, DQ x 24 V DC, 1497 SB 1223 DI x 24 V DC/DQ x 24 V DC, 200 kHz, 1494 SB 1223 DI x V DC/DQ x V DC, 200 kHz, 1494 SB 1231 AI x 12 bit, 1500 SB 1231 AI x 16 bit RTD, 1513 SB 1231 AI x 16 bit Thermocouple, 1507 SB 1232 AQ x 12 bit, 1502 Signal handling errors, 1087, 1089, 1233, 1234 Signal modules (SM) add modules, 148 analog input representation (current), 1461, 1506 analog input representation (voltage), 1460, 1505 analog output representation (current), 1462, 1507 analog output representation (voltage), 1461, 1506 configuration of parameters, 165 expansion cable, 63 installation, 59 overview, 30 power requirements, 1543 removal, 60 SM 1221 DI 16 x 24 V DC, 1433 SM 1221 DI x 24 V DC, 1433 SM 1222 DQ 16 x 24 V DC, 1436 SM 1222 DQ 16 x Relay, 1436 SM 1222 DQ Relay Changeover, 1435 SM 1222 DQ x 24 V DC, 1435 SM 1222 DQ x Relay, 1435 SM 1223 DI 16 x 24 V DC, DQ 16 x 24 V DC, 1441 SM 1223 DI 16 x 24 V DC, DQ 16 x Relay, 1441 SM 1223 DI x 120/230 V AC/DQ x Relay, 1446 SM 1223 DI x 24 V DC, DQ x 24 V DC, 1441 SM 1223 DI x 24 V DC, DQ x Relay, 1441 SM 1231 AI x 13 bit, 1449 SM 1231 AI x 16 bit, 1449 SM 1231 AI x 16 bit TC, 1463 SM 1231 AI x RTD x 16 bit, 1468 SM 1231 AI x 13 bit, 1449 SM 1231 AI x 16 bit TC, 1463 SM 1231 AI x RTD x 16 bit, 1468 SM 1232 AQ x 14 bit, 1453 SM 1232 AQ x 14 bit, 1453 SM 1234 AI x 13 bit/AQ x 14 bit, 1455 SM 1278 4xIO-Link Master, 1475 step response times, 1459 Signal_Set (set RS232 signals), 1088 Simulators, 1536 SIN (form sine value), 245 Slave polling architecture, 1093 Slice (of a tagged data type), 126 SM 1231 RTD selection tables, 1472, 1516 SM and SB comparison chart, 29 device configuration, 143, 143 Smart phone, accessing Web server, 969 SMS, 1295 Snapshot of DB values, 1323 Snubber circuits for inductive loads, 74 Software flow control, 1054 Special characters User-defined Web pages, 1016 Specifications analog input representation (current), 1461, 1506 analog input representation (voltage), 1460, 1505 analog output representation (current), 1462, 1507 analog output representation (voltage), 1461, 1506 approvals, 1350 BB 1297, 1518 CB 1241 RS485, 1531 CM 1241 RS232, 1533 CM 1241 RS422/485, 1534 CPU 1211C AC/DC/Relay, 1362 CPU 1211C DC/DC/DC, 1362 CPU 1211C DC/DC/Relay, 1362 CPU 1212C AC/DC/Relay, 1375 CPU 1212C DC/DC/DC, 1375 CPU 1212C DC/DC/Relay, 1375 CPU 1214C AC/DC/Relay, 1387 CPU 1214C DC/DC/DC, 1387 CPU 1214C DC/DC/Relay, 1387 CPU 1215C AC/DC/Relay, 1400 CPU 1215C DC/DC/DC, 1400 CPU 1215C DC/DC/Relay, 1400 CPU 1217C DC/DC/DC, 1416 electromagnetic compatibility (EMC), 1354 environmental conditions, 1356 general technical specifications, 1350 S7-1200 Programmable controller 1592 System Manual, V4.3.0 02/2019, A5E02486680-AM Index industrial environments, 1353 input simulators, 1536 memory cards, 1536 potentiometer module, 1538 rated voltages, 1357 SB 1221 DI x 24 V DC, 200 kHz, 1489 SB 1221 DI x V DC, 200 kHz, 1489 SB 1222 DQ x 24 V DC, 200 kHz, 1491 SB 1222 DQ x V DC, 200 kHz, 1491 SB 1223 DI x 24 V DC, DQ x 24 V DC, 1497 SB 1223 DI x 24 V DC/DQ x 24 V DC, 200 kHz, 1494 SB 1223 DI x V DC/DQ x V DC, 200 kHz, 1494 SB 1231 AI x 12 bit, 1500 SB 1231 AI x 16 bit RTD, 1513 SB 1231 AI x 16 bit Thermocouple, 1507 SB 1232 AQ x 12 bit, 1502 SM 1221 DI 16 x 24 V DC, 1433 SM 1221 DI x 24 V DC, 1433 SM 1222 DQ 16 x 24 V DC, 1436 SM 1222 DQ 16 x Relay, 1436 SM 1222 DQ Relay Changeover, 1435 SM 1222 DQ x 24 V DC, 1435 SM 1222 DQ x Relay, 1435 SM 1223 DI 16 x 24 V DC, DQ 16 x 24 V DC, 1441 SM 1223 DI 16 x 24 V DC, DQ 16 x Relay, 1441 SM 1223 DI 24 V DC, DQ x Relay, 1441 SM 1223 DI x 120/230 V AC/DQ x Relay, 1446 SM 1223 DI x 24 V DC, DQ x 24 V DC, 1441 SM 1231 AI x 13 bit, 1449 SM 1231 AI x 16 bit, 1449 SM 1231 AI x 16 bit TC, 1463 SM 1231 AI x RTD x 16 bit signal module, 1468 SM 1231 AI x 13 bit, 1449 SM 1231 AI x 16 bit TC, 1463 SM 1231 AI x RTD x 16 bit signal module, 1468 SM 1232 AQ x 14 bit, 1453 SM 1232 AQ x 14 bit, 1453 SM 1234 AI x 13 bit/AQ x 14 bit, 1455 SM 1278 4xIO-Link Master, 1475 step response times (CPU), 1370, 1383, 1395, 1408, 1426 step response times (SB), 1504 step response times (SM), 1459 SQR (form square), 245 SQRT (form square root), 245 SR (set/reset flip-flop), 214 SRT_DINT (start time-delay interrupt), 407 Standard data blocks, 179 Standard machine projects (configuration control), 149 Standard Web pages, 962 accessing from PC, 967 changing operating mode, 980 communication, 989 cookie restrictions, 1043 Data Logs, 1000 Diagnostic, 984 Diagnostics, 981 Intro, 979 JavaScript, 1043 layout, 973 logging in and out, 976 Module information, 985 secure access, 968 Start, 980 Tag status, 993 Start conditions, 1056 Start message character, 1056 Start standard Web page, 980 Startup after POWER ON, 81 startup processing, 84 STARTUP mode force operation, 1329 Startup OB, 86 Startup parameters, 133 Station Read information with GetStationInfo, 433 Status LED indicators, 1307 LED indicators (communication interface), 1045 Status OB, 94 STEP add modules, 148 add new device, 144 Adding a PROFINET IO device, 884 adding inputs or outputs to a LAD or FBD instruction, 40 AS-i, 938 AS-i port, 937 assigning an IP address to an online CPU, 774 block calls, 77 calling code blocks within the user program, 174 changing the settings, 41 communication load, 102 comparing and synchronizing, 1319 configuring the CPU, 159 configuring the modules, 165 copying blocks from an online CPU, 205 cycle time, 101, 102 cycle time, 101, 102 data block (DB), 77 device configuration, 143 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM 1593 Index download, 200 drag and drop between editors, 42 Ethernet port, 776 expandable inputs or outputs, 40 favorites, 37 force, 1328 force operation, 1329 function (FC), 176 function block (FB), 77, 177 HSC configuration, 541 initial value of an FB, 177 inserting instructions, 36 instance data block (DB), 177 linear and structured programs, 172 monitoring, 1322, 1323 network connection, 768 operating modes, 81 operation, 1324 operator panel, 43 password protection, 198 Portal view and Project view, 35 priority class (OB), 85 PROFIBUS, 933 PROFINET port, 776 program card, 129 RTM (run time meters), 321 RUN/STOP buttons, 43 startup processing, 84 time synchronization property (PROFINET), 784 types of code blocks, 77 unplugged modules, 46 valid FC, FB, and DB numbers, 77 version compatibility, 47 STEP programming PtP example program, 1100 user-defined Web pages, 1020 STEP web pages, Stop bits, 1052 STOP mode, 81, 1317 enable outputs in STOP mode, 1327 force operation, 1329 operator panel, 43 toolbar buttons, 43 STP (exit program), 290 Strg_TO_Chars (convert character string to array of CHAR), 333 STRG_VAL (convert character string to numerical value), 324 String S_MOVE (move character string), 323 string data overview, 323 String data type, 122 string operations overview, 337 Structured programming, block structure, 172 SUB (subtract), 239 Subnet mask, 776 Support, Suppressor circuits for inductive loads, 74 Surge immunity, 1355 SWAP (swap bytes), 257 SWITCH (jump distributor), 284 Switching languages, user-defined Web pages, 1034 Synchonizing data block start values, 204 Synchronization time synchronization property (PROFINET), 784 System clock RD_SYS_T (read time-of-day), 317 WR_LOC_T (set local time), 317 WR_SYS_T (set time-of-day), 317 System memory byte, 106 System requirements, 34 T T_ADD (add times), 314 T_COMBINE (combine times), 315 T_CONFIG (configure interface), 863 T_CONV (convert times and extract), 313 T_DIAG, 842 T_DIFF (time difference), 315 T_RESET, 840 T_SUB (subtract times), 314 Tablet, accessing Web server, 969 Tag force operation, 1329 monitoring status or value, 1322 overlay, 127 slice, 126 Tag status standard Web page, 993 TAN (form tangent value), 245 Task cards columns and headers, 41, 798, 811, 819, 830, 1105, 1125, 1192, 1236, 1249, 1267 TCON, 820 configuration, 769 connection IDs, 789 connection parameters, 792 TCON, TDISCON, TSEND, and TRCV versions, 819, 830 TCON_Param, 792 TCP ad hoc mode, 789 S7-1200 Programmable controller 1594 System Manual, V4.3.0 02/2019, A5E02486680-AM Index connection configuration, 769, 769 connection IDs, 789 parameters, 792 protocol, 786 TCP/IP communication, 786 TDISCON, 820 Technical specifications, 1350 Technical support, Technology instructions, 525, 553 Technology module, SM 1278 4xIO-Link Master, 1475 Technology objects motion control, 627 PID, 559 Telecontrol, 1292 TeleControl communication processors, 1287 TeleService adapter and module, 65 Teleservice communication TM_MAIL (send email), 1300 TeleService via GPRS, 1292 Temp memory maximum per OB priority level, 113 usage by blocks, 113 Terminal block connector, 62 Terminal emulator for PtP example program, 1101 Testing the program, 207 Thermal zone, 50, 53 Thermocouple basic operation, 1466, 1509 cold junction compensation, 1466, 1509 SB 1231 AI x 16 bit, 1507 SB 1231 Filter selection table, 1511 SB 1231 Thermocouple filter selection table, 1510 SM 1231 Thermocouple filter selection table, 1466 SM 1231 Thermocouple selection table, 1466 TIA Portal, Portal view and Project view, 35 Time DTL (date and time long data type), 121 RD_LOC_T (read local time), 317 RD_SYS_T (read time-of-day), 317 SET_TIMEZONE (set time zone), 320 T_ADD (add times), 314 T_COMBINE (combine times), 315 T_CONV (convert times and extract), 313 T_DIFF (time difference), 315 T_SUB (subtract times), 314 Time data type, 120 TOD (time of day data type), 120 WR_LOC_T (set local time), 317 WR_SYS_T (set time-of-day), 317 Time delay OB, 87 Time error interrupt OB, 89 Time of day configuring the online CPU, 1313 Time of day OB, 94 Time synchronization, 169 Time synchronization property, 784 Time-delay interrupts, 407 Timers operation, 222 quantity, 28, 1364, 1377, 1390, 1402, 1418 RT (reset timer), 219 size, 28, 1364, 1377, 1390, 1402, 1418 TOF (off-delay timer), 219 TON (on-delay delay timer), 219 TONR (on-delay retentive) timer, 219 TP (pulse delay timer), 219 TimeTransformationRule for daylight saving time, 319 TM_MAIL (send email), 1300 TMAIL_C, 847 Topology Ring, 915 Topology view, 35 Trace feature, 1340 Transfer (program) cards, 1536 Transfer card, 134 configure the startup parameters, 133 empty transfer card for a lost password, 142 inserting into CPU, 130 lost password, 142 overview, 129 Transmission block (T-block), 881 Transmit configuration errors, 1072, 1222 Transmit message configuration PtP device configuration, 1054 PtP example program, 1095 Transmit runtime errors, 1082, 1229 TRCV, 820 connection IDs, 789 TRCV (receive data via Ethernet (TCP)) ad hoc mode, 789 parameter configuration, 884 TRCV_C ad hoc mode, 789 TRCV_C (receive data via Ethernet (TCP)), 799 connection IDs, 789 connection parameters, 792 TRCV_C (receive data via Ethernet (TCP)) configuration, 769 Triggering trace, 1340 values in the watch table, 1326 Trigonometric instructions, 245 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM 1595 Index Troubleshooting diagnostics buffer, 1318 LED indicators, 1307 TRUNC (truncate numerical value), 274 TS Adapter, 29 installing a TS module, 65 installing on a DIN rail, 68 installing on a wall, 69 SIM card, 66 TSAP (transport service access points), 771 configuring general parameters, 881, 952 definition, 787 instructions for assigning to devices, 786 restricted TSAPs and port numbers, 875 TSEND, 820 connection IDs, 789 TSEND_C (send data via Ethernet (TCP)), 799 configuration, 769 connection IDs, 789 connection parameters, 792 instruction configuration, 882 TSEND_C and TRCV_C legacy versions, 811 versions, 798 TURCV (receive data via Ethernet (UDP)), 857 configuration, 769 connection parameters, 792 TUSEND (send data via Ethernet (UDP)), 857 configuration, 769 parameters, 792 U UDP connection configuration, 769 parameters, 792 UDP protocol, 786 UFILL_BLK (fill block uninterruptible), 256 UMOVE_BLK (move block uninterruptible), 247 Unknown CPU version error, 1308 Unplugged modules, 46 Unspecific CPU, 146 Update OB, 95 Updating firmware from STEP 7, 1315 from Web server, 988 with a memory card, 139 Updating user-defined Web pages, 1003 Upgrading a V3.0 CPU to V4.x, 1557 Uploading copying blocks from an online CPU, 205 user program, 205 UPPER_BOUND (read out ARRAY high limit), 260 User configuration, Web server, 966 User interface STEP project and portal views, 35 User program adding inputs or outputs to LAD or FBD instructions, 40 binding to a CPU, memory card, or password, 199 calling code blocks within the user program, 174 copying blocks from an online CPU, 205 download, 200 drag and drop between editors, 42 expandable instructions, 40 favorites, 37 inserting instructions, 36 linear and structured programs, 172 memory card, 129 organization blocks (OBs), 175 password protection, 198 program card, 129 transfer card, 129 User-defined Web pages, 963, 1002 accessing from PC, 1022 activating and deactivating from control DB, 1038 AWP commands for accessing S7-1200 data, 1004 configuring, 1018 creating fragments, 1014 creating with HTML editor, 1003 deleting program blocks, 1019 downloading corresponding DBs, 1021 enabling with WWW instruction, 1020 example, 1024 generating program blocks, 1019 handling special characters, 1016 HTML listing, 1029 importing fragments, 1015 load memory constraints, 1023 manual fragment DB control, 1038 multiple language configuration, 1038 multiple languages, 1034 programming in STEP 7, 1020 reading special variables, 1008 reading variables, 1005 refreshing, 1003 writing special variables, 1010 writing variables, 1006 USS protocol library overview, 1102 requirements for using, 1106 status codes, 1116 USS_Drive_Control (Swap data with drive), 1110 S7-1200 Programmable controller 1596 System Manual, V4.3.0 02/2019, A5E02486680-AM Index USS_Port_Scan (Edit communication via USS network), 1109 USS_Read_Param (readout parameters from the drive), 1113 USS_Write_Param (change parameters in the drive), 1114 user configuration, 966 user-defined Web pages, 1002 WHILE, SCL, 300 Wireless connection to Web server, 969 Wiring diagrams CB 1241 RS 485, 1532 CPU 1211C, 1371 CPU 1212C, 1384 V CPU 1214C, 1396 CPU 1215C, 1410 VAL_STRG (convert numerical value to character CPU 1217C, 1429 string), 324 SB 1221, 1490 Valve PID tuning, 569 SB 1222, 1493 Variable index for an array, 269 SB 1223, 1496, 1499 Variable status Web page (See Tag status), 993 SB 1231, 1502 Variables, monitoring and modifying from Web SB 1231 RTD, 1515 server, 993 SB 1231 thermocouple, 1512 VARIANT_TO_DB_ANY (Convert VARIANT to SB 1232, 1504 DB_ANY), 279 SM 1221, 1434 VariantGet (Read VARIANT tag value), 265 SM 1222, 1438 VariantPut (Write VARIANT tag value), 266 SM 1223, 1443, 1448 Versions of SM 1231, 1451 instructions, 41, 798, 811, 819, 830, 1105, 1125, 1192, SM 1231 RTD, 1470 1236, 1249, 1267 SM 1231 thermocouple, 1464 Visualization, HMI devices, 31 SM 1232, 1454 SM 1234, 1458 SM 1278 IO-Link Master, 1477 W Wiring guidelines, 72 Wait time, 1052 clearance for airflow and cooling, 50 Warm restart, 81 grounding, 71 Watch table prerequisites, 70 enable outputs in STOP mode, 1327 Work memory, 26 force, 207 CPU 1211C, 1362 monitor, 1322 CPU 1212C, 1375 operation, 1324 CPU 1214C, 1387 trigger values, 1326 CPU 1215C, 1400 Watchdog timer (RE_TRIGR instruction), 289 CPU 1217C, 1416 WChar (word character data type), 122 WR_LOC_T (set local time), 317 Web pages WR_SYS_T (set time-of-day), 317 STEP service, support, and documentation, WRIT_DBL (write to data block in load memory), 509 Web server WRITE_BIG (Write data in big endian format), 264 access through CP module, 970 WRITE_LITTLE (Write data in little endian format), 264 appearance on mobile device, 974 Writing to DBs, I/O, or memory, 191, 262 browser support, 963 WRREC (write data record), 361, 378 constraints, 1042 WString (word string data type), 122 enabling, 964 WWW (synchronizing user-defined Web pages), 1020 maximum HTTP connections, 1042 mobile device access, 969 X quotation mark conventions, 1016 standard Web pages, 967 x box (FBD EXCLUSIVE OR logic operation), 211 update rate, 964 XON / XOFF, 1054 XOR (logic operation), 305 S7-1200 Programmable controller System Manual, V4.3.0 02/2019, A5E02486680-AM 1597 ... terminals must connect to the same external reference potential WARNING Connecting non-isolated M terminals to different reference potentials will cause unintended current flows that may cause damage... various documents to create your own custom manual Updates to previous-published system manuals are also available from Siemens Industry Online Support You can access online documentation by clicking... DIS_AIRT and EN_ AIRT (Delay/enable execution of higher priority interrupts and asynchronous error events) instructions 409 9.6 9.6.1 Alarms 410 Gen_UsrMsg (Generate user diagnostic