Page 1
SIMATIC VPU200/565 Programming Manual Order Number: PPX:560/65–8102 Manual Assembly Number: 2597773–0006 Third Edition...
Page 2
All Rights Reserved — Printed in USA Reproduction, transmission, or use of this document or contents is not permitted without express consent of Siemens Energy & Automation, Inc. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.
Page 3
MANUAL PUBLICATION HISTORY SIMATIC VPU200/565 Programming Manual Order Manual Number: PPX:560/65–8102 Refer to this history in all correspondence and/or discussion about this manual. Event Date Description Original Issue 4/85 Original Edition (2493939–0001) Second Edition 06/86 Second Edition (2493939–0002) Third Edition 10/95 Third Edition (2493939–0003)
Page 4
LIST OF EFFECTIVE PAGES Pages Description Pages Description Cover/Copyright Third History/Effective Pages Third iii — vii Third 1-1 — 1-3 Third 2-1 — 2-6 Third 3-1 —3-12 Third 4-1 — 4-4 Third 5-1 — 5-8 Third 6-1 — 6-25 Third 7-1 —...
SIMATICr 565 Programmable Controller (P/C). These operations are in addition to those available with the SIMATICr 560t P/C. Please reference the SIMATIC VPU200/560 Programming Manual (PPX:560/65–8102) for instructions on 560 programming, VPU200 basic operations, and error messages displayed by the VPU200.
Once the O.S. is loaded, this menu may be accessed for these functions by either power cycling the VPU or exiting to the first menu after loading the O.S. and using the F1 key. Figure 2-1 VPU200 Start-Up SIMATIC VPU200/560 Programming Manual...
Press F2 to initiate the load operation. Once the O.S. disk is loaded, the selection shown in Figure 2-2 appears at the bottom of the screen. Figure 2-2 Mode Selection Screen SIMATIC VPU200/565 Programming Manual Start-Up...
The message tells you what operating system is being loaded; i.e., OFFLINE, ONLINE, etc. NOTE: After selecting either offline or online mode, configure S-memory. Until S-memory is allocated, the 565 functions are not accessible from the VPU200. Start-Up SIMATIC VPU200/560 Programming Manual...
Press the spacebar to change the function key display to the additional functions. Press the spacebar again to return to the original display. The + (spacebar) does not appear if there is only one set of functions at a particular level. SIMATIC VPU200/565 Programming Manual Start-Up...
Selecting Operating Mode (continued) Figure 2-4 565 Menu Hierarchy Figure 2-4 illustrates the menu hierarchy to access the 565 functions. Each function is discussed in the section referred to in the figure. Start-Up SIMATIC VPU200/560 Programming Manual...
Figure 3-1 Loop Directory After pressing the Loop key, function keys are available as shown and described below. The EXIT (F1) function key is used to leave the LOOP operation and return to the previous display. Programming Loops SIMATIC VPU200/565 Programming Manual...
Table for the loop number selected is displayed. This table contains the entries which are necessary for defining a loop. An example of the Loop Programming Table is shown in Figure 3-2. The function key labels are shown and described following the figure. SIMATIC VPU200/565 Programming Manual Programming Loops...
Page 23
As the cursor is moved from entry to entry, function keys are labeled as needed to input the loop data. Table 3-1 given on the following pages lists each entry which appears in the Loop Programming Table and gives the responses which are permitted. SIMATIC VPU200/565 Programming Manual Programming Loops...
THE RAMP/SOAK IS NOT SELECTED IN THE LOOP TABLE Table 3-2 shows an example of a RAMP/SOAK Programming Table. The function keys are then labeled as shown and described following the table. Table 3-2 RAMP/SOAK Programming Table SIMATIC VPU200/565 Programming Manual Programming Loops...
Page 28
EDIT mode. (If you wish to delete all the changes made to the step, press the ABORT (F1) function key. This also ends the EDIT mode and returns to the previous menu.) 3-10 Programming Loops SIMATIC VPU200/565 Programming Manual...
Table 3-3 lists the column headings and the valid responses under each heading. Table 3-3 RAMP/SOAK ENTRIES SIMATIC VPU200/565 Programming Manual Programming Loops 3-11...
DEL operation halts and the previous menu appears. If the YES function key is pressed, the DEL operation proceeds and the information is deleted. Upon completion of the delete function, the original menu appears on the screen. 3-12 Programming Loops SIMATIC VPU200/565 Programming Manual...
Ladder hierarchy to the DEBUG function key. Press the DEBUG function key. Next, press the spacebar. See Figure 4-1 for menu hierarchy to access these functions. Figure 4-1 Accessing the Debug Functions Debug for 565 Operations SIMATIC VPU200/565 Programming Manual...
Page 33
After any of these are chosen, the prompt line will change to reflect the parameter chosen. Key in the loop number for the parameter you wish to view or change. The number cannot be greater than 64. SIMATIC VPU200/565 Programming Manual Debug for 565 Operations...
Page 34
After the function key is pressed, select the desired analog alarm number. After that, continue building or changing the chart as desired. When the chart is complete, press the EXIT function key. Debug for 565 Operations SIMATIC VPU200/565 Programming Manual...
Analog Alarms are accessed through the AN–ALARM (F2) function key which appears in the menu hierarchy as shown in Figure 5-1. Up to 128 Analog Alarms may be programmed. Figure 5-1 Locating Analog Alarm Function Programming Analog Alarms SIMATIC VPU200/565 Programming Manual...
Figure 5-2. Figure 5-2 Analog Alarm Directory The following function keys are available with the Analog Alarm Directory. The EXIT (F1) function key leaves the directory and returns to the previous display. SIMATIC VPU200/565 Programming Manual Programming Analog Alarms...
Once the cursor is positioned, press the MODIFY function key. This displays the Analog Alarm Programming Table. Table 5-1 shows an example. Programming Analog Alarms SIMATIC VPU200/565 Programming Manual...
When the cursor is positioned on an entry, the function keys are added to allow the appropriate responses. Table 5-2 gives the valid responses for each entry in the Analog Alarm Programming Table. SIMATIC VPU200/565 Programming Manual Programming Analog Alarms...
F1 function key and a YES for the F2 function key. If the NO function key is pressed, the DEL operation halts. If the YES function key is pressed, the DEL operation proceeds. Programming Analog Alarms SIMATIC VPU200/565 Programming Manual...
Page 43
..........6-25 SIMATIC VPU200/565 Programming Manual Programming Special Functions...
Function Subroutines (SFSUBs). Figure 6-1 shows the menu hierarchy of the Special Function Programming. You may have up to 1023 Special Function Programs and up to 1023 Special Function Subroutines. Figure 6-1 Accessing SF Programming Operation Programming Special Functions SIMATIC VPU200/565 Programming Manual...
These keys are the same in either a SFPGM or SFSUB directory. Figure 6-2 Special Function Program Directory The EXIT (F1) function key is used to return to the previous display. SIMATIC VPU200/565 Programming Manual Programming Special Functions...
To begin the DISPLAY operation, place the cursor on the entry in the directory which you wish to create or modify. Once the cursor is positioned, press the DISPLAY function key. Figure 6-3 shows a sample SF program. Figure 6-3 SF Program Example Programming Special Functions SIMATIC VPU200/565 Programming Manual...
Page 47
The remaining entries in the program information header are explained in the table below: When DISPLAY function key is pressed, the available function keys are then as shown and described in the following paragraphs. SIMATIC VPU200/565 Programming Manual Programming Special Functions...
Page 48
This function key is used to place the VPU200 in the mode EDIT for changing a particular statement in the program or subroutine. To begin the operation, place the cursor on the statement to be changed and press the EDIT function key. Programming Special Functions SIMATIC VPU200/565 Programming Manual...
Page 49
The INSLN inserts a line before the line on which the cursor is placed. For the PACK command, the following function keys are available: For the ELSE, ENDIF, and RETURN commands, the following function keys are available: SIMATIC VPU200/565 Programming Manual Programming Special Functions...
Page 50
NOTE: Removing all lines from a program or subroutine will not delete the program or subroutine. To delete the entire program or subroutine, use the DEL function key which appears when the directory is displayed. See “The DEL Function Key” later in this section. Programming Special Functions SIMATIC VPU200/565 Programming Manual...
Page 51
(and therefore destroyed) by the new information. After the information is copied, the available functions will return to the menu in which the COPY function key appears. SIMATIC VPU200/565 Programming Manual Programming Special Functions...
If the YES function key is pressed, the DEL operation will proceed and the subroutine or program will be destroyed. After the DEL operation has completed, the previous menu will appear on the screen. 6-10 Programming Special Functions SIMATIC VPU200/565 Programming Manual...
Page 53
Programming Instructions Manual. Special Function The Special Function commands give instructions for certain operations to Commands be performed. The following table lists the commands in alphabetic order and notes the operation the command performs. SIMATIC VPU200/565 Programming Manual Programming Special Functions 6-11...
The Special Function Language (continued) Table 6-1 Special Function Language 6-12 Programming Special Functions SIMATIC VPU200/565 Programming Manual...
Page 55
Table 6-1 Special Function Language (continued) SIMATIC VPU200/565 Programming Manual Programming Special Functions 6-13...
Page 56
The Special Function Language (continued) Table 6-1 Special Function Language (continued) 6-14 Programming Special Functions SIMATIC VPU200/565 Programming Manual...
(If the symbol does not appear for a particular entry, the range for the variable is determined by the memory configuration.) SIMATIC VPU200/565 Programming Manual Programming Special Functions 6-15...
Page 60
The Special Function Language (continued) Table 6-2 Variable Types (continued) 6-18 Programming Special Functions SIMATIC VPU200/565 Programming Manual...
Note also that operators enclosed in parentheses will be performed before those which are not in parentheses. SIMATIC VPU200/565 Programming Manual Programming Special Functions 6-19...
The IF Operators. The operators used in the IF statements build on those used in MATH statements. All operators used in MATH statements except the “:=” symbol are allowed in IF statements. Additionally, the following operators may be used in IF statements: 6-20 Programming Special Functions SIMATIC VPU200/565 Programming Manual...
Also, no real variables or constants can be used with IMATH operators or the IMATH command. The operators which are supported for integer math are the following: Table 6-6 IMATH Operators SIMATIC VPU200/565 Programming Manual Programming Special Functions 6-21...
Programming Manual. The 565 requires the addition of a SFPGM (Special Function Program) key to designate the SFPGMs to be used in the ladder program. Figure 6-4 shows the flowchart of the MODIFY and INSERT operations with the SFPGM incorporated. 6-22 Programming Special Functions SIMATIC VPU200/565 Programming Manual...
Figure 6-4 MODIFY and INSERT Menu Hierarchy SIMATIC VPU200/565 Programming Manual Programming Special Functions 6-23...
Page 66
(F6) function key. When this key is pressed, the following function keys appear at the bottom of the screen: To access the SFPGM function key, press the spacebar. To return to the function keys shown above, press the spacebar. 6-24 Programming Special Functions SIMATIC VPU200/565 Programming Manual...
The following function keys appear: The SFPGM function key appears when the spacebar is pressed. The F1 function key is assigned to the SFPGM box. Pressing the spacebar returns the previous display of function keys. SIMATIC VPU200/565 Programming Manual Programming Special Functions 6-25...
Page 68
......... . . 7-16 SIMATIC VPU200/565 Programming Manual Using Support Functions...
Support Functions, is reached from the primary operations menu (Figure 7-2). The Auxiliary Support Functions Menu contains only those functions for clearing P/C memory, restarting the P/C, displaying P/C errors and setting scan time. Figure 7-1 Accessing Support Functions Menu Using Support Functions SIMATIC VPU200/565 Programming Manual...
After selection of baud rate, the first page of the Support Function menu is displayed as shown in Figure 7-3. Figure 7-3 Support Functions Menu, page 1 Using Support Functions SIMATIC VPU200/565 Programming Manual...
(However, the minimum timeout supported by the P/C is 500 msec.) When the Watchdog Timer function is selected, the function keys available are displayed, along with the watchdog timer value. The Support Function menu remains in the upper part of the display. SIMATIC VPU200/565 Programming Manual Using Support Functions...
VPU proceeds directly into the function. Figure 7-4 shows the menu that appears the first time Function 17 is called. Figure 7-4 Compare P/C to Disk Menu Using Support Functions SIMATIC VPU200/565 Programming Manual...
Page 74
The four arrow keys on the VPU are used to move the cursor from field to field for selection and entry of the type of compare to perform on a particular memory category. The function keys shown in Figure 7-4 are listed and described below. SIMATIC VPU200/565 Programming Manual Using Support Functions...
Page 75
P/C and on the disk, and stops after the first location that differs. The Examine function does not require networks to be at the same address (more no-ops could appear on either the disk or in the P/C). Using Support Functions SIMATIC VPU200/565 Programming Manual...
To set the scan time, type the new scan time and press the Return key. Or, if you want to have variable scan time, type zero and press the Return key. SIMATIC VPU200/565 Programming Manual Using Support Functions...
I/O modules attached to the system. It will then display in chart format the location (in the order of Channel, Base, and Slot) of any failed I/O modules. The following function keys will appear at the bottom of the screen: 7-10 Using Support Functions SIMATIC VPU200/565 Programming Manual...
Some boards must be classed as “FATAL,” and cannot be changed. If a change is made to one of these, the message “CARD MUST BE FATAL,” is displayed. SIMATIC VPU200/565 Programming Manual Using Support Functions 7-11...
NOTE: Some functions cannot be performed in the RUN mode. The VPU will return the message, Illegal Request in Current Operational Mode, if a function is requested that cannot be performed unless in PROGRAM mode. 7-12 Using Support Functions SIMATIC VPU200/565 Programming Manual...
Configuration for all bases and channels, and, Memory Configuration. It does not load Word I/O, Forced Word I/O, Discrete I/O, nor Forced Discrete I/O. Function 98, Forced IR, loads Forced Word I/O (WX, WY) and Forced Discrete I/O (X, Y, C). SIMATIC VPU200/565 Programming Manual Using Support Functions 7-13...
Function 82 (Hot Back Up) is used for examining or modifying the HBU Back Up status. After Function 82 is selected, a menu is displayed. The following illustration contains sample entries that may appear. 7-14 Using Support Functions SIMATIC VPU200/565 Programming Manual...
Page 82
Offline due to Active unit in PROGRAM mode Offline requesting online but inhibited by user program in active Unit Offline due to failure in Standby Offline due to loss of HBU Communications SIMATIC VPU200/565 Programming Manual Using Support Functions 7-15...
The auxiliary support functions are a subset of the complete support functions described in the preceding paragraphs. Each auxiliary function operates in this menu just as it does in the complete support functions menu. 7-16 Using Support Functions SIMATIC VPU200/565 Programming Manual...
Page 85
Note that the mode of operation is important when using the PRINT function key. The principal difference between the two modes is that synonyms and comments can only be printed in the Offline mode. All other categories may be printed regardless of the mode of operation. Printing SIMATIC VPU200/565 Programming Manual...
Page 88
(which is the long vertical line which joins the networks together). Note that if 72 was chosen for the number of columns, only NO will be allowed for this entry. SIMATIC VPU200/565 Programming Manual Printing...
Page 89
EXECUTE (F2) function key. This will begin the printing of the displayed screen. The phrase, PRINT SCREEN, will appear while the operation is in progress. When the print operation is complete, the original display appears. Printing SIMATIC VPU200/565 Programming Manual...
This menu shows the default values for printing in a fully expanded system. Unless specified otherwise, all available categories will be printed. To prevent a category from being printed, change the “Y” (Yes) to an “N” (No). SIMATIC VPU200/565 Programming Manual Printing...
Page 91
If the parameters are already set, proceed with the print operation by pressing the CONT (F2) function key. A menu for selecting what is to be printed is then displayed. See Figure 8-4. Printing SIMATIC VPU200/565 Programming Manual...
This category prints the memory configuration as found on the Program Configuration Disk. (If you wish to print the memory configuration as it appears in the P/C, the VPU200 must be in the Online mode.) SIMATIC VPU200/565 Programming Manual Printing...
Page 93
Once the items to be printed are typed in the menu, begin the print operation by pressing the EXECUTE (F2) function key. When all the items are printed, the final page of the printout will read ***PRINTING COMPLETE***. 8-10 Printing SIMATIC VPU200/565 Programming Manual...
Page 94
(after pressing either ABORT or SUSPEND) because of characters stored in the buffer memory of the printer. After the SUSPEND key is pressed, the following function keys will be displayed at the bottom of the screen: SIMATIC VPU200/565 Programming Manual Printing 8-11...
Page 95
VPU200 error message will appear and the print operation will abort. NOTE: The time required for printing depends on the number of options selected, the size of L-memory, and the printing baud rate. 8-12 Printing SIMATIC VPU200/565 Programming Manual...
Upon completion of these items, press F2 to continue. A listing of cross-reference options then appears as shown in Figure 8-6. SIMATIC VPU200/565 Programming Manual Printing 8-13...
The values in this table default initially to the maximum size for each category. Once you select another boundary, it remains until either you change it or the VPU is re-initialized. The default for Y/N is Yes. 8-14 Printing SIMATIC VPU200/565 Programming Manual...
The variable must be within range for its type, based on the memory configuration for the P/C. Certain variables may be accessed as integers only or as reals only. (This information is given in the Loop, Analog Alarm, and Special Function Programming sections of this manual.) Error Messages SIMATIC VPU200/565 Programming Manual...
Page 100
Would you be interested in giving us more detailed comments about our manuals? Yes! Please send me a questionnaire. No. Thanks anyway. Your Name: Title: Telephone Number: Company Name: Company Address: Manual Name: SIMATIC VPU200/565 Programming Manual Edition: Third Manual Assembly Number: 2597773–0006 Date: 10/95 Order Number: PPX:560/65–8102...
Page 101
UNITED STATES BUSINESS REPLY MAIL PERMIT NO.3 FIRST CLASS JOHNSON CITY, TN POSTAGE WILL BE PAID BY ADDRESSEE ATTN: Technical Communications M/S 519 SIEMENS ENERGY & AUTOMATION INC. 3000 BILL GARLAND RD P O BOX 1255 JOHNSON CITY TN 37605–1255 FOLD...
Page 102
SIMATIC is a trademark of Siemens AG. VPU200, Series 505, and TIWAY are trademarks of Siemens Industrial Automation, Inc.