6.3 Example .......................................................................................... 6-43 6.3.1 Planning a Symbol Table .............................................................. 6-43 6.3.2 Writing a Program ....................................................................... 6-45 Chapter 7 Function Block and Library 7.1 Knowing Function Blocks ............................................................... 7-2 7.1.1 Introduction of Function Blocks ....................................................... 7-2 7.1.2 Characteristics and Advantages of Function Blocks .............................
7-3 7.2 Structure of the Function Blocks in ISPSoft.................................... 7-5 7.2.1 En Pin of Function Block ................................................................. 7-5 7.2.2 Symbol Variables in Function Block .................................................. 7-6 7.2.3 Input/Output Pins of a Function Block .............................................. 7-8 7.2.4 Index Type Symbol Variables ........................................................ 7-14 7.2.5 Function Block Definition and Function Block Instance ...................... 7-18 7.2.6 Calling Relation Between Function Blocks .......................................
7-21 7.2.7 Memory Configuration of Function Block ......................................... 7-24 7.3 Using a Function Block ................................................................. 7-32 7.3.1 Basic Specifications for Function Blocks .......................................... 7-32 7.3.2 Pulse Instructions for Function Blocks (AH/AS Series ONLY) .............. 7-34 7.3.3 Monitoring the Program in a Function Block .................................... 7-35 7.3.4 Modifying the Program in a Function Block ...................................... 7-36 7.4 Instance .......................................................................................
7-37 7.4.1 Planning a Program ..................................................................... 7-37 7.4.2 Creating the Program .................................................................. 7-38 7.4.3 Sample Program for Function(FC)................................................... 7-48 7.5 Knowing the Library ..................................................................... 7-48 7.5.1 Creating the User-defined Library .................................................. 7-48 7.5.2 Including the Function Blocks in the User Defined Library ................. 7-51 7.5.3 Using Delta Library .....................................................................
7-53 Chapter 8 Data Unit Type 8.1 User-defined Data Type/Data Unit Type ............................................... 8-2 vi