Siemens TOA portal module 040-020 manual Industry Sector, IA&DT

Page 19

Industry Sector, IA&DT

4.Once the local tags have been declared, you can start to create the program shown here. The square function 'SQR' is used to square a number for this purpose. The number to be squared is enclosed in brackets. To insert the function, drag it to the position of use in the program.

(→ Instructions (menu on the right) → Basic instructions → Mathematical functions → SQR)

5.Supplement the program as specified below.

SCE Training Curriculum

Page 19 of 30

To be used only at Educational and R&D Facilities

TIA Portal Module 040-020, Edition 03/2013

 

Unrestricted / © Siemens AG 2013. All Rights Reserved

SCE_EN_040-020_R1209_Startup Programming in High-Level Languages with S7-SCL and SIMATIC S7-300

 

 

 

 

Image 19
Contents TIA Portal Module Suitable SCE trainer packages for these training curriculums Industry Sector, IA&DT Requirements Learning objectiveRequired hardware and software Industry Sector, IA&DT Editor / compiler S7-SCL for S7-300/400Debugger Description of task Default tag tableAssignment list / tag table Program structure Structure of the tank content sample taskType Designation Function Interface of the block calculatetankcontent FC140Function call Representation in FBD Interface of the function FC140 CalculatetankcontentCreating a project and configuring hardware Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Creating a program Industry Sector, IA&DT Diagram Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Test program Industry Sector, IA&DT Mode on. → Expanding the assignment list / tag table Expanding the programIndustry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT Industry Sector, IA&DT