您好,欢迎光临本网站![请登录][注册会员]  
文件名称: S5135U编程向导.pdf
  所属分类: 其它
  开发工具:
  文件大小: 7mb
  下载次数: 0
  上传时间: 2019-10-31
  提 供 者: weixin_********
 详细说明:S5135U编程向导pdf,S5135U编程向导SIEMENS SIMATIC S5 CPU 928 Programmers Guide c79000B8576c63301 Contents Introduction: S5 135U Mode of Operation and Application 1-1 1.1 New Features and Functions of the cpu 928 1-7 2 Use卫oga 2-1 2.1 Programming Language STEP5,∴∴2-1 2.1,1 Methods of Representation: LAD, CSF, and STL...... 2-2 2.1.2 Structured pr。 gramming.∴.... 2.1.3 sTEP5 Operations∴∴∴∴∴∴∴…2-4 2.1.4 Numeric Representation........... 2.1.5 STEP 5 Blocks 2.2 Organization, Program and Sequence Blocks.,...... 2-13 2.2.1 Programming ...... ,,,2-13 2.2.2 Calls ,,2-14 2.2.3 Special Organization Blocks ,2-16 2.2.4 Special-function Organization Blocks 2-18 Function blocks 2-19 2.3.1 Structure of Function blocks...,,. 2-20 2.3.2 Programming Function Blocks.,,. 2-22 2.3.3 Calling and Assigning Parameter to Function Blocks...2-26 Special Function blocks 2 Data blocks 2-31 2.4.1 Structure of a data block 即 .2-31 2.4.2 Programming Data Blocks 2-32 2.4.3 Opening Data B1ocks.… 2-33 2.4.4 Specia1 Data b1ocks.,,,,,,,,,,,,,,,,,,,,,.,,,.2-35 Program Processing 3.1 Summary,, 3-1 3.1.1 Program Organization 3.1.2 Program storage 3.1.3 Running the STEP5 User Program. ·· 3.1.4 Running the Program.......... 鲁鲁鲁鲁· 3-9 3.2 STEP5 Operation Set with Examples of Programming....3-10 3.2,1 Basic operation set............. 3.2.2 Supplementary Operation Set..............3-3 B8576633-01 Operating states perating States and Program Levels 4.2 Operating State STOP 6 Operating State START-UP...... 4-9 4.3,1 Cold Restart and Manual Warm Restart.,........ 4-11 4.3.2 Automatic Warm restart 。。4-13 Interruption during START-UP 4-14 Operating State RUN. 4-16 4.4.1 CYCLE: Cyclic Program Execution. “。。画幽 4-17 4.4.2 TIME INTERRUPT: Time-driven Program Execution 4-18 4,4。3 CONTROLLER INTERRUPT: Processing of Controllers....4-23 PROCESS INTERRUPT: Interrupt-driven Program Execution.4-24 Handling Interrupts and errors.....,.......5-1 5.1 Frequent Errors in the User program.........,,5-1 5.2 Evaluation of error information ,,,,5-2 Control Bits and Interrupt Stack (ISTACK) 5-7 5.4 Error Handling Using Organization Blocks 5-18 5.5 Errors during START-UP..........,...,,..5-21 5,5.1 DBo-FE (Error in DB 0)...... ·. 5-22 5.5.2 DB1-FE (Error in DB 1) 5-22 5.5.3 DB2-FE (Error in DB 2)................. 5-24 5.5.4 DXO-FE (Error in DX 0) 5-25 5.6 Errors in run and sTART-UP 5-26 5.6.1 BCF (Command Code Error) ,,,5-27 5.6.2 LZF (Execution Time Error) ,,,5-30 ADE (Addressing Error) ,,,,5-34 5.6.4 QVZ (Acknowledgement Delay) 5-35 5.6,5 ZYK-FE (Cycle Time Error) 5-36 WECK-FE (Collision of Two Time Interrupts).,.,,,.,5-37 REG-FE (Controller ABBR (Abort) Integrated Special Functions..... aDD 0 6-1 6.1 Handling of the Registers 6.1.1 Access to the Condition Code Byte (OB 110)...............6-5 6.1.2 Clear Accus 1, 2, 3 and 4(OB 111) Roll Up Accu (OB 112)and Roll Down Accu (OB 113)....... 6-8 Structure Commands,,.,. 。,,,,,,.,。,,6-10 6,2.1 Counter Loops (oB 160 through 163)..,..,................6-10 6.3 Read Block Stack (BSTACK) (OB 170) 6-12 B8576633-01 6.4 Block Handling ..6-16 6,4,1 Variable Data Block Access (OB 180) 6-16 6.4.2 Test Data Blocks (DB/DX) (OB 181) .6-20 3 Transfer F1 ags to Data Block(oB190,192).……….6-22 6,4.4 Transfer Data Fields to Flag Area (oB 191 and OB 193)...6-24 6.4.5 Transfer Data Blocks to DB-RAM (OB 254, 0B 255)........ 6-29 6.5 Multiprocessor Communication (ob 200 through OB 205)....6-31 Page Access∴∴∴ 6-32 6.6,1 Writing Data to a Page(OB216)..……….…………6-35 6.6.2 Reading Data from a Page (OB 217) .6-37 Assigning a Page (OB 218) 6-39 Sign Extension (OB 220) 6-43 6.8 System Functions......... .,6-44 6.8.1 Switch On/off "Disable All Interrupts"(OB 120)and Switch On/off "Delay All Interrupts"(OB 122) ,,,,,6-44 6.8.2 Switch On/off Disable Individual Time Interrupts (OB 121) and Switch On/off "Delay Individual fime Interrupts"(OB 122) 6-46 5,8 Set Cycle Time (OB 221) 6-49 6.8.4 Restart Cycle Time (OB 222) 6-49 6.8.5 Compare Start-up Modes (OB 223) 6-50 6.8.6 Transfer Interprocessor Communication IPc Flags as a Block (OB 224 6-50 6.8.7 Read Word from the System Program (OB 226) .6-51 6.8.8 Read Check Sum of System Program (OB 227) ..6-52 6.8.9 Read Status Information of Program Level (OB 228)..... 6-54 6.9 Functions for Standard Function blocks (OB 230 through OB 237) 6-56 6.10 Shift Register .6-57 6.10. 1 Initialize Shift Register (OB 240) .· ,.,,.,..6-60 6.10.2 Process Shift Register (OB 241) 6-63 6.10. 3 Erase Shift Register (OB 242) .·:.a·a.·· 5-64 6.11 Contro1: PID Algorithm.…… ,6-65 6. 11.1 Initialize PID Algorithm (OB 250)........ .6-72 6.11.2 Process PID A1 gorithm(oB251)∴…… 6-73 Extended Data Block D 0 ,,,,,,,,.7-1 Memory Assignment and Memory Organization 8-1 8.1 Address Distribution in the CPu 928 8 8.1.1 Address Distribution System-RAM Address Distribution -I/0 ...8-4 8.2 Memory Organization in the CPU 928 8-7 8.2.1 Block Headers in the User Memory and the DB-RAM 8-7 8.2.2 Block Address lists in Data block DB o 8-8 8.2.3 RI/RJ Area 8-12 8.2.4 RS/RT Area (System Data Assignment) ,,,,,,,..,8-12 B8576633-01 Memory Access Using Absolute Addresses.........9-1 9.1 Access to Registers and the Memory via an Address in Accu 1 9-5 9.2 fransfer of Memory Blocks 9-13 BR Register operations 9-19 9.3.1 Loading of the BR Register.....,......,,..9-19 9.3.2 Shifting of the BR Register Contents ,,9-20 9.3.3 Access to the Local Memory........,......9-21 9.3.4 Access to the Global Memory. ,,,,,,,,,,,,9-21 9.3.5 Access to the Page Frame 9-24 multiprocessor Operati 10.1 Notes 10.2 Data Exchange between the Processors ,,,,,,,,,,,10-3 10.2.1 Interprocessor Communication (IPc)Flags.,..,..,10-4 10.2.2 Multiprocessor Communication............,,10-8 10.2.3 "Protected Transfer of Connected Data Fields ,,,,10-8 10.3 I/0 Assignment 甲看 ,,,,,,,,,,,10-9 10.3.1 Data block dB 1 10-9 10.4 Start-up during Multiprocessor Operation ,10-12 10.5 fest Operation 10-13 Testing Aids: Online Functions 11.1 on1 ine Function' STATUSⅤAR工ABEs!,,,,,,,,, 11.2 Online Functio STATUS 11-4 Online Function PROCESSING CONTROL 11.4 Online Function / CONTROL 11.5 Online Function ' GONTROL VARTABLES .11-9 11.6 Online Function COMPRESSm 11-10 11.7 Online Function 'START'/'STOP ,,,,,,.,11-10 11.8 Online Function PC OVERALL RESET ...11-11 11.9 Online Fumction 'OUTPUT ADDRESS ,,。11-11 11.10 Online Function /MEMORY CONF IGURATION.,,...,.,.11-11 11.11 Table: Activities at the checkpoint 11-12 8576633-01 Technical Data s5-l35U B Summary of Error Identifications.,.,,,,...,. B-1 C STEP5 Command Summary,,...,,::.... 。,,,,,,,。,,,,C-1 STEP5 Commands (arranged in alphabetical order) STEP5 Command (arranged according to command code).,,..........E-1 F STEP5 Commands Not Contained in the cPu 928 G f the pro 1 Identifiers E Example: How to Evaluate the ISTACK H-1 Ind List of Figures, Examples and Summaries B857663301 Important: This manual refers to the cPu 928 with MLFB no. -3UA12(12 MHz). B8576633-01 Where to find what in the manual Chapter l gives an introduction into a processor's mode of operation and internal structure. It describes the typical S5-135U system structure as well as the new features and functions of cpu 9 28 Chapter 2 illustrates the user program structure and explains special features of the sTEP 5 programming language. This is followed by a description of the various stEp 5 program blocks and how they are programmed Chapter 3 contains information on the cyclic program processing in CPU 928, the organization and storage of programs. A list of the entire STEP 5 operation set as well as many sample programs have also been included. (Additional information on STEP 5 operations can be found in the 'STEP 5 list of operations. Please, also pay attention to the specifications made under 'Literature references.) Chapter 4 describes the operating states of cPu 928 (START-UP, RUN, SToP) and defines the term program level , It explains possible program levels in the individual operating states of the processor In addition, you will find important information on time-driven and interrupt-driven program processing Chapter 5 contains detailed information on error diagnostic and error handling. You will find a description of typical errors in START-UP and run and learn how to detect errors and handle them The structure of the interrupt stack (ISTAck) and how to evaluate it is described by means of examples Chapter 6 deals with 'integrated special functions, and gives many application examples Chapter 7 illustrates the structure and the programming of data block DX 0 which can be used to easily adapt specific features and functions of cPu 928 to your requirements (incl. sample programs) Chapter 8 gives detailed information on the memory areas of CPU 928 Experienced users will learn how system data is assigned Chapter 9 is dedicated to very experienced users who have a profound knowledge of the system. It contains all the stEP 5 commands used to access the entire memory via absolute addresses and describes the individual registers of CPu 928 Chapter 10 gives additional information on multiprocessor operation and describes the structure and the programming of data block DB 1 which is necessary for multiprocessor operation. The particular fea tures of test operation are explained at the end of this chapter Chapter ll describes some online functions which you can call at the programmer to test your program. We will also turn your attention to pecularities which may arise in connection with CPu 928
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: S5135U编程向导.pdf
 输入关键字,在本站1000多万海量源码库中尽情搜索: