background image

Simatic 505 SoftShop 

••••

 73

Bit

1
2
3
4

5
6

1 2 3 4 5 6 7 8 9

11

10 1213141516

15

16
17
18

19
20

Word inputs
Word outputs
Other word data

PGTS word
parameter area

Values are copied into the 
word parameter area to be 
used by the subroutine.

When parameters are 
specified read/write, 
changed values are copied 
back into appropriate 
memory areas.

Figure 5.4

User External Subroutine Memory

A block of memory within the controller may be allocated for storing
externally developed programs written in C, Pascal, Assembly language,
etc. This memory type is called User Memory (U-Memory). The size of
U-Memory is user configurable.

Global Memory: 575 Only

The 575 CPU allocates a 32K-word block of memory that allows you to
transfer data over the VME back-plane. This memory type is called
Global Memory (G-Memory). Refer to Appendix I of the processor
manual for more information about G-Memory.

VME Memory: 575 Only

The 575 controller also allows access to physical VME addresses using
the VMM-Memory or VMS-Memory.

 

VMM corresponds to VME address modifier 39 (standard non-
privileged data access).

 

VMS corresponds to VME address modifier 29 (short non-
privileged access). 

The 575 controller allows you to use a VME address (VMM or VMS) as a
parameter to most word-oriented RLL instructions, e.g., ADD, SUB, or
MOVW, etc.

When a VME address is used and is not recognized by any installed board, a
VMEbus error occurs. If the instruction that used the address was other than
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

.

Summary of Contents for SIMATIC 505

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: ...ss Machines Corporation Windows 95 and Windows NT are registered trademarks of Microsoft Corportation CSA is a registered trademark of Canadian Standards Association All other product names or trademarks are the property of their respective owners They are used without representation as to their release for general use Copyright 2000 by Siemens Energy Automation Inc All Rights Reserved Printed in ...

Page 3: ...y 7 Connect the Communications Cable 9 Cable Pin Outs for RS 232 C Ports 9 Cable Pin Outs for RS 422 Ports 11 Ethernet Connection 11 3 505 SoftShop Basics 13 Welcome to 505 SoftShop 13 Software Features 13 Starting 505 SoftShop 13 The Landscape 505 SoftShop Window 14 Window Description 15 Instruction Bars 15 Menu Bar 16 Multiple Program Windows 16 Status Line 17 Title Bar 18 Toolbar 18 Working Wit...

Page 4: ...ory 46 4 505 SoftShop Setup 47 Overview 47 Program Setup 47 Setting Up Communications 51 Serial or Modem Communication 51 Setting Up and Using TIWAY in 505 SoftShop 53 Using TCP IP in 505 SoftShop and Setting Up TCP IP Communications 54 Setting Up and Using PROFIBUS FMS in 505 SoftShop 58 Access FMS Profibus Devices Using 505 SoftShop 59 505 SoftShop with H1 Communications 59 Printer Setup 60 Page...

Page 5: ...tion Data From COM PROFIBUS Into 505 SoftShop 77 Merge COM PROFIBUS 80 Find Configured I O 83 6 Programming 84 Overview 84 Online Versus Offline Programming 84 Using the Logic Editor 85 Programming Ladder 85 Insert a New Network 85 Insert a New Row 86 Ladder Instructions 86 Using the SF Program and Subroutine Editor 93 Insert a New Row 95 Entering Special Function Program Instructions 95 Editing L...

Page 6: ...RBC Part Number 122 Task Codes Per Scan 122 Diagnostics on Base 123 Hot Backup 123 Password 124 Online Password Operational Modes 125 Powering Up Restart the Controller 128 Power Up Restart 128 Partial Restart 129 Complete Restart 129 Clearing Memory 130 Selecting 575 Application 130 7 Documentation 132 Using the Ladder Network and SF Header Editor 132 Ladder Header 132 Network Header 133 SF Heade...

Page 7: ...point 148 Clamp Setpoint Low High 148 Alarm Deadband 148 Special Function 148 Monitor Deviation 148 Deviation Yellow Alarm 148 Deviation Orange Alarm 148 Monitor Rate of Change 149 Rate of Change Alarm 149 Monitor Broken Transmitter Alarm 149 9 PID Loops 150 Overview 150 Programming PID Loop 151 V Flag Address 152 Sample Rate 153 Process Variable Address 153 Low Process Variable Range 153 High Pro...

Page 8: ... Lock Setpoint 156 Lock Auto Manual 156 Lock Cascade 156 Error Operation 157 Reverse Acting 157 Monitor Deviation 157 Deviation Yellow Alarm 157 Deviation Orange Alarm 158 Monitor Rate of Change 158 Rate of Change Loop 158 Monitor Broken Transmitter Alarm 158 R S Programmed 158 Delete PID Loop 158 Ramp Soak 159 Controlling the Ramp Soak Operation 160 Editor 161 SmarTune Automatic Loop Tuning 162 P...

Page 9: ... 505 SoftShop for Windows Installation Guides you through the installation procedures for the software and security 505 SoftShop for Windows Basics Walks you through the nitty gritty by describing 505 SoftShop for Windows features and helps you move through the Windows environment 505 SoftShop for Windows Setup Provides specific guidelines in setting up and customizing the software PLC Configurati...

Page 10: ... 2522 Technical Support 1 800 333 7421 Technical Support Fax 1 423 461 2231 You can also send questions comments and suggestions to Attention Technical Service Siemens Energy Automation Inc PO Box 1255 Johnson City TN 37605 1255 or 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...

Page 11: ...damaged please contact Siemens Customer Service 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 Hardware Requirements To install 505 SoftShop for Windows on your computer you need the following hardware A personal co...

Page 12: ...emo mode Procedures for installing the Siemens Key and 505 SoftShop for Windows are outlined in the next chapter If your parallel port is not 100 IBM compatible you may experience problems with the Siemens Key which will prevent 505 SoftShop for Windows from functioning properly In most cases you can correct the parallel interface incompatibilities by replacing the parallel port with a 100 IBM com...

Page 13: ...rs on the screen Follow these steps to install the software 1 Insert the 505 SoftShop Disk in your computer s CD ROM drive 2 The CD should autostart if not click the Windows Start button Then Click Run and type x setup exe where x is the letter for the CD ROM drive 3 Follow the instructions that appear on the screen 4 After clicking Next a 505 SoftShop Access Level Read Load Only Install box appea...

Page 14: ...uction and Validate and Enter Configuration Editing Memory configuration editing set PLC Scan Time 505 I O Edit Profibus I O Edit Watchdog Timer Edit and Time of Day edit Utilities Menu PLC Operations modes PG RUN etc Profibus Operations Diagnostics on base Task Codes per scan Port Lockout Password Clear U Memory and Clear Memory Load only install will not allow the user to access the following Fi...

Page 15: ...ot interfere with normal port data transmissions nor will it prevent you from creating backup copies of the software Connecting the Siemens Key To install the Siemens Key follow the steps below 1 Determine to which parallel port you want to connect the Siemens Key 2 Disconnect other security devices or cables attached to that port 3 Connect the Siemens Key to the port 4 Attach other cables to the ...

Page 16: ... proper drivers for your particular operating system If there are no errors the program immediately returns to the command line prompt If there are errors a report prints each error 4 Restart the computer to activate the driver Message While running 505 SoftShop the Siemens Key was removed from the parallel port Remedy Check to see that The Siemens Key is connected to a parallel port The Siemens K...

Page 17: ... PLC This enables you to transfer programs and data from the computer s memory Offline to the PLC and vice versa This cable has a 25 pin or 9 pin connector computer end and a 9 pin connector PLC end If your computer has a 9 pin COM port and you have a 25 pin cable you can use a 9 to 25 pin converter to connect the communications cable to the processor If your computer has a 25 pin COM port this co...

Page 18: ...nd Prg Device Controller 2 1 RS 232 C 25 Pin to 25 Pin Figure Cable FOIL SHIELD BRAID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 FOIL SHIELD BRAID Drainwire Copperfoil Shield Connector Shell P1 P2 Drainwire Copperfoil Shield Connector Shell 2 Transmit TD 3 Receive RD 4 RTS 5 CTS 6 DSR 8 DCD 20 DTR 7 Signal Ground 1 2 3 4 5 6 7 8 9 2 Receive RD 3 Transmit TD 5 Signal Ground F...

Page 19: ... DI GND DO DI DI DO GND DI DO Signal 9 Pin D Type Male Connector Figure 2 4 RS 422 Pin Values 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 Communica...

Page 20: ...mentation Approaching the software in this order will also help you discover 505 SoftShop s powerful features that include Multiple windows view and edit Flexible program setup Access to ladder logic through cross reference Write read and force addresses from the Data Window Multiple documentation options Keyboard support for every function and command Starting 505 SoftShop After installing 505 So...

