Siemens SCE training document for TIA Portal module 032-300: single-instance and multi-instance IEC timers and counters in SIMATIC S7-1500.
This SCE training document (version 2017/05) belongs to the Siemens Automation Cooperates with Education program and is released for free use in training and research institutions. Module 032-300 is an application example that shows how IEC timers and IEC counters are programmed in the TIA Portal engineering tool for SIMATIC S7-1500, together with the ordering numbers of the matching SIMATIC controllers and STEP 7 training software.
The document first explains the theory of instances in SIMATIC S7-1500, distinguishing single instances with their own instance data block from multi-instance calls that store the data of several calls in the instance data block of the calling function block. It then lists the hardware and software prerequisites and the task, in which a conveyor motor is given a timer function, and follows the work step by step: extending function block FB1 "Automatic motor" with a TP type IEC timer, updating the block call in the organization block, saving and compiling, loading, observing the program and archiving the project. A checklist, an exercise that adds an IEC counter for a magazine holding five parts, and a list of further information close the module. This manual is written in Chinese.
| Engineering software | SIMATIC STEP 7 Professional in TIA Portal, V13 or higher |
|---|---|
| Controllers | SIMATIC S7-1500 / S7-1200 / S7-300 |
| Controller example | CPU 1516F-3 PN/DP, firmware V1.6 or higher, with memory card, 16DI/16DO and 2AI/1AO |
| Connection between engineering station and controller | Ethernet |
| Order number, ET 200SP Open Controller CPU 1515SP PC F with HMI RT SW | 6ES7677-2FA41-4AB1 |
| Order number, SIMATIC S7 CPU 1516-3 PN/DP | 6ES7516-3AN00-4AB3 |
| Order number, STEP 7 Professional V14 SP1 single license | 6ES7822-1AA04-4YA5 |
| Document version | 2017/05 |
SIMATIC STEP 7 Professional in TIA Portal, version V13 or higher.
A single instance assigns a separate instance data block to each call of a function block, while a multi-instance assigns one instance data block to several instances of one or more function blocks.
The exercise asks you to extend function block FB1 "Automatic motor" with an IEC counter, so that parts at the end of the conveyor are counted and automatic mode stops once five parts are in the magazine.
SIMATIC S7-1500, S7-1200 or S7-300 controllers, for example a CPU 1516F-3 PN/DP with firmware V1.6 or higher.