- 11
- 0
- 约 16页
- 2017-04-04 发布于江苏
- 举报
creat block with SCL
Creating New Blocks with SCL Overview User Block: Structures Demonstration: Arithmetic Block Menu Insert Menü Einfügen User Block: Startup Characteristics Compiler and Debugger Appendix: Source Texts Date: * File:ST-PCS7SY1_scl.* SIMATIC PCS 7 Siemens AG 2001. All rights reserved. SITRAIN Siemens Automation and Drives Training SFC CFC SCL WIN CC Database Y2 V5 V4 V3 0000.0 MBAR P4 0000.0 MBAR P5 0000.0 MBAR P6 0000.0 MBAR P1 INERTGAS ABLUFT1 ABLUFT2 ABLUFT3 V6 V1 Y1 V2 MBAR PC % A1 0000.0 Reaktor 01 0000.0 % 000.0 % 000.0 0000.0 produkt M1 R1 0000 0000 F1 Library High-level language for defining own function blocks PASCAL-type syntax, therefore very powerful Compiler and debugger are system components Definition of the block name, the input parameters and output parameters, including the default values Algorithm description in structured text Block compilation and debugging Inserting into the existing block library Using the block in the CFC Editor SCL Block type Block attribute VAR_INPUT VAR_OUPUT VAR_IN_OUT VAR VAR_TEMP Algorithm IF CASE FOR WHILE REPEAT CONTINUE EXITGOTO RETURN FB FC OB DB UDT ? ARIT Arithmetic block R X2 R X1 Y R SCL source Templates Variable declaration Algorithm Compile + Load Test R X3 - Block Template OB FB FC Comment Constant Parameter DB Instance DB DB Referencing UDT UDT - Control Structure IF CASE FOR WHILE REPEAT OB n FBx FBx SFC6 RD_SINFO OB Startup Cyclic interrupt Special case OB m FBx n m Project S7 station CPU S7 program Sources Blocks SCL 1. Edit block. 2. Compile. 3. Load in the CPU. Symbols 4. Debug. Simulation block REACTOR Contents Page Overview ………………………………………………………………………………………….………….. 2 User Block: Structures … 3 Demonstration: Arithmetic Block …………… 4 Menu Insert …………………..…………… 5 User Block: Startup Characteristics …………… 7 Compiler and Debugger ……………………… 9 Appendix: Source Texts ……… 10 S7-SCL This is a higher, textual programming language for programmable logic controllers that is oriented to PAS
您可能关注的文档
- Analysis Active Clamp Forward Converter.ppt
- Anna and the King.pptx
- Article635061493561486197.doc
- Article635574295001919322.doc
- ArctiChill Presentation 20101.pptx
- ASIC_Design_Flow.ppt
- AVID简易使用说明.doc
- B3M6U1 Can you run fast?-孙丽华 潍坊高密姜庄小学.ppt
- B2 module 1 our body and healthy habits.ppt
- Battle of Red Cliffs.pptx
原创力文档

文档评论(0)