Page 21: ...05 SoftShop from the icon If 505 SoftShop continues to not detect the Siemens Key please call Siemens Customer Support at 1 800 964 4114 immediately When 505 SoftShop has loaded completely the 505 SoftShop window appears as described and defined in the next chapter The Landscape 505 SoftShop Window The 505 SoftShop window is the starting point for all your work The key features of the window are d...

Page 22: ...he top of the 505 SoftShop window when you are programming ladder logic Figure 3 1 Instructions are divided into groups To display the instructions for a group click the group button For example to display the math instructions click the Math Logic button The instructions for that button appear and you can move the window anywhere on the screen The Math group button remains selected until another ...

Page 23: ... more than one logic program window at a time You can open as many logic program windows as your computer s memory permits For example you may wish to copy part of a logic program to another program This saves you programming time by not having to retype similar logic statements for each program To copy a part of one logic program to another use the following procedure 1 Open both programs offline...

Page 24: ...irect serial connection to a PLC then Direct is displayed The online PLC route is taken directly from the controller from where you are connected The offline PLC route informs you as to the parameter saved in the PLC setup window for this particular program Logic Mode Indicates whether you are programming online or offline Num Lock Indicates if Num Lock is active for the keyboard When using the ke...

Page 25: ...ppear in the corner of the title bar Figure 3 4 Button Title Location Function Minimize Left box Click the dash button to reduce window to an icon Maximize Middle box Click the window button to enlarge the entire screen Close Right box Click the X button to exit SoftShop Toolbar The Toolbar displays a row of buttons Each button represents a frequently used option Select the option by clicking on i...

Page 26: ...d section to the clipboard See Editing Logic Programs Paste a section from the clipboard See Editing Logic Programs Find a network address or tag Find the next occurrence of the found address or tag Display Ladder Editor Display Special Functions Editor Display PID Loop Directory Display Analog Alarm Directory Display the Data Window Display FTLogger log data Display FTTrender Display the Cross Re...

Page 27: ...and begin programming do the following 1 Click on the Toolbar or select New Program from the File menu or 2 Press Ctrl N on the keyboard 3 Select the PLC Type 4 Press OK Fast PLC Connection Connecting to a PLC With 505 SoftShop you can connect to a PLC with a click of the mouse You can then view and edit existing logic in the PLC Prior to connecting the first time you need to set up the PLC connec...

Page 28: ... to find the program you wish to open You can open FSS 505 SoftShop 32 bit files FTK 505 SoftShop 16 bit files or VP5 TISOFT V5 0 files NOTE For TISOFT V5 0 files vp5 loads a new offline program is created with the logic and documentation always imported Synonyms for JMP GTS and SBY are not imported However their associated comments are imported as Headers 4 Click on the program name in the File N...

Page 29: ...ructions and assumes the end of program logic This can substantially increase the time to connect online to a 520 525 530 535 560 or 565 controller when selected NOTE If you select Read All NOPS and have more than 30 NOP instructions separating user logic all logic past the 30 NOPS will not be read 10 Click OK or press Enter to open your program NOTE If your controller is a 575 refer to Connecting...

Page 30: ...y to find the program you wish to open You can only open FSS 505 SoftShop 32 bit files programs 15 Click on the program name in the File Name scroll box and click OK Result The name of the program appears in the Program Name line of the Open Program dialog box The selected program s file name is put into the Address Documentation Path If a different documentation program is desired it must be link...

Page 31: ...ne logic file to an online 505 controller Editing or modifying a program online may produce unexpected or hazardous results To transfer an existing offline program to online 1 Select Transfer Online from the File menu Ctrl B Result The Open Program dialog box appears Figure 3 6 2 Select OK to Transfer Connecting Online to a 575 When connecting to a 575 controller either from Fast PLC Connect or th...

Page 32: ... the item to be changed and either type in the change or click on the spin radio button or combo box 2 Click on Accept to send changes to the controller or Cancel to make no changes and return to the Applications ID Table dialog box NOTE If the port you are changing is the port 505 SoftShop is connected to but the settings are not what 505 SoftShop uses when you press Accept the following prompt a...

Page 33: ...port documentation 1 Select Export from the file menu 2 Select a file format to export the documentation to Figure 3 9a 3 Type the program name in the File name field or click Browse to search from valid program names 4 Select the parts of documentation to export Tags Descriptions or Headers Then determine which delimiter format to use The delimiter is used to separate the types of documentation T...

Page 34: ... updated program with the current name overwriting the previous version NO cancels the save procedure NOTE You must validate logic before saving If you have not done so a message appears stating changes to logic have not been validated or entered Changes cannot be saved until logic has been validated and entered Click Validate Logic on the toolbar or select Validate and Enter Logic from the Progra...

Page 35: ...hanges cannot be saved until logic has been validated and entered Click Validate Logic on the toolbar or select Validate and Enter Logic from the Program menu Complete necessary changes to logic and try to save the program again If you are working online and saving your changes a warning message appears stating that logic in the active PLC program has been modified and asks if you wish to save the...

Page 36: ...Logic on the toolbar or select Validate and Enter Logic from the Program menu Complete necessary changes to logic and try to save the program again To save a logic program with a new file name 1 Select Save As from the File menu Result The Save As dialog box appears Figure 3 10 2 In the Save As dialog box click options in the necessary group boxes to designate a location to save the logic program ...

Page 37: ...gh the Windows Control Panel If you have questions regarding loading print drivers consult your printer s user s manual and the Windows User s Guide To print logic programs and or documentation 1 Click on the toolbar or select Print from the File menu Ctrl P Result The Print dialog box appears Figure 3 12 Figure 3 12 2 Click on the check boxes that correspond to the items you want to print For eac...

Page 38: ... memory address mode or network address mode The selected radio button below ladder range determines which mode is printed The Network address or PLC Memory Address is printed on the top left or right of ladder and can be disabled to not print at all The selection is made in the Network Address Marker field When selecting Networks Addresses per Page as Single or Multiple use the following informat...

Page 39: ...or type in a value between 1 and 300 Column Two determines the width allocated for display of SF second column variables after the instruction Click the up or down arrow or type in a value between 1 and 300 The ladder grid addresses tags descriptions and headers can all individually be turned on or off to be included with ladder printout To include with the ladder print out select the appropriate ...

Page 40: ...Alarms Click the Alarms check box from the Print dialog box to print the following All Alarms Alarms and Headers To change the Alarms properties click the Alarms button on the Print dialog box The Print Alarms dialog box appears Figure 3 15 Figure 3 15 Click the All Alarms check box to print the entire range of alarms To print a selection deselect the All check box and enter a range in the associa...

Page 41: ...channel 1 Base 0 and end at channel 1 Base 15 The tags and descriptions can be individually turned on or off To include with the PLC Configuration printout select the appropriate check box under Include 1 Click the Doc Font button to change the Tag and Description printout font in the active program Result The Font dialog box appears 2 Choose a new font font style or font size Notice that you can ...

Page 42: ...tton to change the Tag and Description printout font of the active program Result The Font dialog box appears 2 Choose a new font font style or font size Notice that you can see a sample of the font in the Sample box 3 Click OK in the Font dialog box to save your changes Result The Print Loops dialog box appears 4 Click Cancel to make no font changes Result The Print Register dialog box appears ...

Page 43: ...for documentation print can be based on address Tag or Description To change the Documentation print sort orders select the appropriate check box under Sort Order 1 Click on the Doc Font button to change the Tag Description and Comments printout font of the active program Result The Font dialog box appears 2 Choose a new font font style or font size Notice that you can see a sample of the font in ...

Page 44: ...3 505 SoftShop Basics 37 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 ...

Page 45: ...s Alarm Variables G Mem VMM VMS To include Addresses Used Table with the Cross reference print out select the appropriate check box under Include 1 Click on the Doc Font button to change the Tag Description and Comments printout font of the active program Result The Font dialog box appears 2 Choose a new font font style or font size Notice that you can see a sample of the font in the Sample box 3 ...

Page 46: ...er a file name to save to and select OK Figure 3 19b Editing Features 505 SoftShop uses a number of timesaving editing features to help you complete your programming tasks These include Cut Copy Paste Paste With Rewire Undo Clear Delete Insert The most frequently used editing features are Cut Copy and Paste Use these commands to quickly copy logic and documentation to either another location in th...

Page 47: ...editing commands described in detail in the following paragraphs can be accessed several ways Cut To use the cut feature 1 Select the information you want to cut by highlighting the range instructions or networks addresses of SF lines to be cut 2 Click and hold down the left mouse button on the item or network or SF lines to be cut then drag the mouse to the end of the item range or network or SF ...

Page 48: ...nge of networks addresses or SF lines displayed are copied and placed into the clipboard Paste To access the paste feature 1 Move the cursor to the desired location 2 Paste clipboard contents into the new location with one of the following Click on the toolbar Select Paste from the Edit menu Press Ctrl V Paste With Rewire Paste With Rewire provides you with a number of timesaving editing features ...

