Download CyPro User Manual
Transcript
Index • System overview Index Index............................................................................................................................................ 1 Introduction.................................................................................................................................. 4 System overview............................................................................................................... 4 Hardware requirements .................................................................................................... 5 Installation ......................................................................................................................... 5 Communication ................................................................................................................. 6 Serial connection .................................................................................................... 6 TCP/IP connection.................................................................................................. 7 User interface .............................................................................................................................. 8 Main window ..................................................................................................................... 8 Standard toolbar ............................................................................................................... 8 Program toolbar ................................................................................................................ 8 Communication toolbar ..................................................................................................... 9 Project tree........................................................................................................................ 9 Status bar.......................................................................................................................... 9 Menu ............................................................................................................................... 10 File ........................................................................................................................ 10 Edit........................................................................................................................ 11 Format................................................................................................................... 11 View ...................................................................................................................... 11 Project................................................................................................................... 12 Program ................................................................................................................ 12 Tools ..................................................................................................................... 13 Edit window ..................................................................................................................... 13 Online monitor.................................................................................................................14 Identify Modules.............................................................................................................. 15 Data manager ................................................................................................................. 16 Multisend......................................................................................................................... 17 Programming............................................................................................................................. 18 Hardware ........................................................................................................................ 18 Expansion modules .............................................................................................. 18 Hardware setup .................................................................................................... 19 Variables ......................................................................................................................... 19 Naming convention ............................................................................................... 19 Allocation .............................................................................................................. 19 Retentive variables ............................................................................................... 21 EE variables.......................................................................................................... 22 I/O variables.......................................................................................................... 23 Internal variables .................................................................................................. 24 Timers ................................................................................................................... 25 Pulse timer............................................................................................................ 25 On-delay timer ...................................................................................................... 26 Counters ............................................................................................................... 26 Visibility in alc file.................................................................................................. 26 Refresh processing ......................................................................................................... 27 Scan overrun ........................................................................................................ 27 Instruction list .................................................................................................................. 28 Structured text................................................................................................................. 29 Assignment statements ........................................................................................ 29 Expressions .......................................................................................................... 29 Operators.............................................................................................................. 29 Expression evaluation .......................................................................................... 30 Data type conversions .......................................................................................... 30 Multiline expressions ............................................................................................ 31 Conditional statements ......................................................................................... 31 if...then...else ........................................................................................................ 31 case...of ................................................................................................................ 32 1