Page 1
SIMATIC 505 SoftShop for Windows Release 3.1 User Manual Also Contains the following Documents: FTLogger and FTTrend Order Number: PPX:SS505–8101–8 Manual Assembly Number: 2807461–0008 Eight 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.
Parallel Port Compatibility....................4 2 - Installation Installing 505 SoftShop ........................5 505 SoftShop Access Level....................6 Installing the Siemens-Key......................7 What is the Siemens-Key? ....................7 Connecting the Siemens-Key ....................7 Troubleshooting the Siemens-Key ..................7 Connect the Communications Cable ....................9 Cable Pin-Outs for RS-232-C Ports ..................9 Cable Pin-Outs for RS-422 Ports ..................11...
Page 4
PLC Type Setup (Offline) ......................64 Changing PLC Types ......................65 Accessing PLC Configuration..................67 Controller Memory Types ......................67 Ladder Memory.......................67 Image Register Memory....................68 Control Relay Memory....................68 Special Memory ......................68 Temporary Memory ......................68 Variable Memory ......................68 Constant Memory......................68 Index • • • • ii Simatic 505 SoftShop...
Page 5
To Find a Network, Network Address or Line Number..........100 To Find an Address or Tag....................100 Find Next........................101 Search and Replace Address......................101 Using the Data Window ......................102 Customizing the Display ....................104 Data Format........................104 Forcing an Element .......................105 Show Forces........................106 Index • • • • iii Simatic 505 SoftShop...
Page 6
Searching for an Address, Tag, or Description .............139 Pop-Up Menus ......................139 Documenting in Ladder.......................140 Assign Tags........................140 Assign Addresses ......................140 Editing Documentation in Ladder Editor ..............140 Tag Table/Paste to Logic ....................141 Shared Documentation ....................141 Edit Title Page (Print Only)......................141 Index • • • • iv Simatic 505 SoftShop...
Page 7
20% Offset on Output ....................154 Ramp/Soak for SP ......................154 Alarm Deadband ......................154 Monitor Low-Low/High-High ..................155 Monitor Low/High ......................155 Process Variable Alarm Low-Low................155 Process Variable Alarm Low ..................155 Process Variable Alarm High..................155 Index • • • • v Simatic 505 SoftShop...
505 SoftShop for Windows quickly. We at Siemens have tried to assume little about you, the user, except that when you have a question regarding this software, you will want it answered by using this manual and the online help.
Siemens Energy & Automation Inc. PO Box 1255 Johnson City, TN 37605-1255 You can visit the Siemens Home Page on the World Wide Web at: http://www.aut.sea.siemens.com For detailed information on Siemens 505 CPUs and Instructions set, refer to the following manuals:...
• One (1) 505 SoftShop with Com Profibus v5.0 software CD • 505 SoftShop for Windows User’s Guide (this manual) • Siemens-Key to attach to your computer’s parallel port • Com Profibus Manual • 505 Programming Reference Manual System Requirements...
100% IBM compatible port or by adding a second printer adapter card. NOTE Siemens is not responsible for problems that result from using an incompatible parallel interface. 4 • • • • 1 - Introduction...
After clicking Next, a 505 SoftShop Access Level Read/Load Only Install box appears. From the install window entitled 505 SoftShop Access Level, you can decide if you want Full- function, Read-only, or Load-only install (Figure 2.0). 2 - Installation • • • • 5 Simatic 505 SoftShop...
View Menu-Ladder Editor, Special Function Editor, PID Loops, Alarms, Documentation Window, Symbol Library, and Data Window are all view only. • Program Menu-New Network, Select Instruction, and Validate and Enter. 6 • • • • 2 - Installation Simatic 505 SoftShop...
(LPT1-LPT3) on your computer. NOTE Installation of the Siemens-Key must be completed before you can run 505 SoftShop. If a Siemens-Key is not detected, you can enter 505 SoftShop Demo mode only. The Siemens-Key will not interfere with normal port data transmissions, nor will it prevent you from creating backup copies of the software.
Page 16
• The Siemens-Key is the first device attached to the computer. Message 505 SoftShop for Simatic 505 is not supported by attached Siemens- Key. Demo mode may be entered. Possible Cause The attached key is not authorized for use with Simatic 505.
The key date does not support the current software version. Remedy • Call Siemens Technical Support. Message Siemens-KEY is corrupt. Demo mode may be entered. Possible Cause You purchased a partial software package, and the partial package information cannot be read from the Siemens-Key. Remedy •...
Ethernet Connection For Ethernet connection, you need a compatible Ethernet card in your computer; a Siemens PPX:505-cp2572 TCP/IP Ethernet card installed in your 505 system; and the appropriate cabling. For more information on setting up your Ethernet connection, refer to the Simatic Ethernet TCP/IP Communication Processor (505-CP2572) User Manual order number PPX:505-8132-1.
Tab key to highlight the 505 SoftShop icon and press Enter. While 505 SoftShop loads, the 505 SoftShop copyright screen appears. When 505 SoftShop does not detect a Siemens-Key, an error message appears. 3 - 505 SoftShop Basics • • • • 13...
Figure 3.0 If you see this message, check to see that the Siemens-Key is: • Connected to a parallel printer port or • Connected to a parallel port before printers or other devices • See Installing the Siemens-Key section in Chapter 2 - Installation for more information After you have checked the key’s installation, load 505 SoftShop from...
Window Description The key features of the 505 SoftShop window shown in Figure 3.1 are defined below. More detailed descriptions follow. Window Feature Function Instruction Bars Use to add instructions, new rows, and new networks/addresses to a logic program. See Instruction Bars. Menu Bar Use to select 505 SoftShop functions.
Menu Bar The menu bar, located just below the title bar, identifies the names of the available 505 SoftShop functions. To display the menu options for each function, click on the function name. The menu options displayed may change depending upon the operation in progress. Select File, New Program or Open Program and the following Menu Bar appears (Figure 3.2).
Status Line The Status Line spans the bottom of the 505 SoftShop window. It displays information or describes the current operation on the left side. To display status line information for a menu item or button, click on the item or button and hold the left mouse button. The right side of the Status Line displays the information listed below.
Title Bar The Title Bar spans the top of the 505 SoftShop window (Figure 3.4). Use the Title Bar to: • Identify the application you are using. In Figure 3.1, the application is SoftShop. • Move the window. Click the title bar with the mouse pointer, hold down the left mouse button and drag to the desired location to move the window.
Page 26
Click Fast PLC Connection. Create a new program. See Creating New Logic Programs. Open an existing program. See Opening Logic Programs. Save the active program. See Saving Logic Programs. Print. See Printing Logic Programs. Cut the highlighted section to the clipboard.
Working With Logic Programs 505 SoftShop provides you with a number of different ways of editing programs. These include: • Connecting to a PLC to view logic stored in the PLC • Creating a new program offline • Loading a file online •...
Open an Existing Logic Program Offline or Online You can open an existing logic file to edit or update program information in either online or offline mode. Logic programs may contain one or more of the following: logic and data, tags, headers, and descriptions and comments.
To set up shared documentation, click the Advanced button on the Open Program dialog box. Result: The Share Address Documentation dialog box appears. Enter the share address documentation program name in the Shared File and Path line or select Browse to locate an existing file. Click Next and enter the refresh rate (time lag between updates from other users of the database).
Page 30
• PID Loops • Analog Alarms • Force States • Documentation (Tags, Descriptions, Comments and Headers • I/O Configuration • Profibus • V-Variables • K-Constants • Word I/O • U-Memory Editing or modifying a program online may produce unexpected or hazardous results. To Load parts of an existing program you must first established an online connection with the PLC (see Fast PLC Connection - Connecting to a PLC).
17. Enter the share address documentation program name in the Shared File and Path line or select Browse to locate an existing file. 18. Click Next and enter the refresh rate (time lag between updates from other users of the database). Valid times are from 1 to 1440 minutes. 19.
If a file is being loaded from disk to the controller and the disk file Application ID is different than the connecting PLC’s ID; a warning appears describing that the loading file ID is different. Select OK to continue the load or Cancel to abort. Reading or Writing 575 Port Configuration To read or write the 575 port configuration, click on the Port Settings button in the Application ID Table dialog box.
Page 33
You must also select comma or tab delimited records with the following format: • Characters 1 - 6 (could be greater with Loops or Alarms) contain the 6 digit Siemens address. • Character 7 is the comma or tab character. •...
Saving Logic Programs Saving Offline Use the Save Program command to save the active program contents with its existing name. To save the active logic program: Click on the Toolbar or select Save Program from the File menu (Ctrl+S), and a previously saved logic program is saved. If the program has not been previously saved, the Save As dialog box appears (Figure 3.10).
Page 35
To save the active logic program: Click on the Toolbar or select Save Program from the File menu (Ctrl+S). Result: The Save dialog box appears (Figure 3.11). Figure 3.11 In the Save select the parts of the program you wish to load or select Load Complete Program to load all parts.
Save Program As Offline Use Save Program As to save the active logic program with a different program name. This is useful when maintaining the original without changes. For example, open file ABC.FTK, make changes, select Save Program As, and save the program as DEF.FTK. Now you have two files, ABC.FTK retained its same condition before you opened it, and DEF.FTK that contains changes made to ABC.FTK.
Printing Logic Programs 505 SoftShop provides you with a number of print features that allow customization of your printouts. These include: • Tags and Documentation • Cross Reference • Network/Address Range • Margins • Starting Page Number Before you can print, open a logic program. Make certain that you have loaded the correct print drivers for your printer through the Windows Control Panel.
Print Logic and SFs Click the Logic and SFs button to print the following: • All logic, ladder, SFS and SFP • Selected logic ladder, SFS or SFP • Selected ladder in address or network mode • Selected Special Function lines •...
The Ladder Display Size determines the Column width, Description rows, and Tag row size. Column Width adjusts the size of the ladder grid. Click the up or down arrow or enter a value between 7 and 24. Description Rows determines the number of character rows displayed for each description.
Click the All Loops check box to print the entire range loops. To print a selection, deselect the All check box and enter a range in the associated edit box. To include loop headers with the printout, click the Headers check box.
Print PLC Configuration Click the PLC Configuration check box from the Print dialog to print the following: • 505 Channel Base • Profibus DP – Slave I/O • PLC Memory Configuration • I/O Tags and Descriptions To change the PLC Configuration properties click the PLC Configuration button on the Print dialog box.
Page 42
The tags and descriptions can be individually turned on or. To include with the Register print out select the appropriate check box under Include. Click on the Doc Font button to change the Tag and Description printout font of the active program. Result: The Font dialog box appears.
Print Documentation Click the Documentation check box from the Print dialog box to print the following: • I/O Elements (X, Y, WX and WY) • Control Relays (C) • SKP, LBL, GTS, SBR, JMP, MCR and END • Register Tags, Descriptions and Comments To change the Documentation properties click the Documentation button on the Print dialog box.
Page 44
To change the Cross-reference properties click the Cross-reference button on the Print dialog box. The Print Cross-reference dialog box appears (Figure 3.19). Figure 3.19 3 - 505 SoftShop Basics • • • • 37...
Page 45
Click the All check box to print the entire range of items. To print a selection, deselect the All check box and enter a range in the associated edit box. The following can be individually turned on and off to be included with Cross reference printout: •...
Print to a Text File To print to a text file select Output To Text File from the File menu. The Result: The Print Output to Text File dialog box appears (Figure 3.19b). See Printing Logic Programs for dialog box selections. Once selections are made select OK.
Window Feature Function Removes the selection from the program and places it on the clipboard. Copy Copies the selection and places it on the clipboard. Paste Inserts clipboard contents into the program at the cursor location. Paste With Rewire Inserts clipboard contents into the program at the cursor location and allows the user to re-address any addressable items contained in the clipboard.
Click and hold down the left mouse button on the item, or network or (SF) lines to be copied, then drag the mouse to the end of the item range or network or (SF) lines to copy. Copy your selection to the clipboard with one of the following: •...
Page 49
NOTE When pasting, clipboard contents are inserted before existing items. For example, if you are pasting a network and the cursor is positioned at Network 002, click paste and the clipboard contents become Network 002. The previous Network 002 becomes Network 003. 42 •...
Undo Use Undo to reset networks/addresses in a segment to their original data. Any modified or inserted rung can be reset. Deleted rungs cannot be reset. To access the Undo feature: Select Undo from the Edit menu or press Ctrl+Z. Result: The Undo Logic window appears (Figure 3.23).
Data Window While working in the Data Window, you can use Clear to clear all rows or one row at a time. Clear is accessed through the Edit menu or by pressing the Delete key. Delete Use Delete to delete an item and remove the space it occupies. Access Delete from the Edit menu using the Logic Editor in either offline or online mode.
Select Import from the File menu. Result: The Import dialog box appears (Figure 3.27). Select Siemens 505 SoftShop Documentation (*.fss) from the Import Documentation dialog Format drop down window. 3 - 505 SoftShop Basics • • • • 45...
Type the program name in the Filename line, or click Browse to search from valid program names. Select Tags, Descriptions, or Headers from Include to merge in. Click OK to import the documentation. Figure 3.27 Merge Memory Merge allows you to merge externally developed subroutine programs into User Memory.
These settings are saved with the program; thus, each time you open this program, you do not have to reset your preferences. 4 - 505 SoftShop Setup • • • • 47 505 SoftShop for Simatic 505...
Page 55
Cancel to disregard changes to the settings and return to the active window. Result: The screen changes based on your new settings for the current program. 48 • • • • 4 - 505 SoftShop Setup 505 SoftShop for Simatic 505...
Page 56
(X, Y, C, WX, WY, V, K, G, W), /, N, M, =, >, H, I, <, O, U, Ctrl U, J, U. Status Thickness Determines the line thickness of the ladder status line. Settings are between 1 and 6. 4 - 505 SoftShop Setup • • • • 49 505 SoftShop for Simatic 505...
Page 57
Foreground, File Header Foreground, Status Foreground, Status Optimize Foreground and Parameter Cursor Foreground can be changed when selected from the drop down box. Table 4.1 50 • • • • 4 - 505 SoftShop Setup 505 SoftShop for Simatic 505...
The Communications Setup allows pre-configure of serial ports, a modem board, or network interface boards in your computer that are used for communications with a SIMATIC 505 PLC. To access the Communications Setup: Select Communications Setup from the File menu.
Page 59
Force NITP: Specifies ASCII communications for the 545, 555, and 575. • Initialization Command: The initialization commands sent to the modem. Consult your modem manual for a list of appropriate commands. 52 • • • • 4 - 505 SoftShop Setup 505 SoftShop for Simatic 505...
Result: The TIWAY Path dialog box appears (Figure 4.5). Figure 4.5 Enter the controller secondary address for the associated controller. A controller secondary address is a unique number 4 - 505 SoftShop Setup • • • • 53 505 SoftShop for Simatic 505...
AUI port on the module. If you are installing a new network, discuss your cabling requirements with your network administrator or your local Siemens distributor. Your Ethernet card purchase should be guided by the type of cabling medium that is best suited for your network.
Page 62
To use 505 SoftShop over an Ethernet network with the TCP/IP protocol, you need to purchase and install the PPX:505-CP2572 module in a Series 505 base. Refer to the SIMATIC 505 Ethernet TCP/IP Communication Processor (505-CP2572) User Manual, PPX:505-8132-x, for instructions.
Page 63
If your existing network does not use UTP, but the cabling medium is IEEE 802.3 compliant, you can purchase a transceiver that connects the media to the AUI port on the module. Consult the SIMATIC 505 Ethernet TCP/IP Communication Processor (505-CP2572) User Manual for information about how to connect cables to the 10bT or AUI port of your module.
Page 64
ADD button to enter a new IP address, or select an existing IP address and click the Modify button to change the IP information. Result: The IP Addresses dialog box appears (Figure 4.8). 4 - 505 SoftShop Setup • • • • 57 505 SoftShop for Simatic 505...
Page 65
SIMATIC 505 programmable logic controller system to communicate with other devices over a common PROFIBUS network. To install the FMS CP module in a SIMATIC 505 base, follow the installation instructions in the SIMATIC 505 PROFIBUS–FMS Communication Processor (505-CP5434-FMS) User Manual.
Refer to the SIMATIC 505 PROFIBUS-FMS Communication Processor (505-CP5434-FMS) User Manual for complete information on configuring the FMS CP module with the COM5434 Configuration software. NOTE Make sure to select the bus parameters, the baud rate, and the highest station address (HSA) that match those of all the other modules on the network.
NOTE The print setup options can also be accessed from the Print box that appears after selecting Print from the File menu. 60 • • • • 4 - 505 SoftShop Setup 505 SoftShop for Simatic 505...
NOTE The page setup options can also be accessed from the Print box that appears after selecting Print from the File menu. The page setup options are stored when saving a logic program file. 4 - 505 SoftShop Setup • • • • 61 505 SoftShop for Simatic 505...
PLC using Fast PLC Connection does not load any documentation or tag information. If you need to load documentation or tags, use Open Program. 62 • • • • 4 - 505 SoftShop Setup 505 SoftShop for Simatic 505...
5 - PLC Memory & I/O Configuration Overview This chapter shows you how to set up and configure your Siemens family PLC. You must configure your PLC before you can create a ladder logic program. Configuration is part of the program; it performs the important function of relating the hardware components to the logic components.
(Table 5.1). If shared documentation is to be associated with the new program it must be setup at this stage see Shared Documentation. 64 • • • • 5 Simatic 505 SoftShop...
Data Area Memory • Variable Memory stores variable data. • User Data Constant Memory stores constant data. • Global and VME Memory are used for VME data transfer (applies to 575 only).* 5 • • • • 65 Simatic 505 SoftShop...
Page 73
Image registers and control and relays.* • Subroutine parameter area.* • SF program temporary memory.* • Status Word memory.* * Not Configurable Table 5.2 The configuration process begins with PLC Configuration. 66 • • • • 5 Simatic 505 SoftShop...
Click Accept to save your settings and return to the active logic program. Controller Memory Types Ladder Memory A block of memory within the controller is reserved for the RLL program. This memory type is called Ladder Memory (L-Memory). Each 5 • • • • 67 Simatic 505 SoftShop...
This information is stored in one or more status words: STW1, STW2, etc. These status words can be used in the RLL program to signal and/or correct alarm conditions. 68 • • • • 5 Simatic 505 SoftShop...
16-bit word in TCP-Memory. When the instruction is actually operating, the current time or count is stored as a 16-bit word in TCC- Memory. 5 • • • • 69 Simatic 505 SoftShop...
Because the instructions in the One Shot group use different bits of one byte, these instructions can be assigned identical reference numbers. That is, if you configure a One Shot #11 (OS11), you can configure a Date Set #11. 70 • • • • 5 Simatic 505 SoftShop...
Drum Count Preset (DCP) Drum Count Current (DCC) When you specify step and counts-per-step (count preset) values for a drum type, the step preset is stored as a 16-bit word in DSP-Memory, and 5 • • • • 71 Simatic 505 SoftShop...
20 word parameters. When you use a parameter in the subroutine, refer to words as W n , where n = the parameter number. 72 • • • • 5 Simatic 505 SoftShop...
MOVE or XSUB (with the U-Memory header’s E bit set to 1--see Appendix H in the Programming Reference Manual), the controller enters the Fatal Error mode, freezes analog outputs and clears discrete outputs. Use the XSUB or MOVE instruction to access the VME address. 5 • • • • 73 Simatic 505 SoftShop...
I/O Configuration dialog box to edit or configure. Then select the Edit Base button on the I/O Configuration dialog box. Result: The Edit I/O Base dialog box appears (Figure 5.6). 74 • • • • 5 Simatic 505 SoftShop...
Page 82
Read I/O Base button on the Edit I/O Base dialog box to reset the base display to the readings in the controller. All prior changes will be lost. 5 • • • • 75 Simatic 505 SoftShop...
505 SoftShop, where you assign starting I/O addresses to each module. Table 5.3 provides the information you need in order to configure your slave devices in COM PROFIBUS. 76 • • • • 5 Simatic 505 SoftShop...
COM PROFIBUS. Only new information is written to 505 SoftShop; pre- existing, unchanged configuration information (e.g., I/O addresses) is not lost. 5 • • • • 77 Simatic 505 SoftShop...
Page 85
The Profibus-DP I/O dialog box allows you to execute the following functions: • Merge. • Write All. • Write Slave(s). • Enable Slaves. • Disable Slaves. • Delete all slaves. • Edit slave. • Profibus operations (online only). 78 • • • • 5 Simatic 505 SoftShop...
PLC Configuration dialog box. Result: The Profibus-DP I/O dialog box appears (Figure 5.7). Select the Edit Slave button on the Profibus-DP I/O dialog box. Result: The Edit Slave dialog box appears (Figure 5.8). 5 • • • • 79 Simatic 505 SoftShop...
Page 87
COM PROFIBUS configuration, including the image register types. Zero addresses are assumed for all but the first address, which is kept. Before entering your I/O configuration, be aware of the following restrictions: 80 • • • • 5 Simatic 505 SoftShop...
Page 88
OPERATE mode. If you modified those bus parameters when you set up your configuration file in COM PROFIBUS, set communications to STOP mode before you execute Write All or Write Slave(s), in order to prevent bus errors. 5 • • • • 81 Simatic 505 SoftShop...
Find will first search 505 I/O, then search PROFIBUS I/O. When the address is found, you can click on the Find Next button to find the next location of the address. 82 • • • • 5 Simatic 505 SoftShop...
Editing or modifying a program online may produce unexpected or hazardous results. In the online mode, PLC Status in Ladder can be displayed. However, some editing features are not available, including Cut and Paste. 84 • • • • 6 - Programming Simatic 505 SoftShop...
002 exists and you enter 2 in the Network Number box, the existing Network 002 becomes Network 003 and the new network becomes 002. Press Enter and the new network is inserted. 6 - Programming • • • • 85 Simatic 505 SoftShop...
Click the left mouse button once for each additional instruction you want to insert. Click the arrow in the middle of the Instruction Bar or another instruction to remove the instruction from the pointer. 86 • • • • 6 - Programming Simatic 505 SoftShop...
Page 93
Draws horizontal line Converts binary to BCD value. Converts BCD inputs to binary. Compare. Counts recurring events. DCAT Discrete control alarm timer. DCMP Compares current date with a specified date. Division 6 - Programming • • • • 87 Simatic 505 SoftShop...
Page 94
MIRW Copies bit status from control relays or discrete image register to a word. MOVE Copies bytes, words, or long words from a source location to a 88 • • • • 6 - Programming Simatic 505 SoftShop...
Page 95
Immediate set of a coil/bit. SFPGM Calls a special function program from RLL. SFSUB Calls a special function subroutine from RLL. SHRB Bit shift register. SHRW Word shift register. Selectively enable/disable program 6 - Programming • • • • 89 Simatic 505 SoftShop...
Page 96
WXOR Does logical bit-by-bit EXCLUSIVE OR on two words. XSUB Calls an externally developed subroutine and passes parameters to 90 • • • • 6 - Programming Simatic 505 SoftShop...
Page 97
Edit: moves to next row, current rung, or to next rung Display: moves to next row or rung Equal-to Relational Contact Deletes current address and puts you into edit mode for address. 6 - Programming • • • • 91 Simatic 505 SoftShop...
Page 98
Not-Equal Relational Contact Create/edit output coil PgUp Page Up PgDn Page Down Ctrl L Edits synonym/descriptor UNFORCE Ctrl U Usage Table Creates Down line Creates Up line Deletes vertical line 92 • • • • 6 - Programming Simatic 505 SoftShop...
Tab and Arrow keys on the keyboard. (Note: If a Header has already been programmed, skip ahead to item number 10.) Now Click on the Header button and the following dialog box appears (see Figure 6.2). Figure 6.2 6 - Programming • • • • 93 Simatic 505 SoftShop...
Page 100
This is not a problem if the program’s execution time is small. However, if the program requires significant execution time, this could cause unnecessary loop overruns. 94 • • • • 6 - Programming Simatic 505 SoftShop...
Move the pointer over the Special Function Program. Notice that the instruction is attached to the pointer. 6 - Programming • • • • 95 Simatic 505 SoftShop...
Inserts clipboard contents into the program at the cursor location and allows the user to re-address any addressable items contained in the clipboard. You can also copy tags and descriptions. To use the cut feature: 96 • • • • 6 - Programming Simatic 505 SoftShop...
If the addresses you select have descriptions or tags associated with them, you can choose to paste those also. 6 - Programming • • • • 97 Simatic 505 SoftShop...
To insert an object: Select Insert from the Edit menu. The Insert dialog box will appear. Click on the object you want to insert. Click OK or press Enter. 98 • • • • 6 - Programming Simatic 505 SoftShop...
To Find a Network, Network Address or Line Number Click on the toolbar or select Find from the Edit menu (Ctrl+F), and the Find dialog box appears (Figure 6.6). 6 - Programming • • • • 99 Simatic 505 SoftShop...
Click OK to begin the search. If the item is found, the Find box disappears, and the cursor is positioned over the address. 100 • • • • 6 - Programming Simatic 505 SoftShop...
Replace is to occur. The address to be replaced is surrounded by a red outlined rectangle and the following options are displayed in Figure 6.6b. 6 - Programming • • • • 101 Simatic 505 SoftShop...
I/O address on and off. You can also create tables of addresses, store them on a disk, and transfer them to the PLC at a later time. 102 • • • • 6 - Programming Simatic 505 SoftShop...
Page 109
Chapter 3,“Some Things You Should Know About Windows." You can create tables of addresses, store them to a file, and load them again offline or online. To save a list of addresses, 6 - Programming • • • • 103 Simatic 505 SoftShop...
Select Format from the Data menu while in the Data Window. The Data menu is available only while in the Data Window. The Format dialog box appears (Figure 6.8). 104 • • • • 6 - Programming Simatic 505 SoftShop...
From the Data Window: Click on the right mouse button while in the Data field of an Element or the Data menu while in the Data field of an Element. 6 - Programming • • • • 105 Simatic 505 SoftShop...
The cross reference can be based on address or networks by checking the desired radio button on the cross-reference dialog box. 106 • • • • 6 - Programming Simatic 505 SoftShop...
Page 113
NOTE If you have Table Update checked in the Program Setup, all changes made to segments that are validated and entered are automatically updated in the Cross Reference window. 6 - Programming • • • • 107 Simatic 505 SoftShop...
Close the Cross Reference window by double clicking on the Control-menu box in the upper right corner of the Cross Reference window. 108 • • • • 6 - Programming Simatic 505 SoftShop...
0 through 9 (C1 under 1, C2 under 2, etc.). You receive a display showing use of the selected elements according to the following table: 6 - Programming • • • • 109 Simatic 505 SoftShop...
Select Address Trace from the View menu. The Address Trace window appears (Figure 6.09c). If you have more than one program loaded, the information displayed is for the program in the active window. Figure 6.09c 110 • • • • 6 - Programming Simatic 505 SoftShop...
• Forced Discrete I/O • Forced Control Relays • Sequencer Scan Time • Loops • Alarms • Special Function Programs • Special Function Subroutines • U-Memory • V and K Memory 6 - Programming • • • • 111 Simatic 505 SoftShop...
Page 118
Click OK to start the compare process. NOTE If there are more than one program opened, the File Program Compare compares the program in the active window. 112 • • • • 6 - Programming Simatic 505 SoftShop...
You can display the Faults of your processor while online. To display the processor faults: Click Faults from the Diagnostics menu (Alt+D, A). The online Faults are displayed (see Figures 6.10f). 6 - Programming • • • • 113 Simatic 505 SoftShop...
Either the PLC Status for online or offline is displayed (see Figures 6.10 and 6.11). Click Close to close the PLC Status box, and return to the active logic program. 114 • • • • 6 - Programming Simatic 505 SoftShop...
When you have S-memory configured, you receive a display with three fields, as shown in Figure 6.12, to change operating mode. Use the mouse or arrow keys to select the desired field. 6 - Programming • • • • 115 Simatic 505 SoftShop...
Prog places the loop card in PROGRAM mode, and control blocks are neither running nor being queued for running. To select LOOP PROGRAM mode, Click on the Prog button on the PLC Operations dialog box. The following message 6 - Programming • • • • 117 Simatic 505 SoftShop...
Click on one of the above EEPROM tasks from the PLC Operations dialog box. When you receive the message, Do you want to copy EEPROM to RAM? Select either YES or NO. 118 • • • • 6 - Programming Simatic 505 SoftShop...
(Alt+U, N). The System Part Number dialog box appears (Figure 6.12b). The part number and release for each card, along with the slot number and name of the card, displays as shown. Figure 6.12b 6 - Programming • • • • 119 Simatic 505 SoftShop...
Ladder status is indicated by the following features: • Contacts and Coils, when on, are displayed in Red. • Addresses in box instructions indicate the current value for each address. 120 • • • • 6 - Programming Simatic 505 SoftShop...
The RBC software number(s) and release numbers are displayed in the format shown in Figure 6.12b. Click Close to exit the RBC Part Number box and return to the active logic program. 6 - Programming • • • • 121 Simatic 505 SoftShop...
Click on the Run Current button, and the data will be displayed in the dialog box. To locate the Dual Media base: • Type in the channel and base number in their associated data field. 122 • • • • 6 - Programming Simatic 505 SoftShop...
Click Close to exit the Hot Backup and return to the active logic program. Password The password feature provides protection for areas of memory that are part of the program. There are two passwords, one for the selected 6 - Programming • • • • 123 Simatic 505 SoftShop...
Online Password Operations Table. NOTE If converting files from TISOFT to 505 SoftShop, check to make sure that the selected program on disk has TISOFT 5.0 or greater format. 124 • • • • 6 - Programming Simatic 505 SoftShop...
Page 131
Some reads and no writes will be allowed to the selected program on disk. All online password operational modes are summarized in the following table. 6 - Programming • • • • 125 Simatic 505 SoftShop...
Page 132
User gives Partial to full access to controller is allowed password. depending on access level. Some reads and no writes are allowed to selected program on disk. 126 • • • • 6 - Programming Simatic 505 SoftShop...
Page 133
This option is written to the controller. Full Access does not work without a password. • Enable Password-Allows you to enable password protection for the controller. 6 - Programming • • • • 127 Simatic 505 SoftShop...
Use Power Up Restart to clear all unforced X, Y and non-retentive C elements on power up or restart of the controller. Retentive control relays are not cleared. The WX and WY elements are not affected. 128 • • • • 6 - Programming Simatic 505 SoftShop...
For 575 controllers, you are also prompted with Coordinate Reset With Other Applications: and Coordinate Reset With Entire System: For each of these prompts, press NO or YES as required for your process. 6 - Programming • • • • 129 Simatic 505 SoftShop...
PLC Configuration dialog box. The Required Application dialog box appears (Figure 6.15). You can change the Application ID only during offline configuration. (Configuring the controller online displays the current application.) Figure 6.15 130 • • • • 6 - Programming Simatic 505 SoftShop...
Page 137
IDs that must transition to RUN mode at the same time. Connecting online displays the current application ID configuration. After modifying the configuration, click OK to enter the new configuration relationships. 6 - Programming • • • • 131 Simatic 505 SoftShop...
Figure 7.1 To see ladder headers in the active logic program, select Program Setup from the Options menu. Click Ladder Headers in the Logic Editor box and click OK. 132 • • • • 7 - Documentation Simatic 505 SoftShop...
To see network headers in the active logic program, select Program Setup from the Options menu. Select the Logic tab. Then General from the drop down box and check Show All Headers. Figure 7.3 7 - Documentation • • • • 133 Simatic 505 SoftShop...
Figure 7.5 To see SF headers in the active logic program, select Program Setup from the Options menu. Click All Headers in the Logic Editor box and click OK. 134 • • • • 7 - Documentation Simatic 505 SoftShop...
To change the display, select Options, Program Setup (Alt-O, P). In the Documentation Window section, click Tag to include tags and/or click 7 - Documentation • • • • 135 Simatic 505 SoftShop...
The font selected in your program setup will also be used for the tag and description fields. This will show the documentation, as it actually will be displayed in your ladder program. 136 • • • • 7 - Documentation Simatic 505 SoftShop...
Selected items will be highlighted with a different color than your normal workspace color. Each of the three editing commands, described in detail in the following paragraphs, can be accessed several ways. 7 - Documentation • • • • 137 Simatic 505 SoftShop...
Page 144
Paste Range dialog box at location. Figure 7.7c Select OK and the addresses in the clipboard are pasted into the Documentation Window starting with the at address. 138 • • • • 7 - Documentation Simatic 505 SoftShop...
Exact Match. Press OK, and the search item will be located and displayed in the Documentation Window. Pop-Up Menus The menu items available with the right mouse button are displayed in Figure 7.9 Figure 7.9 7 - Documentation • • • • 139 Simatic 505 SoftShop...
00001 that is used on a contact, move the cursor to that location and press Ctrl L. The Edit Documentation window in Figure 7.7 automatically appears. Enter the tag, description, and comment, and press OK to save the documentation. 140 • • • • 7 - Documentation Simatic 505 SoftShop...
Select Title Page Print Editor from the View menu. • The following dialog window is displayed (Figure 7.10): Figure 7.10 • Enter the text and press OK when you are done. 7 - Documentation • • • • 141 Simatic 505 SoftShop...
The Analog Alarm Directory dialog box appears (see Figure 8.1). The dialog box shows the Loop Mode, Alarm number (1-512) depending on the processor type, Alarm Title, and Enable/Disable state. 142 • • • • 8 - Analog Alarms Simatic 505 SoftShop...
Page 149
Select the Analog Alarm number that you want to delete by using the left mouse button or the Arrow keys on the keyboard. Click on the dialog box Delete button or use the keyboard to 8 - Analog Alarms • • • • 143 Simatic 505 SoftShop...
Alarm number in the clipboard. Move the cursor to the desired location and click on the dialog box Paste button to paste the clipboard contents into the new location. 144 • • • • 8 - Analog Alarms Simatic 505 SoftShop...
The V-Flags contains the operational data for an analog alarm. The V- Flags comprises the individual bits making up the 16-bit word. The bits are defined in Table 8.1. 8 - Analog Alarms • • • • 145 Simatic 505 SoftShop...
A location in V-Memory - The programming table uses an address in V-Memory. If you select NONE, the analog alarm does not read an address to obtain the Process Variable. 146 • • • • 8 - Analog Alarms Simatic 505 SoftShop...
Process Variable. Process Variable Alarm High Enter a real number in engineering units; must be less than or equal to high-high alarm value of Process Variable. 8 - Analog Alarms • • • • 147 Simatic 505 SoftShop...
The orange deviation limit must be within the span of the process variable, and it must be greater than or equal to the yellow deviation alarm. 148 • • • • 8 - Analog Alarms Simatic 505 SoftShop...
The yellow and orange deviation alarms move up and down with the setpoint, and may refer to specification tolerances around the setpoint. 150 • • • • 9 - PID Loops Simatic 505 SoftShop...
Edit button, or use the keyboard to Tab to the Edit button and press Enter or (Alt + E). The following dialog box appears (see Figure 9.2). 9 - PID Loops • • • • 151 Simatic 505 SoftShop...
You must specify the engineering values that correspond to the lower range of the input span. High Process Variable Range Enter the high value of the process variable in the Process Variable Range Field. 9 - PID Loops • • • • 153 Simatic 505 SoftShop...
Monitor Low-Low/High-High Select Yes to have the controller monitor the Low-Low/High-High Loop; otherwise, select No. The Low-Low/High-High can be entered as values requiring critical action. 154 • • • • 9 - PID Loops Simatic 505 SoftShop...
P, PI, PD, I, and even an ID or a D loop. To eliminate integral action, set (T ) to infinity. To eliminate derivative action, set (T ) to zero. To eliminate proportional action, set (K ) to zero. 9 - PID Loops • • • • 155 Simatic 505 SoftShop...
In calculating the control equation, the controller uses an error value equal to or less than 1.0 (% of PROCESS VARIABLE span over 100). Therefore, selecting error squared gives a lower gain for a higher error. 156 • • • • 9 - PID Loops Simatic 505 SoftShop...
Alarm deviation Alarm. The orange deviation limit must be within the span of the process variable, and it must be greater than or equal to the yellow deviation Loop. 9 - PID Loops • • • • 157 Simatic 505 SoftShop...
Delete button and press Enter or (Alt+D). The following dialog box appears (Figure 9.3). Figure 9.3 Select Yes to delete the PID Loop, and No to return to the previous dialog box. 158 • • • • 9 - PID Loops Simatic 505 SoftShop...
LRSN with a SF program and also write a step number to it with a SF program. The ramp/soak profile changes to the step that is 9 - PID Loops • • • • 159 Simatic 505 SoftShop...
Page 166
1-3 with a SF program. NOTE: The step number is zero-based. LRSN contains 0 when the profile is on step #1, I when the profile is on step #2, etc. 160 • • • • 9 - PID Loops Simatic 505 SoftShop...
V) that allocates one word for ramp/soak data. The format of the bits in a ramp/soak flag address correspond to the individual bits making up the 16-bit word LRSF. Bits are defined in Table 9.2. 9 - PID Loops • • • • 161 Simatic 505 SoftShop...
SmarTune Automatic Loop Tuning SmarTune is an automatic PID loop tuning process that is built into the new SIMATIC 555 CPUs with Release 5.0 or greater firmware. 162 • • • • 9 - PID Loops Simatic 505 SoftShop...
Page 169
SmarTune button, or use the keyboard to Tab to the SmarTune button and press Enter or (Alt + E). The following dialog box appears (see Figure 9.6). 9 - PID Loops • • • • 163 Simatic 505 SoftShop...
Page 170
This product may need to be purged before and/or after a tuning session. Ensure that your process is designed to handle the results of loop tuning. 164 • • • • 9 - PID Loops Simatic 505 SoftShop...
Page 171
8. This error is induced by thermal loading on a temperature zone. As the thermal loading on a temperature zone increases, the magnitude of the steady state error is increased. 9 - PID Loops • • • • 165 Simatic 505 SoftShop...
Page 172
It is the function of the PID SmarTune utility to determine the optimum PID gain values to achieve a response as close to the ideal curve as possible. 166 • • • • 9 - PID Loops Simatic 505 SoftShop...
Page 173
Calculated Reset Real Calculated Rate Real Start Variable, Abort Variable, Ack Variable These three discrete variables allow easy activation/deactivation via an RLL program, as shown in Figure 9-10. 9 - PID Loops • • • • 167 Simatic 505 SoftShop...
Page 174
If Previous Mode is used, SmarTune sets it to a value, which will switch a loop to its pre-session mode when written to a loop’s LVF. This was 168 • • • • 9 - PID Loops Simatic 505 SoftShop...
Page 175
0101 xxxx xxxx xx01 Data questionable, tuning may not be reliable 0101 xxxx xxxx xx10 Data questionable, tuning is not reliable 0101 xxxx xxx0 01xx Sample interval too large for optimal 9 - PID Loops • • • • 169 Simatic 505 SoftShop...
Page 176
Sample size too small (probably 0110 xxxx xx11 xxxx would never happen) size < 33 (increase STEP or decrease NOISE) PV/output inconsistent 1; Noisy 0110 xxx0 01xx xxxx PV/output signal? 170 • • • • 9 - PID Loops Simatic 505 SoftShop...
Page 177
Smallest Rate 0.0000008 minutes real Activation Time Slice 0:not configured here, 1 to 255 ms Calculation Time Slice 0:not configured here, 1 to 255 ms Table 9-5 Value Parameters 9 - PID Loops • • • • 171 Simatic 505 SoftShop...
Page 178
Calculated Kc, Ti, and Td are written to a loop. • The loop is changed to its prior mode. • The loop’s SP is assigned its prior value. 172 • • • • 9 - PID Loops Simatic 505 SoftShop...
505 SoftShop provides a simple way to document PID Loops while you are creating or editing loops. The maximum number of characters you can enter for each header is 16K. 9 - PID Loops • • • • 173 Simatic 505 SoftShop...
Page 180
Document button or use the keyboard to Tab to the document button and press Enter or (Alt+O). The following dialog box appears (Figure 9.11). Figure 9.11 174 • • • • 9 - PID Loops Simatic 505 SoftShop...
10 - FTLogger/FTTrend FTLogger Overview FTLogger collects data from multiple PLC devices to selected database files. Addresses are entered in a spreadsheet format with up to 1,000 addresses per log window. Data is logged based on a specific time frame or used defined trigger.
Page 182
FTLogger FTLogger Overview FTLogger collects data from multiple PLC devices to selected database files. Addresses are entered in a spreadsheet format with up to 1,000 addresses per log window. Data is logged based on a specific time frame deadband or event. Creating a Log Window To create a new Log Window, perform the following steps: Launch FTLogger...
Page 183
Select the appropriate communications server (see appendix ? for listing of sever device associations). The default path appears in the Log File Path field. Enter a path if different from the default. Click the radio button Online to select the device port. Result: Communication is established as soon as the addresses are inserted in the log window.
Page 184
Specific time - Logging terminates after the time indicated just below the radio button. After time duration - Logging occurs for the duration of the time selected starting from the time indicated under the Start Logging group box. After one log - Logging is terminated after the first and only log. Closing the log window prior to the selected stop logging time overrides the time and terminates all logging from the closed window.
Page 185
Figure 4 • Logging Methods Periodic - Updates the cache in time intervals specified in edit box. The format is msec, sec, min, and hour. Minimum value is 0 (updates as quickly as possible) and maximum value is 24 hours. Deadband - Data variation value or a percentage of a data variation.
Page 186
• • • AND NOT • • OR NOT When END is selected, only the low trigger range is used in the expression. • Logging method description box Describes the log method that is currently checked. This text changes whenever you select a different log method. •...
Page 187
Scroll through the Tag combo box in a log window to display the corresponding address and description (if it exists) of the highlighted tag. The address and description are referred to as doc tips and can be turned on and off with these boxes. All tips are checked by default.
Page 188
application. The Device Source Configuration screen is disabled if no servers are running (Figure 8). Figure 8 Two different messages are available in the static message box. • Add, delete, or modify for running servers. The configured devices will be saved to the configuration file below when saving the current project.
Page 189
Figure 9 The Select Configuration File screen allows you to create a new configuration file or open an existing file • New File Create a New Configuration File - Opens a new file. New Configuration Filename - The path for the configuration file defaults to the same path as the executable.
Page 190
Figure 10 • Existing File Open an Existing Configuration File - Opens an existing file. More Files - Contains the Most Recently Used (MRU) configuration files read from the registry similar to the MRU list of .LGR files from the File menu. The database file must include at least four fields (address, tag, descrip, and comment) in order.
Page 191
The Re-read file every <> minutes field is not available at this time. Click the Comm. Setup… button to initialize vendor specific device settings as shown for Siemens 505 (Figure 12). 10 • • • • FTLogger PLC WorkShop for Simatic TI505...
Page 192
Figure 12 Click OK to send the configuration to the server. Result: A connection is made to the doc database file for reading and writing. If the database you are connecting to does not match specifications such as a mismatch between table name or field names, the Documentation Database Mapping screen appears to map specific fields so that the software knows where various types of documentation reside (Figure 13).
Page 193
For the mapping to be successful, the fields names must map to the table names. The fields that are mapped must be of type “Text” for address, tag, and description and “Memo” for the comment field. The lengths of the fields must be less than or equal to FasTrak’s lengths for all fields except the comment field.
Page 194
Figure 15 Select a server from which you wish to delete a device. Select a name in the Device Names field to delete devices. Click Select All and OK to delete all the devices for a selected server. Documentation Once a device is configured you can specify a database file to hold and sort all documentation.
Page 195
addresses, and the general file format are verified. This action causes the import process to be slightly slower. To start the import process, click the OK button. Documentation can also be exported by selecting File → Import Documentation from the menu. Using the Log Sheet The Log Sheet displays information about the devices such as address, tag, description, value, timestamp, and status.
Page 196
enter text in the address field. Entering an address creates an update of all other columns. You can enter a range of addresses by using the fill format equations below. Address\+-[count][\increment][\format] Address1-Address2[\increment][\format] A tag is a very short description of an address and can be used in place of an address.
Page 197
entire packet would have failed by including 1 erroneous address. Unlike SoftShop, ControlShop does not implement the type of error checking that would prevent a user from entering an invalid address so it is up to the PLC/device to report these types of errors. When offline, all the status rows will display the string “Offline”.
Page 198
Destination can be in the form of an end address or a count. For example, a start address of 400001 and an end address of 400003 will display 400001, 400002, and 400003 in the log window. Selecting a count of 3 instead of an end address will give the same results.
Page 199
Select All The “Select All” menu item under the main “Edit” menu can be used to unconditionally highlight all the rows in the active log window. Features such as delete, format, size, on, off, cut, copy, and paste can be performed on the entire log window.
Page 200
Figure 19 This dialog allows you to select which log windows we will be receiving status messages from (Source group box) as well as which status messages we wish to receive (Include group box). These messages can also be written to a file by checking the “Save Status Messages to a File” box in the “Status File”...
Page 201
Figure 20 The “Error Types” list box holds all the error situations in which a response can be preprogrammed. Error situations include communication timeouts and device errors. The “Error Responses” group box lists all the possible responses for the item that is currently highlighted in the “Error Types”...
Page 202
FTTrend Overview FTTrend displays real-time data collected from multiple PLC devices or historical data collected from the FTLogger. This information is displayed in a graph with up to 256 points per graph. You can view different devices on the same graph and control how often the information is gathered and displayed.
Page 203
Configuring FTTrend Devices Before any addresses can be inserted into a trend window, devices must be configured so that the servers know where to read the addresses. Selecting "Device Source…" from the Setup menu list does this. Only devices from “running” servers can be configured. Opening up a trend window starts a server for the selected server.
Page 204
Figure 3 Within the “Select Configuration File” dialog, you can create a new configuration file or open up an existing one. If no configuration files exist, the “New File” radio button will be checked and the edit box within this group will hold a default configuration path and file. The path for the configuration file will default to the same path as the executable.
Page 205
This can create a short wait time depending on how many tags are in the database. Select the “Comm. Setup…” button to initialize vendor specific device settings as shown below for Siemens 505. 4 • • • • FTTrend PLC WorkShop for Simatic TI505...
Page 206
Figure 6 When “OK” is selected from the “Add Device” dialog, the configuration is sent to the server and a connection is made to the doc database file for reading and writing. If the database you are connecting to does not match specifications (i.e. there is a mismatch between table name or field names) then a dialog will be displayed to map specific fields so that the software knows where various types of documentation reside.
Page 207
than or equal to FasTrak’s lengths for all fields except the comment field. The max character length for “Address” is 64. The max character length for “Tag” is 32. The max character length for “Description” is 96. Failure to provide a valid mapping will prevent the device from being added. Modifying Devices To modify a device that is already configured select the “Modify Device”...
Page 208
Figure 9 Clicking on “Select All” followed by “OK” will delete all the devices for a selected server. You can also click in the “Device Names” list box to manually select which devices to delete. Trend Window Graph Setup To setup the graph settings: Select Graph from the Setup menu.
Page 209
General Tab The General Tab settings are the settings for both the Y and X-axis: • Refresh Rate is the time between screen updates. • Background Color- sets the color of the graph background. • Axis Color- sets the X and Y-axis color. •...
Page 210
[Month]/[day]/[year] - each represented by 2 digits. [month] /[day – each represented by 2 digits. The default format is ([month]/[day]/[year] - each represented by 2 digits). If neither is checked then nothing is display along the X-axis. Use Start Times Use Start Date you to set a time range to “...
Page 211
the Y-axis Tab dialog box. The y-axis scale values and titles can be turn on and off by selecting/deselecting Show Number and Show Y-Axis Titles check boxes. Figure 13 Key/Pens Display There are five Key display options (display at the bottom of FTTrender window) available in FTTrender and four Pen (pen point that plots the data value (figure 14): •...
Page 212
Figure 14 Database Tab FTTrend can display real time data as well as data stored in a database. When FTTrend is in the real data mode it's data is also stored in a database. This provides the ability to not only see the most current data plotted but past data as well.
Page 213
Compact Database When Going Online check box, when checked, helps to limit the amount of disk space used by FTTrend. When data is stored in a database some of the fields are not completely full. By compacting the trended data removes the spaces between these fields. The data base filename and location are user defined.
Page 214
Figure 17 Choose a pre-setup device name from the drop down PLC selection box. This is the device from which data is to be retrieved from. Then enter an address (under Address box) or tag (under Tag box) to plot. Entering an item in the “Tags”...
Page 215
Figure 18 A previously logged database file must be entered under the Log File Path. Choose a pre-setup device name from the drop down PLC selection box. This is the device from which data is to be retrieved from. Then enter an address (under Address box) or tag (under Tag box) to plot.
Page 216
Viewing Charts To view different time periods on a graph select one of the following options under the View Menu: • Prev Page (<<), goes one complete time interval page into the past. • Prev Time (<), goes one time interval in to the past. •...