Page 49: ...g 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 ...

Page 50: ...ck OK or press Enter Result The selected items are cleared Figure 3 24 Ladder Clear The following table describes the clearing items Item Function Ladder Removes all networks addresses from the block displayed Network Removes all logic from the network at the cursor position Instruction This option is available if the cursor is positioned at an instruction When cleared the instruction is removed h...

Page 51: ... the To box Row Line In Ladder selecting a row deletes all instructions and branches from the row where the cursor is positioned Logic below the deleted row s moves up When box instructions prevent a deletion an error message appears Column Deletes instructions and branches from the column where the cursor is positioned Logic to the right of the deleted column s moves left When box instructions pr...

Page 52: ...s positioned If box instructions prevent insertion an error message appears Importing Text or Documentation Files Import allows you to import tags descriptors text files or 505 SoftShop fss files For example you can import tags descriptors text created in a word processor You can merge tags descriptions from another 505 SoftShop fss program into the currently opened program To import tags descript...

Page 53: ... steps to prepare the external subroutine for use in the controller 1 Compile assemble the subroutines and header to create object modules 2 Link the object modules for the header and subroutines to create the load module The file name must have the extension rec The output must have the header at zero followed by the code and data constants then the variables and finally the stack 3 Select Merge ...

Page 54: ...fit your preferences Communications Setup Walks you through how to tell your computer which port is attached to your PLC Printer Setup Assists you in determining the correct settings for your printer Page Setup Allows you to configure your pages for printouts Fast PLC Setup Sets up a PLC for a fast connection Program Setup Program Setup reveals different sets of tabs governing your projects layout...

Page 55: ...tiple options for the particular tab item selected Table 4 1 describes each feature in the Program Setup dialog box 3 Click Restore Defs to return each feature to the last Save as Defaults setting or the original factory setting if Save as Defs has not been used 4 Click OK when you are finished making your selections or click Save as Defs to save the new settings as defaults These new settings wil...

Page 56: ...d Tags Displays tags when selected Descriptions Displays tag descriptions when selected Assign Tags When selected a window automatically appears if an address that does not have a tag attached to it is entered in ladder It allows you to assign a tag description and comment to the address Assign Addresses When selected a window automatically appears if a tag that does not match any current tags is ...

Page 57: ...Include Status Turns on and off the Status columns in the data window Tag Descriptions Tip Display Include Address As you scroll through the tag descriptions combo box in a data window the corresponding address and description if it exists of the highlighted tag will be displayed to the left and right respectively of the combo box These are referred to as documentation tips and can be turned on an...

Page 58: ...ons Setup 1 Select Communications Setup from the File menu Result The Communications Setup dialog box appears Figure 4 2 Figure 4 2 2 Select the appropriate PLC communications that you wish to set up Serial Ports TCP IP TIWAY or Profibus FMS Serial or Modem Communication To configure your serial port or modem connection with a PLC 1 From the Communications Setup dialog box click the Serial Ports b...

Page 59: ...the PLC after a time out error Any whole number between 0 and 10 can be used Use 0 for no retries Dial Modem Selected when the selected form of serial communications is through a modem The modem parameters must be set to exactly the same communication parameters that you will use Use the following modem parameters eight bits no parity one stop bit and the highest baud rate that your equipment will...

Page 60: ...n the controller is in run mode you cannot perform the following functions communicating through a NIM Force Unforce and Find except Find Address Setting Up the TIWAY I and UNILINK HOST Adapters To communicate with 505 SoftShop the TIWAY I Host Adapter or the UNILINK Host Adapter must conform to the following parameters NITP protocol Full duplex Asynchronous Maximum Host Baud Rate 19 200 See your ...

Page 61: ...twork There are really only three PC card options 10BaseT UTP 10Base2 Thin Ethernet and AUI Some cards are combinations The most commonly used are either 10bT or AUI with Fiber Optics cable 10Base2 is not as widely used and is not recommended as highly because of the potential network problems 10Base5 Thick Ethernet cable which also requires the use of transceivers is sometimes used and can be obt...

Page 62: ...mmed in one application and installed in another would respond to the wrong IP address unless reprogrammed Cannot swap CP2572 modules without reprogramming EPROMs through serial port by a PC PLC Start Easy to troubleshoot problems by swapping CP2572 modules proper IP address is loaded from ladder logic program as soon as CPU enters RUN mode IP Address is not loaded unless CPU enters RUN mode if po...

Page 63: ...word 201 instead of creating a lock with coil C1 Network 3 This rung is the same as the sample program in the TCP IP manual Chapter 2 Network 1 Use MOVW box to move table values stored in K memory to V memory for logic execution Network 2 Logic is triggered by first scan flag bit rather than coil C1 If C1 is used elsewhere in program it might come on unpredictably flag bit comes on exclusively for...

Page 64: ... Port protocol number the response Timeout and Retries Number Then Click the Accept button IP Port Any number is acceptable as long as it does not interfere with other protocol numbers This number must match the IP port configured in the 2572 Ethernet TCP IP module Response T O sec Specifies the amount of time in seconds that the software waits for a response from the PLC before returning a time o...

Page 65: ...essor module referred to hereafter as the FMS CP module provides the interface required for a 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 The FMS CP module mus...

Page 66: ... Devices Using 505 SoftShop To access the FMS Profibus network with 505 SoftShop From the File menu chose Fast PLC Setup 1 Select FMS from the Fast PLC Connection Setup dialog box 2 Click OK on the Setup dialog box 3 From the File menu chose Fast PLC Connection FMS communications can also be established via open program Result The FMS Network Access screen appears Figure 4 9 4 Select a node name T...

Page 67: ...efore running the other application Printer Setup Use Print Setup to select a printer and determine where and how your printouts appear To access the Print Setup 1 Start or open a logic program Select Print Setup from the File menu Result The Print Setup dialog box appears 2 Depending on which printer you want to print to choose either Default printer or Specific printer If you select Specific Pri...

Page 68: ...n inches for the margin you want to adjust in the Top Bottom Left or Right boxes 4 If you would like to start your printout with a page number other than 1 change the Starting Page number 5 Normally a title page does not print The title page contains the information you entered in the Title Page Print Editor If you would like to include this page as the first page in your printouts click on Includ...

Page 69: ...list in the Fast PLC Connection Setup dialog box If you need to configure a port click Serial Ports Refer to Communications Setup for more information Click OK or press Enter to accept the settings Click Cancel to disregard changes NOTE The connection options for your Fast PLC Connection is stored in the 505 registry If you attempt to use Fast PLC Connection and the Fast PLC Setup has not been con...

Page 70: ...omponents The setup and configuration process is completed in three steps in recommended order 1 PLC Type Setup PLC Type Memory Size 2 PLC Memory Configuration Ladder Variable Constant Special User Sub Timer Counter Drums Shift Register Table Move One Shots 3 I O Configuration PLC Type Setup available in offline mode only is how you tell 505 SoftShop what Siemens processor you are creating a logic...

Page 71: ...imatic 560 565T revision 2820 Simatic 545 revision 1101 1102 1103 1104 1105 and 1106 Simatic 555 revision 1101 1102 1103 1104 1105 and 1106 Simatic 575 revision 2102 2103 2104 2105 and 2106 To set up the PLC 1 Select PLC Type Setup from the File menu Result The PLC Type Setup dialog box appears Figure 5 1 Figure 5 1 2 Note to access a 545 1101 extended memory offline the extended memory check box ...

Page 72: ...ixed before the new PLC s logic can be validated To change the PLC type 1 Select PLC Type Setup from the PLC Utilities menu Result The PLC Type Setup dialog box appears Figure 5 1 2 Select the appropriate PLC Type and PLC Memory Size PLC Memory Configuration Controller memory is composed of several functional types refer to Table 5 2 You can configure the amount of memory that is allotted to some ...

Page 73: ...y RLL instruction tables drum timer counter shift register etc 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 ...

Page 74: ...types are classified for RLL programming purposes in the following ways Writeable This memory type is read write It can be used for both input and output fields of RLL instructions Readable This memory type is read only It can be used only for the input fields of RLL instructions No access RLL instructions has no access to this memory 3 Click Accept to save your settings and return to the active l...

Page 75: ... that is being run This memory type is 16 words in length and is called Temporary Memory T Memory since it is not saved when the program has completed running The controller writes data related to the Special Function program to the first 7 words You can read this data and or write over it if you choose You can use all 16 words just as you would use Variable Memory except no data is saved when the...

Page 76: ...esult in death or serious injury to personnel and or damage to equipment Do not use the same reference number more than once for timer counter up down counter and discrete motor control alarm timer instructions NOTE If you use an operator interface to change the time counter values the new values are not changed in the original RLL program If the RLL presets are ever downloaded e g as the result o...

