Академический Документы
Профессиональный Документы
Культура Документы
Program Development
CONTROL MICROSYSTEMS
SCADA products... for the distance
Trademarks
TeleSAFE, TelePACE, SmartWIRE, SCADAPack, TeleSAFE Micro16 and TeleBUS are registered trademarks of Control Microsystems Inc. All other product names are copyright and registered trademarks or trade names of their respective owners. Material used in the User and Reference manual section titled SCADAServer OLE Automation Reference is distributed under license from the OPC Foundation.
Table of Contents
TABLE OF CONTENTS ...........................................................................................................2 TELEPACE PROGRAM DEVELOPMENT ..............................................................................3 Configuration of the TelePACE Program ............................................................................3 PC Communication Settings ..........................................................................................3 Options ...........................................................................................................................3 Initializing the Controller ......................................................................................................4 Define Register Assignment ................................................................................................4 Create Ladder Logic Program .............................................................................................5 Inserting Elements..........................................................................................................5 Inserting Networks..........................................................................................................5 Editing Elements ............................................................................................................5 Deleting Elements ..........................................................................................................5 Selecting Elements.........................................................................................................5 Setting Outputs On Stop......................................................................................................6 Controller Serial Port Settings .............................................................................................6 Write program to controller..................................................................................................6 Monitor Program On Line ....................................................................................................7 Contact Monitoring .........................................................................................................7 Edit Program On Line ..........................................................................................................7 Force Registers ...................................................................................................................7 Preventing Unauthorized Changes......................................................................................7
PC Communication Settings
Configure TelePACE communications to satisfy the requirements of the communication media between the TelePACE program and the target controller. Refer to the PC Communication Settings in the Communication menu section of the TelePACE Program Reference. To optimize performance, minimize the length of messages on com3 and com4. Examples of recommended uses for com3 and com4 are local operator terminals, and programming and diagnostics using the TelePACE program.
Options
Set the Ladder Editor environment options to suit the display resolution and color capability of your computer. From the Options menu select Screen Font to change the Editor screen font and Colors to change the Ladder Logic display color. The format of floating point numbers may be changed using the Floating-Point Settings option. The Tool Bar, Title Bar and the Status Bar may be removed from the Editor Display by selecting or de-selecting the option in the Option menu. Select tag names display options to meet your personal preference. The selections are Single Tag Names, Double Tag Names, Tag and Address and Numeric Address. In most cases it is recommended that the Allow Multiple Coils and Warning Messages be selected.
The Register Assignment Reference section describes the purpose of each module and the register assignment requirements for the module. Register assignments are stored in the user configured Register Assignment and are downloaded with the ladder logic application program.
Inserting Networks
To insert another network, select Insert from the Edit menu. The Insert dialog pops up. Selections are made in this dialog by moving the mouse pointer to the required radio button and clicking the left mouse button. Networks may be inserted before or after the current network.
Editing Elements
To edit an element in the Ladder network, position the cursor on the element to be edited. Double click the left mouse button. The Insert/Edit Network Element dialog box pops up and the element can be edited. Elements can be edited using the right mouse button and selecting Edit Element from the drop down menu. Elements can be edited from the keyboard by positioning the cursor at the desired element the pressing the Insert key.
Deleting Elements
To remove an element from a network, press the Delete key, or select Delete from the Edit menu. The element at the cursor position or selected elements, columns, rows or networks can be selected for deleting. Selected elements can be deleted using the right mouse button and selecting Delete from the drop down menu.
Selecting Elements
To select multiple elements position the cursor on the first element or function of the selection and press the left mouse button. Hold the button down and drag the pointer to the last element or function. The elements selected will be highlighted in the same way as the cursor. Releasing the mouse button does not change the highlighting.
Individual disconnected elements may also be selected and copied to the clipboard. To select disconnected elements position the cursor on the first element. Hold the keyboard shift key down. Using the left mouse button, click on elements to be copied to the clipboard. To select elements or functions with the keyboard move the cursor to the first element or function. Hold the shift key down while using the directional arrow keys to move the cursor to the last element or function. The selected elements are highlighted.
WARNING
Exercise caution when selecting the Continue option. The program will execute with the changes you make, even if the changes are not complete. This may cause undesired operation. Select Stop if you are making multiple changes.
Contact Monitoring
It is often necessary, while in Monitor On line mode, to determine whether a contact would pass power if power were supplied to it. This feature is extremely useful when testing the operation of ladder logic programs. In Monitor On line mode, TelePACE shows the power flow through the network. It also colors contacts that are not powered to show how power would flow if they were. The following diagram shows how power flow information is displayed in Monitor On line mode.
10001 10002
00003
In the above example, normally open contact 10001 and normally closed contact 10002, are not energized. The shaded background, in contact 10002, indicates power would flow through the contact if the input side were powered. The background of a normally open contact is colored when it is energized and its input is not powered. The background of a normally closed contact is colored when it is not energized and its input is not powered. The background is only displayed on contacts if the input side of the contact is not powered. The color used for contact monitoring can be changed using the Colors command.
Force Registers
The Edit/Force Register dialog allows the user to modify registers in the memory of the controller. This dialog is only available in the on-line mode. Data modified by the dialog is stored only in the memory of the controller. It does not form part of the ladder logic program. Refer to the Program Reference section for detailed information on Forcing registers.
The controller will reject commands sent to the unit when it is locked. A controller that is unlocked operates without restriction. Three levels of locks are provided. Locking the programming commands prevents modifying or viewing the program in the controller. Communication protocols can read and write the I/O database. Locking programming and database write a command prevent modifying or viewing the program; and prevents writing to the I/O database. Communication protocols can read data from the I/O database, but cannot modify any data. Locking programming and database commands prevents modifying or viewing the program and prevents reading and writing the I/O database. Communication protocols cannot read or write the I/O database. Refer to the sections Lock Controller, Unlock Controller, Override Controller Lock and Show Lock Status for details on using this feature.