Page 77: ...he MWTT or MWFT instruction was last reset One Shot Memory A block of memory within the controller is reserved for the operation of the various instructions of the One Shot group including the following One Shot Time Set Date Set When you assign a number to a One Shot instruction be sure that you do not use that number for any other One Shot instruction type For example do not configure more than ...

Page 78: ...thin the controller is reserved for the operation of the various drum types including the following Drum DRUM Event Drum EDRUM Maskable Event Drum Discrete MDRMD Maskable Event Drum Word MDRMW When you assign a number to a drum type instruction be sure that you do not use that number for any other drum type instruction For example if you configure a Maskable Event Drum Word 1 MDRMW1 do not configu...

Page 79: ...d for holding the status of discrete bits referenced as parameters in a PGTS RLL instruction Because up to 32 PGTS subroutines can be programmed the controller has 32 discrete parameter areas each capable of storing the status for 20 discrete parameters When you use a parameter in the subroutine refer to discrete points as Bn where n the parameter number 1 2 3 4 5 6 15 16 17 18 19 20 Discrete inpu...

Page 80: ...is memory type is called Global Memory G Memory Refer to Appendix I of the processor manual for more information about G Memory VME Memory 575 Only The 575 controller also allows access to physical VME addresses using the VMM Memory or VMS Memory VMM corresponds to VME address modifier 39 standard non privileged data access VMS corresponds to VME address modifier 29 short non privileged access The...

Page 81: ... the values Refer to the I O module manual for the number of bit and or word I O points required for each module Valid entries for modules with more than 8 points are even numbers from 2 through 28 32 and 64 Locations assigned to an I O module cannot cross I O channel boundaries See your controller manual for details 505 SoftShop does not flag duplicate I O points Accessing I O Configuration 1 Sel...

Page 82: ...igure 5 6 Figure 5 6 5 Enter the beginning I O address 6 Enter the number of I O points X Y WX or WY required for the type of module being configured 7 If a special function module is to be configured click the Yes Special Function radio button 8 Click on the OK button of the Edit I O Slot dialog box 9 The Edit I O Base dialog box becomes the active dialog box Figure 5 6 10 To accept the changes c...

Page 83: ...r delete slaves or modules or modify bus parameters later you must use COM PROFIBUS to modify the configuration file and adjust the necessary information before exporting and merging it into 505 SoftShop again The second program you use is 505 SoftShop 505 SoftShop allows you to perform the following tasks Use the Merge function to import information from the binary file that you created with COM ...

Page 84: ...M PROFIBUS is overwritten Save the file Optional Allows you to add or delete slaves from your configuration later without re entering all data into COM PROFIBUS Export binary file to 505 SoftShop Required For convenience you can select the disk drive and directory where your 505 SoftShop program is stored and assign the binary file the same name as the program where you intend to use the I O An ex...

Page 85: ...signed to them 4 Online Yes if in operate mode and PROFIBUS slave is connected No if in stop mode or PROFIBUS slave is not connected 5 Status Match if the configuration and the I O assignments match the online controller or the offline program Match if the configuration matches the online controller or the offline program and the I O assignments do not match online controller or the offline progra...

Page 86: ...Slave s You can only Write Slave s with a Match or Match under status in the slave status window Enable Disable Profibus Slaves To Enable or Disable a PROFIBUS slave status you must use the Enable Slave s or Disable Slave s button on the Profibus DP I O dialog box Deleting or Adding Slaves To add or delete slaves or modules you must return to COM PROFIBUS modify your configuration file as appropri...

Page 87: ...te must be on a 16 bit boundary The Y WY button toggles the image register type for the selected module between discrete and word outputs To ensure that discrete are toggled to words the discrete must be on a 16 bit boundary The Unify button moves all modules for the selected slave into the first module Unification is only allowed if all modules are either discrete or words Only the first address ...

Page 88: ...odule number and then clicking on the Edit I O Addr button 2 Enter an I O address that is a multiple of n 8 1 3 After entering the I O address click on the Accept button then the Close 4 Click on the Write All button to send the configuration for all the slaves to the online controller or the offline program Or click the Write Slave s button to send the selected slave number configuration to the o...

Page 89: ...menu Result The Profibus Operations dialog box appears Figure 5 9 Figure 5 9 Find Configured I O To find configured I O 1 Select PLC Configuration from the PLC Utilities menu Result The PLC Configuration dialog box appears Figure 5 2 2 Select the Find I O button under I O configuration on the PLC Configuration dialog box Result The Find I O Address dialog box appears Figure 5 10 Figure 5 10 3 Ente...

Page 90: ...to Appendix A for a concise list of keyboard supported commands Online Versus Offline Programming Before you begin programming it is important that you understand the differences between programming online and programming offline While programming online you are connected to a PLC which may be running Changing logic in one network may affect logic in another network These changes may create unexpe...

Page 91: ...her windows Insert a New Network In the active logic program window you can insert a new network using the mouse or the keyboard To insert a new network using the mouse 1 Click new network button on the Toolbar Notice that the new network attaches to the pointer 2 Bring the pointer into the active logic window Position the pointer where you want the new network 3 Click the left mouse button The ne...

Page 92: ...into your ladder logic program efficiently using either the Instruction Bar mouse or the Menu Bar mouse and or keyboard See Chapter 6 of the 545 555 575 Programming Reference Manual Order Number PPXSS505 8101 1 for all RLL instructions To enter instructions using the mouse and Instruction Bar 1 Move the pointer to the Instruction bar If the insruction or Item bar is 2 Click with the left mouse but...

Page 93: ...nic pick list will be displayed Pick the mnemonic you desire by double clicking on the mnemonic or arrow to the mnemonic and press ENTER The mnemonic pick list will also display if an illegal mnemonic is entered Figure 6 1 3 The following is a list of all 505 ladder instruction mnemonics Mnemonic Instruction ABS Take absolute value of a word ADD Addition BITC Clears a specified bit BITP Examines s...

Page 94: ...am segments during scan LDA Copies the logical address of a memory location into a memory location LDC Copies the logical address of a memory location into a memory location LEQ Less than or equal to LESS Less than LOCK Used together with UNLOCK and provide a mechanism whereby multiple applications in the 575 system can coordinate access to shared resources MCAT Motor control alarm timer MCR Maste...

Page 95: ... closed coil OUT Coil OUTNC Coil Normally Closed PGTS Calls an RLL subroutine and passes parameters to it PGTSZ Calls an RLL subroutine and passes parameters to it Discrete parameters indicated as outputs are cleared when the subroutine is not executed RET RSD Transfers a PROFIBUS DP slave s current diagnostic to user memory RST Reset coil bit RSTI Immediate reset of a coil bit SBR Designates the ...

Page 96: ...sponding bits in two tables TSET Sets time in real time clock TTOW Copies a word from a table TXOR Does an EXCLUSIVE OR on the corresponding bits in two tables UDC Counts events up or down UNLCK Used together with LOCK and provide a mechanism whereby multiple applications in the 575 system can coordinate access to shared resources WAND Does logical bit by bit AND on two words WOR Does logical bit ...

Page 97: ... if cursor is in an output column X CONTACTS Valid if cursor is in an input column Y CONTACTS Valid if cursor is in an input column C CONTACTS Valid if cursor is in an input column WX WY CONTACTS Valid if cursor is in an input column V CONTACTS Valid if cursor is in an input column K CONTACTS Valid if cursor is in an input column G CONTACTS Valid if cursor is in an input column W CONTACTS Valid if...

Page 98: ... HOME Moves to column 1 row 1 of current rung H Draws horizontal line Key Comment N Deletes horizontal line I Immediate contact and coil INS Insert Mode Less than Relational Contact Not Equal Relational Contact O Create edit output coil PgUp Page Up PgDn Page Down Ctrl L Edits synonym descriptor U UNFORCE Ctrl U Usage Table J Creates Down line U Creates Up line M Deletes vertical line ...

Page 99: ...ructions To access the Special Function Program Editor 1 Click Special Function Program Editor from the View menu Alt V F The Special Function Program dialog box appears see Figure 6 1a Figure 6 1a 2 Select the Special Function Program that you want to enter Program 1 Program 2 etc by using the left mouse button or the Tab and Arrow keys on the keyboard Note If a Header has already been programmed...

Page 100: ...he LABEL is located This represents a 1 000x improvement A compiled SF program or subroutine can be executed in line to the user RLL program This means that when the enable input to the SFPGM or SFSUB box instruction is on the program or subroutine is executed immediately and its result is available for use in the next rung of the current RLL scan 10 There are several reasons to choose interpreted...

Page 101: ...Click new row on the Toolbar Notice that the new row attaches to the pointer 2 Place the pointer in the position where you want the new row to appear 3 Click the left mouse button and the new row is inserted 4 Repeat Step 3 to insert additional rows 5 Remove the new row from the pointer by clicking the arrow on the Instruction Bar To insert a new row using the keyboard 1 Press the Insert key to tu...

Page 102: ...and the Tab key to move between the boxes 4 Highlight desired instruction and press Enter to insert the instruction 5 Repeat Steps 1 through 5 for each instruction you want to enter Editing Logic 505 SoftShop uses a number of time saving editing features to help you complete your programming tasks These include Cut Copy Paste Paste with Rewire Insert Clear Delete These editing features are accesse...

Page 103: ... following Click on the toolbar Select Paste from the Edit menu Press Ctrl V 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 2 click paste and the clipboard contents become Network 2 The previous Network 2 becomes Network 3 Paste With Rewire Paste With Rewire allows you to past the contents of ...

Page 104: ...d dragging the pointer over the desired logic 2 Select Clear from the Edit menu or press the Delete key 3 Click the items you want to clear 4 Click OK or press Enter and the selected items are cleared Editing or modifying a program online may produce unexpected or hazardous results Delete Use Delete to clear an item and remove the space it occupies To delete 1 Select the item or items you wish to ...

Page 105: ...n the screen 3 After logic is validated and entered and if necessary problems fixed the logic program can be saved or transferred online Finding Logic You can use the Find command on the Edit menu to search for the following functions within the active logic window Find elements in ladder SF programs and SF subroutines with designated elements and identifiers Find a Specific network number network...

Page 106: ...k on the toolbar or select Find from the Edit menu Ctrl F and the Find dialog box appears Figure 6 6 2 In the Search box identify where you want to start the search from either the Beginning of the program or Current position of the cursor 3 In the Address box type the address or tag you wish to find If no address or tag is entered the Find will locate all instruction identified in the Instruction...

Page 107: ... Replace With field For example to replace C1 with C2 simply type these two address numbers in the Find What and Replace With field respectively With this setting all occurrences of address C1 are Changed to address C2 for the selected logic type range 3 Specify the logic type by clicking on the drop down box in the Where field and selecting one of the 5 logic types 4 In the From Rung To Rung fiel...

Page 108: ...egal replacements and the following options are displayed in Figure 6 6c Figure 6 6c Click the Skip button to skip the address and go on to the next item to be replaced Click the Stop button to Cancel the Replace operation and return to the specified logic window Using the Data Window The Data Window menu item opens a new window and allows you to view and change the data values of your program Onc...

Page 109: ... Steps 2 and 3 for each value you want to view After entering a value use Next Address F5 to move down one cell and fill in the next address or tag or Previous Address F6 to move down one cell and fill in the previous address or tag Both Next Address and Previous Address are located in the Data menu or by clicking the right mouse button 7 Select Clear from the Edit menu if you want to clear a row ...

Page 110: ...t location with the next addresses until the end of the window is reached For instance if your current address location is 3000 in the fifth row pressing Fill will enter the addresses starting in row 6 with address 30002 etc 18 Double click the Control Menu box in the upper left corner of the active window to exit the Data Window Customizing the Display The Data Window can be customized to display...

Page 111: ...ingle bit memory location for storing the forced status of control relays If a control relay has been forced the control relay retains that forced status during a power cycle as long as the battery is good 1 2 3 4 5 6 7 8 10 11 9 1 2 3 4 5 6 7 8 10 11 9 Control relay ie C1 C X Force attribute bit ie C1 C X Figure 6 8a You can force an element from either Data Window or Ladder logic editor complete...

Page 112: ...lick 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 2 From the menu select the type of forcing action you would like to do From the Ladder Logic 1 From the Ladder Editor select the element to force 2 While on the element select the Diagnostics menu From the menu select the type of forcing action you would like to do Complete C...

Page 113: ... The Tag and Description of the selected address are displayed on the bottom left of the screen 3 Select the logic item you want to view from the view window Click the Goto button to jump to the first occurrence of the address you have highlighted or you can double click on the item to do the same NOTE If the Cross Reference Table Status is not current the title line gives the current status of th...

Page 114: ...entered and validated will not show in the Cross Reference Table See Validate and Enter Logic in this chapter Figure 6 9 2 The complete address information appears in the Ladder Network Cross Reference Item box NOTE To get a complete Cross Reference list including tags and descriptions use the Cross Reference feature in Print Refer to Print in Chapter 3 for more information 3 Scroll through the li...

Page 115: ...eference Table If the Cross Reference Table is not current a warning will appear to build the table NOTE Only validated and entered logic is considered part of the current program Thus logic not entered and validated will not show in the Address Usage Listing See Validate and Enter Logic in this chapter Figure 6 09b 2 Type in the address or tag in the corresponding Address box The starting address...

Page 116: ...ff line ladder scan for a specific address The search address is based on the cursor position The Trace scans for address instances based on the type of instruction the address is found If the cursor is located on an input instruction then the corresponding address for the output instruction is searched for If the cursor is located on an output instruction then the corresponding address for the in...

Page 117: ... global memory box 505 SoftShop also checks to see if any TMR TMRF CTR UDC MCAT or DCAT has the same nnnn designator NOTE Unique checks only for occurrences of the designated element in L memory It does not search for an element in Loops Analog Alarms SFPGMs SFSUBs Intelligent I O or Operator Interface devices To access the Unique function Select an item in the logic window to search on Then selec...

Page 118: ...name in the Compare File box 2 Next enter the Maximum mismatches per category Maximum mismatches per category allows you to abort the compare process if the number of mismatches exceeds the number entered in the Maximum mismatches per category selection box 3 Now click on the check boxes that correspond to the items you want to compare For each of the V or K memory address you can also choose the ...

Page 119: ...E The display highlights any mismatches between the File and controller or offline program Figure 6 09e Displaying Processor Faults You can display the Faults of your processor while online To display the processor faults 1 Click Faults from the Diagnostics menu Alt D A 2 The online Faults are displayed see Figures 6 10f ...

Page 120: ...ou can display the status of your processor while online or offline To display the processor status 3 Click PLC Status from the PLC Utilities menu Alt U P 4 Either the PLC Status for online or offline is displayed see Figures 6 10 and 6 11 5 Click Close to close the PLC Status box and return to the active logic program ...

Page 121: ...nd modify PLC operations while online To access PLC Operations 1 Click PLC Operations from the PLC Utilities menu Alt U O The PLC Operations dialog box appears Figure 6 12 2 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 ...

Page 122: ...116 6 Programming Simatic 505 SoftShop Figure 6 12 ...

Page 123: ...IC module the Servo Axis module or the High Speed Pulse Input module can update outputs even when the controller is in PROGRAM mode if your code permits If an intelligent I O module writes directly to an image register point its write takes precedence even when PGMFRZ PGMOFF is in effect This could cause unexpected control action resulting in death or serious injury to personnel and or damage to e...

Page 124: ...ion select the LOCKED or UNLOCKED field Unlock frees the loop card for selection of RUN operating mode independent of the ladder CPU Lock locks the loop card to follow the operating mode selected for ladders To select LOOP LOCK UNLOCK mode 1 Click on the Lock Unlock button on the PLC Operations dialog box The following message appears Lock or Unlock loop processor from ladder operation mode Select...

Page 125: ...e Port Lockout on the Port Lockout dialog box Figure 6 12a NOTE Programming devices connected through the same Dual Communication Port DCP cannot lock each other out 2 When you receive the message Lock or Unlock communication ports Select either YES or NO System Part Number Use System Part Number to read the software part number and the release number of the cards installed in your controller To e...

Page 126: ...tional errors use the scroll bar on the dialog box If no errors are detected Syntax Check reports No errors detected on the bottom line If errors are detected they will be listed within the dialog box The logic errors can be viewed by selecting the error and pressing the go to error button on the dialog box Ladder Status Online You can display the values of your addressees in the PLC by using Stat...

Page 127: ...ingle Scan Setup menu dialog box is displayed Figure 6 12dd If your programmable controller supports the Single Scan pop up task box for more than one task you can select which tasks to execute during the single scan Figure 6 12dd 3 Click in the task number radial box to include a task in the scan followed by clicking OK to saves the task box selection 4 Click Single Scan on the Diagnostics menu A...

Page 128: ...or SF modules per scan 4 Click on the Write button to enter the numbers 5 Click Close to exit the Task Codes Per Scan and return to the active logic program Figure 6 12c Diagnostics on Base Diagnostics on Base is used to run diagnostics on one or all the I O bases To invoke the operation 1 Click Diagnostics on Base from the PLC Utilities menu Alt U D 2 The Diagnostics on Base dialog box is display...

Page 129: ... is used to select the status of a hot backup unit Hot Backup is only valid for the 565 controller To execute the function 1 Click Hot Backup from the PLC Utilities menu Alt U H 2 The Hot Backup dialog box is displayed with the status of the Hot Backup 3 There are three status modes to select from while in the Hot Backup Standby to Offline Puts the standby unit in PROGRAM mode Standby to Online Pu...

Page 130: ...itial password Disabled Password The controller program is not protected The user may change or delete the password Any authorized user may enable the password Enabled Password The controller program is protected according to the protection level assigned to the password see below If a protected operation is attempted from any communications port the operation is denied and an error response is gi...

Page 131: ...Mode 6 If both the controller and the selected program on disk have passwords and you enter a password for both at the online prompt you will be able to use the Save and the Open functions The passwords for both the selected program on disk and for the controller are retained You will also have full access to the selected program on disk and to the controller Mode 7 If both the controller and the ...

Page 132: ... access to controller and to selected program on disk is allowed 5 Yes No User does not give a password No Controller is password protected No Controller is password protected Partial to full access to controller is allowed depending on access level Full access is allowed to selected program on disk 6 Yes Yes User gives disk and controller password Yes Selected program on disk password is retained...

Page 133: ...ssword Full Access Allows you to set the protection level of the controller for full read write access This option is written to the controller when you perform an Open function Full Access does not work without a password Online Password Selection and Access Level The buttons in Figure 6 13 are defined below Close Allows you to return to the ladder display screen Enter Password Allows you to ente...

Page 134: ...ssword If the password you provide is not correct 505 SoftShop does not disable the password protection This function does not work unless you provide a password Figure 6 13 Powering Up Restart the Controller Power Up Restart 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 el...

Page 135: ... To execute a Partial Power Up Restart 1 Click Partial Restart from the PLC Operations dialog box 2 When you receive the message Execute a Partial restart Select either YES or NO 3 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 Complete Restart Use...

Page 136: ... them before going to Step 2 Use the Save Program or Save Program As options in the File menu 2 Click Clear Memory from the PLC Utilities menu Alt U L A A warning message appears stating all program logic data values tags and documentation will be deleted 3 Click Yes to clear all memory If changes to the program were not saved another warning message appears stating that changes to your program we...

Page 137: ...APPLICATIONS displays a listing of the application IDs needed for the current application to complete a process OPTIONAL APPLICATIONS displays a listing of the application IDs that are not required but may be present CPU MODE LOCKED TO displays a listing of the application IDs that must transition to RUN mode at the same time Connecting online displays the current application ID configuration Afte...

Page 138: ... maximum number of characters you can enter for each header is 16K Double click the Ladder Header icon in the active logic program window see Figure 7 1 The Ladder Header dialog box is displayed see Figure 7 2 Type in your header Select OK when you re finished 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 E...

Page 139: ...twork Header Input dialog box is displayed see Figure 7 3 The drop down box paging preference in the top left hand corner of the header input box Controls the page print out of the particular network header and ladder that is selected If Page None is selected there will be no page break between the current network and last network printed Page Odd prints the current selected network on the next od...

Page 140: ...u can enter for each header is 16K Double click the SF Header Input icon in the active logic program window The Network Header Input dialog box is displayed see Figure 7 5 Type in your header Select OK when you re finished Figure 7 4 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 ...

Page 141: ... 6 Figure 7 6 The window is displayed with all of the addresses tags and descriptions in the current program The first column indicates the method of sorting NOTE Only one 1 documentation window can be displayed per program The window also can be sized and moved to another location within the viewing area using the standard window features Customizing the Display The Documentation Window can be cu...

Page 142: ...ption and comment by using one of the following methods 1 From the Documentation menu select New Doc Alt D N 2 From the Pop up menu in the Documentation Window select New Doc 3 Select an address in the Documentation Window press the Enter key Ctrl L or double click on the address NOTE You can also edit documentation in the Data Window by pressing Ctrl L on the description or tag columns The Edit D...

Page 143: ...is displayed You can change the tag description and comment Figure 7 7 Select OK when you re finished Cut Copy Paste and Deleting Documentation Probably the most frequently used editing features are the three interrelated commands Cut Copy and Paste Use these commands to quickly copy documentation to either another location in the same program or another program The list below describes Cut Copy P...

Page 144: ...k on the toolbar or select Copy from the Edit menu and the Copy Range dialog box appears Enter the start and ending address to copy into the Copy Range dialog box from and to locations If tags are to be copied with the address the Include Tags check box must be selected Figure 7 7b 2 Select OK and the selected range of address are copied from the Documentation Window and placed into the clipboard ...

Page 145: ...y using the Find option To find an item select one of the following 1 From the Edit menu select Find Alt E F 2 From the Pop up menu select Find 3 Click on the toolbar After you select Find the window in Figure 7 8 is displayed Figure 7 8 Enter the address tag or description you wish to find in the Find What field In the Search field select whether you are searching for an address tags or descripti...

Page 146: ...etup Alt O P Then select the Logic tab dialog Select Ladder from the Options for drop down window Then check the Assign Tag in the selection check box Assign Addresses The Assign Addresses option allows you to assign addresses descriptions and comments to tags as you use them in your ladder program For example if you enter the tag NEW_TAG and NEW_TAG doesn t exist the Edit Documentation window in ...

Page 147: ...l style Where a temporary DATABASE file is not shared and all edits are buffered until the file is saved If the file is not saved then any edits are lost Upon saving the temporary DATABASE file is copied to the same destination as the logic file A shared file works differently This file can be shared Opened more then once by different programs Edits are not buffered but are immediately saved Upon ...

Page 148: ...l analog alarm parameters are stored in Special Memory S Memory when you program the analog alarm The size of S Memory is user configurable Analog Alarm Editor The Analog Alarm Editor gives you the ability to display access and or modify analog alarms To access the Analog Alarm Editor 1 Click Alarm from the View menu Alt V A 2 The Analog Alarm Directory dialog box appears see Figure 8 1 3 The dial...

Page 149: ...ton and press Enter The following dialog box appears Figure 8 2 Figure 8 2 To delete Analog Alarm 1 To delete an Analog Alarm Click Alarm from the View menu Alt V A The Analog Alarm Directory dialog box appears see Figure 6 10 The dialog box shows the Loop Mode Alarm number 1 512 depending on the processor type Alarm Title and Enable Disable state 2 Select the Analog Alarm number that you want to ...

Page 150: ...igure 8 1 The dialog box shows the Loop Mode Alarm number 1 512 depending on the processor type Alarm Title and Enable Disable state 3 Select the Alarm number that you want to Copy by using the left mouse button or the Arrow keys on the keyboard The drag and left mouse button or Shift arrow key can be used to select multiple Alarm numbers Click on the dialog box Copy button to place the selected A...

Page 151: ...h specific Analog Alarm number The title is optional and can be left blank V Flag Address Enter an address C Y V or WY in the ALARM VFLAG ADDRESS field If you select NONE no data is written from the V Flags in the analog alarm 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 ...

Page 152: ...isable it the controller begins to monitor the programmed variable as soon as you place the controller in Run mode Sample Rate Enter a time in seconds in the SAMPLE RATE field The sample rate determines how often deviation alarm bits and associated math are evaluated Sample rates are programmable in 0 1 second increments with alarms checked at least once every two seconds The sample rate can be an...

Page 153: ... process variable Square Root of Process Variable Select Yes if the input for the process variable is from a device such as an orifice meter that requires a square root calculation to determine the correct value to use Monitor Low Low High High Select Yes to have the controller monitor the Low Low High High Alarm otherwise select No The Low Low High High can be entered as values requiring critical...

Page 154: ... one of the alarm limits Special Function Enter a SF program number in the SF field Select NONE if no SF program is to be called for execution Monitor Deviation To have the controller monitor the deviation alarm limits select Yes in the Monitor Deviation field otherwise select No Deviation Yellow Alarm Enter values in engineering units for the setpoint deviation limits The deviation alarm bands ar...

Page 155: ...hange alarm Monitor Broken Transmitter Alarm To have the controller monitor the Broken Transmitter Alarm select Yes in the Monitor Broken Transmitter Alarm field otherwise select No If you program the controller to monitor for the broken transmitter condition an alarm occurs if the raw process variable is outside the valid range designated for the Process Variable Valid ranges are Bipolar 32000 to...

Page 156: ...point referenced to the setpoint SP Orange deviation alarm point referenced to the SP Rate of change alarm for a PV changing too rapidly Broken transmitter for a PV outside the designated valid range w Yellow w Orange Green w Orange w Yellow Hot water input Product input Product output TIC 601 w Broken transmitter w Rate of change Miscellaneous alarms Figure 9 1 Example of Loop Control The high hi...

Page 157: ...lay access and or modify PID Loops To access the PID Loop Editor 1 Click PID Loop from the View menu Alt V P 2 The PID Loop Directory dialog box appears Figure 9 1a 3 The dialog box shows the Loop Mode Loop number 1 512 depending on the processor type Loop Title and Enable Disable state Figure 9 1a 4 Select the PID Loop number that you want to enter or edit by using the left mouse button or the Ar...

Page 158: ...m computes the change in the device position based on the error V Flag Address Enter an address C Y V or WY in the LOOP VFLAG ADDRESS field If you select NONE no data is written from the V Flags in the PID Loop You can still control the loop mode by using a SF program to change the control flag bits in the Loop V Flag The V Flags contains the operational data for a PID Loop The V Flags corresponds...

Page 159: ...ry two seconds The sample rate can be any floating point number between 0 1 and 1 6772 x 106 seconds Process Variable Address Enter an address V WX WY or select NONE in the PROCESS VARIABLE ADDRESS field A process variable must be specified for each PID Loop The process variable can be taken from the following A word input or output module The programming table uses a WX or WY address A location i...

Page 160: ...the value of the output You can select NONE in situations such as cascaded loops in which the outer loop does not require an output address Output is Bipolar Select YES or NO in the OUTPUT IS BIPOLAR field If you Select Yes the output range is 32000 to 32000 20 Offset on Output Select YES or NO in the 20 OFFSET ON OUTPUT field If you Select No for both fields no 20 Offset and output is not bipolar...

Page 161: ...range of Process Variable Remote Setpoint Select NONE if there is no remote setpoint Otherwise enter an address V K WX WY or LMN in the REMOTE SETPOINT field Clamp Setpoint Low High Enter values for the setpoint limits in the CLAMP SETPOINT LIMITS field If there are no limits enter zeroes in the High and Low fields Loop Gain Enter the value for the tuning constant LOOP GAIN in this field See Note ...

Page 162: ...electing a derivative gain limiting coefficient Using this coefficient enables the process variable to be filtered with a time constant that is proportional to the derivative time The PID equations with the derivative gain limiting coefficient follow Special Calculation On Enter a PROCESS VARIABLE SETPOINT or OUTPUT in the Special Calculation On field Select NONE if no SF program is to be called f...

Page 163: ...BLE results in a positive change in the output from the controller The value of the output signal increases as the value of the error increases Monitor Deviation To have the controller monitor the deviation Loop limits select Yes in the Monitor Deviation field otherwise select No Deviation Yellow Alarm Enter values in engineering units for the setpoint deviation limits The deviation Alarm bands ar...

Page 164: ...set 6400 to 32000 R S Programmed The RAMP SOAK PROGRAMMED field is a read only field and contains an X YES or blank NO to indicate the creation of a ramp soak program for the loop To create a ramp soak profile for a loop exit the PID Loop Edit window and select the Ramp Soak button on the PID Loop Directory dialog box Delete PID Loop 1 To Delete a PID Loop Click on PID Loop from the View menu or A...

Page 165: ...ntering a deadband value This form of soaking ensures that the process variable is within a specified deadband around the setpoint for a specified period of time The end step terminates a ramp soak profile When the program reaches an end step the loop remains in automatic mode and holds the setpoint constant You can program a status bit for each step of the ramp soak This bit is set to 1 when the ...

Page 166: ...ress into this field the controller writes the ramp soak data from LRSF to this address You can use TISOFT or APT or design your RLL program to write to the first three bits at the specified address The controller reads these bits and then writes their status over the corresponding bits in LRSF This enables you to change the ramp soak operation by setting clearing the three bits as needed The cont...

Page 167: ... delete or insert the selected PID Loop number Ramp Soak click on the dialog box Ramp Soak button or use the keyboard to Tab to the Ramp Soak button and press Enter or Alt R The following dialog box appears Figure 9 4a Figure 9 4a The first field in the table contains the ramp soak flag address An entry in this field causes ramp soak data to be written from the ramp soak variable LRSF to another a...

Page 168: ...T button or use the keyboard to Tab to the EDIT button and press Enter or Alt E The following dialog box appears Figure 9 5 Figure 9 5 3 Select Ramp Soak or End from the Mode field The RAMP step changes the loop setpoint you can enter the setpoint in the Setpoint field linearly from its current value to a new value at a specified rate of change you can enter the rate of change in the Ramp Rate fie...

Page 169: ...nfiguration consists of 33 parameters for each loop which are either value parameters or variable parameters These parameters allow you to automate loop tuning as desired For example you can choose whether or not to automatically load the new tuning parameters directly into the referenced loop NOTE SmarTune can only be used for position or temperature loops It is not applicable to velocity loops T...

Page 170: ... should not be used if a process might experience harmful effects as a result of arbitrary Mn assignment During a tuning session Mn values are assigned in such a way as to determine the frequency response of a process The tuning process may result in process product that does not meet required standards This product may need to be purged before and or after a tuning session Ensure that your proces...

Page 171: ...ID output The proportional gain value determines the proportional band A typical proportional band might be around 30 F for a given machinery temperature control as shown in Figure 9 7 For example with a setpoint of 300 F a proportional band of 30 F would equate to the region between 270 F and 330 F where the controller would be in the proportional band Outside of this region on either side is the...

Page 172: ... ineffective The Derivative Component The Derivative term of the PID expression provides a mathematical means for limiting the rate of change of the process variable As the rate of change becomes larger the derivative term reduces the output resulting in the reduction of the rate of change of the process variable The Derivative gain defines the magnitude of the output reduction as a function of th...

Page 173: ... and SmarTune If only Start Variable is specified no program coupling is needed a session begins when Start Variable becomes true and ends with a loop changing back to its previous mode and SP Since coupling is done with variables any program type may be used to monitor and control SmarTune relay ladder logic SFPGM or SFSUB Table 9 3 lists the variable parameters used by SmarTune The following par...

Page 174: ...rther guidance SmarTune Restart If this discrete variable is true then SmarTune is restarted completely SmarTune will act as if a run program run transition occurred If SmarTune Restart is specified in more than one configuration all are tested for true and acted upon Status Variable This word variable reports on the current state of a session Three bits are used in the word to allow easy use by a...

Page 175: ...ld be configured Table 9 4 lists the loop tuning errors written to the Status Variable word Table 9 4 Status Code Bit Values q p o n m l k j i h g f w e c r r reserved always0 c complete operationiscomplete e error error conditiondetected w warning warningconditiondetected f q meaningsdependent onc e wbits x irrelevant for thiscondition rcew fghi jklm nopq Description 0000 xxxx xxxx xxxx SmarTune ...

Page 176: ...h error s 0110 0000 0000 0000 Unanticipated error Table 9 4 Status Code Bit Values continued rcew fghi jklm nopq Description 0110 xxxx xxxx 0001 PIN mismatch 0110 xxxx xxxx 0010 Loop would not go to Manual Mode 0110 xxxx xxxx 0011 Loop not completely under SmarTune control 0110 xxxx xxxx 0100 SmarTune timeout Maximum time exceeded 0110 xxxx xxxx 0101 Not enough free memory 0110 xxxx xxxx 0110 Out ...

Page 177: ... Noise Band 0 005 of PV range PV range engineering units Step Change 0 07 of PV range PV range engineering units Wait Time 0 5 minutes same as Max Time PIN 0 PIN not required 0 to 32767 Automatic Download TRUE TRUE FALSE Calculate Derivative FALSE TRUE FALSE Safe Output use Previous Output Previous Output 0 to 32000 High Stop 0 8 of PV range PV range engineering units Low Stop 0 2 of PV range PV r...

Page 178: ...grees then Mn would be changed by about 2667 5 60 32000 Due to round off error the actual value might be slightly different This example is based on a Mn span of 0 to 32000 If a 20 offset on output is selected for a loop a Mn change of about 2133 Mn span of 25600 would be accomplished See Table 9 2 for possible warnings and errors associated with Step Change Wait Time The SmarTune sample algorithm...

Page 179: ...figurations a default will be used 2 milliseconds Otherwise in each category the largest value specified will be used Activation Time Slice controls how responsive SmarTune is to tuning session requests Increase this value if SmarTune is taking an excessive amount of time to start a tuning session Remember that as this value is increased PLC scan time will increase Calculation Time Slice determine...

Page 180: ...log box shows the Loop Mode Loop number 1 64 Loop Title and Enable Disable state 2 Select the PID Loop number that you want to document by using the left mouse button or the Arrow keys on the keyboard Click on the dialog box 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 ...

Page 181: ...ata is logged based on a specific time frame or used defined trigger See pages 182 to 201 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 di...

Page 182: ...et 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 1 Launch FTLogger 2 Click on the Toolbar or select New Program from the File menu Figure 1 3 Enter a unique name up to 128 characters for the new Logger Window spreadsheet in the Name field ...

Page 183: ...ged remain in the server 7 Click the Setup button Result The Log Window Setup screen appears Figure 3 Note Selecting OK on the New dialog box without configuring the Log Window Setup will set values to the factory defaults Figure 3 Log Times Log Times allows you to set when the log window starts and stops logging data within the window Start Logging Immediately Data is logged to the mdb logfile as...

Page 184: ... days Options are For for consecutive days or Every for incremental days Selected Log Times Enable and disable each log time by clicking the check box next to the log description The FTLogger defaults to logging data immediately after addresses are entered into the log window and continues until the log window is closed Add When a log time is configured click Add to save the log time and display i...

Page 185: ...e and selected The Set Event screen appears Figure 5 Figure 5 Event Address Device Name Displays the device name Address Tag Displays the event address Tags Displays addresses and tags Click an item and the corresponding address tag appears in the Address Tag edit box Event Range Represents an expression involving the event address The addresses in a log window are updated as long as the expressio...

Page 186: ...s value including format or status has changed NOTE When this box is not checked the addresses are logged every time they are read from the server Go offline when idle Allows the devices in the corresponding log window to be offline when no log times are active When offline with a device the port is only closed when no other log windows or clients are using the ports for their own data Display Fig...

Page 187: ...r different formats The default is format 1 month day year each represented by 2 digits month day year each represented by 2 digits year month day The year is displayed in 4 digits while the month and day are displayed in 2 digits day month year The day and year are displayed in 2 digits while the month is displayed as a 3 character abbreviation month day year The month is completely spelled out t...

Page 188: ... and a log window is opened One or more devices must be configured for server name before any addresses tags can be entered into the active log window This message appears when no devices are attached to the server and a new log window is opened Configured Devices Lists the configured devices for all the servers If a new configuration file is selected no devices are available Configuration File Ch...

Page 189: ...w 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 Modify the new file or path by clicking the Browse button The Select a New Configuration File screen appears Figure 10 Enter a file name or select a name using the drop down arrow in the Look in field ...

Page 190: ...nclude at least four fields address tag descrip and comment in order If these fields are not found a documentation mapping dialog appears to map user fields to FasTrak fields described above A tag is synonymous with a Workshop symbol and a description is synonymous with a Workshop label Every device configured must have a corresponding documentation file Adding Devices 1 To add a device click Add ...

Page 191: ...irst running server alphabetically appears in the Server field Modification of the device name automatically updates the doc filename so that they mirror one another The Re read file every minutes field is not available at this time 3 Click the Comm Setup button to initialize vendor specific device settings as shown for Siemens 505 Figure 12 ...

Page 192: ...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 Figure 13 ...

Page 193: ...2 Description 96 Failure to provide a valid mapping prevents the device from being added Modifying Devices 1 To modify a device click Modify Device from the Device Source Configuration screen Result The Modify Device screen appears Figure 14 Figure 14 2 Enter information in the Device Name and Documentation Setup fields If the device is offline you can change the Communications Type field 3 Click ...

Page 194: ...s can simultaneously modify documentation for the same device so regular updates can be scheduled to get the latest documentation within the database One documentation file is available for each device Documentation can be imported from comma or tab separated text files into an existing documentation database file by selecting File Import Documentation from the menu The Import Documentation window...

Page 195: ...n the columns Move the cursor to the right or left to increase or decrease the column Double click between the columns This action adjusts the left column to display the largest string within this column When no strings are displayed in the column no adjustment is made Row Each row represents a single address from a single device that is configured in the server from which the log window is connec...

Page 196: ...ase files containing addresses and their corresponding tags Press a key or click in this column to display a vertically scrolling multi line edit box containing the current description if one exists Approximately six rows can be viewed at one time The edit box accepts carriage returns Press the Tab key or click outside the column to enter the description into the database Delete a description by c...

Page 197: ...efault DATA Menu Functionality Format Selecting a format will display and log the value that the cursor is on as well as any highlighted values in that format Size Allows you to select a 16 bit or 32 bit format size Next Previous Based on the vender address get the next device register address Based on the vender address get the Previous device register address Fill This will fill the log window w...

Page 198: ...art Address This will now indicate the address at the new start row Start Row This will now indicate the first empty row after the last address in the fill Fill Example Below is an example of how you might set up the fill dialog Start Address 400001 Start Row 5 End Address 400003 Increment 1 After Apply is selected and the log window is modified the Fill dialog will have the following values Start...

Page 199: ...window will read At date and time of log data failed to log error message describing reason of failure Each message type can be displayed in a different A floating menu brought on by a right mouse button click while the cursor is over this window can be utilized to allow a user to clear or hide the window Figure 18 Log Status Window Creation This window will be created upon startup but can be hidd...

Page 200: ...log as shown above If you ve selected an existing file and click on OK the software will ask you if you would like to append the new messages to this file or clear the file and begin from scratch Writing status messages to a file allows more flexibility in two ways First a file can hold more entries than a window Secondly status messages from one log session can be appended to messages from a prev...

Page 201: ...outs and device errors The Error Responses group box lists all the possible responses for the item that is currently highlighted in the Error Types list box If no items are checked in the group box no action will be taken when the corresponding error situation arises The text in bottom right corner gives a more detailed description of the error response for the error type that is highlighted ...

Page 202: ...is 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 Creating a Trend Window To create a new Trend Window First launch FTTrender Click on the Toolbar or select New Program from the File menu Result A default trend widow appears figure 1 Figure 1 ...

Page 203: ...ted with no devices attached to the server the dialog below will be displayed If the dialog was prompted by a new trend window the text in the box at the top will read One or more devices must be configured for server name before any addresses tags can be entered into the active trend window Figure 2 All the configured devices for all the servers will be listed here sorted by device name The name ...

Page 204: ...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 You can modify the new file and or path by editing this manually or select a new path and or file by clicking on the Browse button to bring up common file dialog displayed below Figure 4 ...

Page 205: ... displayed Figure 5 The first running server alphabetically will be displayed in the Server combo box along with any other running servers Modification of the device name will automatically update the doc filename so that they mirror one another You can select a different doc path and or file by manually editing this string or by selecting a new or existing doc file by clicking on the button to br...

Page 206: ...ere 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 This dialog is shown below Figure 7 For the mapping to be successful you must map to all four fields from one of the tables listed in the Table Names list box The fields that are mapped must be of type Text for address tag...

Page 207: ...he Device Source Configuration dialog and the dialog below will be displayed Figure 8 In this dialog only the device name and documentation setup info can be modified If no trend windows are online with this device then the communication settings can also be modified If the device is online then the communication settings can be viewed but cannot be modified by selecting the Comm Setup button Unli...

Page 208: ...r 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 1 Select Graph from the Setup menu Result The Graph Settings tab dialog box appears Figure 10 Figure 10 There are six pages belonging to this property sheet ...

Page 209: ...er fonts of the graph To change the font of text or numbers 1 Select the Change button on the Font tab 2 On the Font dialog click a font name in the Font box The Font color and background can also be changed here X Axis Tab X Axis Tab is where settings for the X axis are set figure 11 Figure 11 Time Settings group box sets the time range and format for the x axis Range sets the X axis time interva...

Page 210: ...to the right third day up and to the right etc Color1 represents the up day and Color2 the down day Y Axis Tab Y axis Tab is where settings for the Y axis are set figure 12 Figure 12 There can be up to 16 different y axis per trend graph To add additional y axis charts select the Add button and enter an y axis title the high and low ranges of the data to chart figure 13 The high value must be grea...

Page 211: ...w Address the current address being read Show Device Name the name of the device which communication is established Show Tag if FTTrend is linked with a database with tags documentation then the adders tag can be displayed Show Description if FTTrend is linked with a database with description documentation then the address description can be displayed In order for the above Keys to be displayed th...

Page 212: ...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 The settings under Graph Settings Database tab Figure 15 is where the database options are selected Figure 15 ...

Page 213: ...stablished files Deleting data that will not be reviewed can control the amount of data stored in the database This is accomplished by selecting a time frame of data to keep and deleting the unwanted portion To delete the unwanted data select Delete Every radio button Then enter the time frame to delete the past data Defining a Data Point to Trend To create a data point to trend Select Data from u...

Page 214: ...ta point must now be associated with an Y Axis chart see Y Axis Tab for chart setup Select one of the pre setup names Under the Y Axis drop down box Next enter the sample rate Sample Rate is how often data is to be read from the device NOTE Reading large amounts of data may not retrieve data in the desired sample rate The data format unsigned 16 signed 16 unsigned 32 signed 32 and floating point a...

Page 215: ...names Under the Y Axis drop down box Next enter the sample rate Sample Rate is how often data is to be read from the device Time Offset allows you to offset the timed data in the database to lineup with the real time Example If real time data starts logging at 1 p m and logged data started at 11 00 a m to synchronize the time enter 2 in the Hours selection box Online Offline After a device name an...

Page 216: ... middle time period Effectively showing more detail but not as much plotted graph Zoom Out each time Zoom Out is selected it doubles the displayed time starting from the middle time period Effectively showing less detail but more graph Reset Zoom returns zoom to factory setting Toolbar items are also provided for all three features Cut Copy Paste and Undo Cut Copy Paste and Undo can be performed o...

Reviews: