GE Fanuc Automation: Programmable Control Products
GE Fanuc Automation: Programmable Control Products
GE Fanuc Automation: Programmable Control Products
VersaPro™
Programming Software
User's Guide
Warning
Warning notices are used in this publication to emphasize that hazardous
voltages, currents, temperatures, or other conditions that could cause
personal injury exist in this equipment or may be associated with its use.
In situations where inattention could cause either personal injury or
damage to equipment, a Warning notice is used.
Caution
Caution notices are used where equipment might be damaged if care is not
taken.
This document is based on information available at the time of its publication. While efforts have
been made to be accurate, the information contained herein does not purport to cover all details or
variations in hardware or software, nor to provide for every possible contingency in connection
with installation, operation, or maintenance. Features may be described herein which are not
present in all hardware and software systems. GE Fanuc Automation assumes no obligation of
notice to holders of this document with respect to changes subsequently made.
This manual describes the features that are used to program Series 90™-30 PLCs, VersaMax™ PLCs,
VersaMax Nano/Micro PLCs, and Series 90 Micro PLCs using the VersaPro™ programming software,
Version 2.0x.
GFK-1670D iii
Preface
Related Publications
GFK-1742 Motion Mate™ DSM314 for Series 90™-30 PLCs User’s Manual
GFK-1645 VersaMax™ Micro PLCs User’s Manual
GFK-1504 VersaMax™ Modules, Power Supplies and Carriers
GFK-1503 VersaMax™ PLC User's Manual
GFK-1411 Series 90™-30 System Manual
GFK-1065 Series 90™-30 Micro PLC User’s Manual
GFK-0356 Series 90™-30 Programmable Controller Installation Manual
GFK-1541 TCP/IP Ethernet Communications for the Series 90™ PLC User’s Manual
GFK-1873 VersaMax™ Station Manager Manual
GFK-1670D Preface v
Contents
GFK-1670D Contents xi
Contents
1
Welcome to VersaPro
Chapter Contents
• Overview of the VersaPro Programming Software components
• The Workbench Window
• Configuring Workbench Options (setting editor and target hardware)
GFK-1670D 1-1
1
1. It is recommended that you close all applications including virus checking, Internet
Explorer,and CIMPLICITY HMI software that might be running in the background.
You may need to check the task manager to determine if other applications are
running.
2. Put the VersaPro CD in the CD-ROM Drive.
3. Select the CD drive from Windows Explorer.
4. Double click Setup.exe
5. Follow the user prompts to complete the installation. If you have a previous version
of VersaPro installed, the installation tool will first uninstall the previous version.
During this uninstall process, you may be asked whether you would like remove
shared files. It is recommended that you always answer “No to All” to ensure that no
files are deleted that might be needed by another application.
Note: When you upgrade from VersaPro Version 1.0x or VersaPro 1.1x to
1.50, your user screen settings and the directory location for program
files will be lost. You will need to re-establish these settings after
completing the upgrade.
Hardware VersaPro's default hardware platform is the VersaMax PLC. You can
Configuration change the hardware platform to create programs and hardware
configuration for all Series 90-30, VersaMax, and Series 90 Micro PLCs.
Logic Editors There are two editors for creating PLC logic: the Instruction List Editor and
the Ladder Diagram Editor. You can convert programs and blocks from IL to
RLD.
Motion Editors A Motion editor and a Local Logic editor are provided for creating local
logic and Motion programs for the Motion Mate DSM314 motion control
module. A Cam editor has been added to VersaPro 1.5. If the Cam editor is
installed, it can also be used with DSM314 release 2.0.
Syntax Checking VersaPro provides a tool to check that your program is syntactically valid
before storing to the PLC.
PLC VersaPro supports serial and Ethernet connections to the Series 90-30 and
Communications VersaMax PLCs.
Online Online monitoring and control is supported in logic editors and Reference
Monitoring View Tables and Variable View Tables.
Fault System The fault system provides quick connection to view PLC and I/O fault tables
in the PLC.
Information The Information window displays the results of actions performed in
Window VersaPro.
The following abbreviations are used in VersaPro:
Abbreviation Component
IL Instruction List
RLD Relay Ladder Diagram
RVT Reference View Table
VDT Variable Declaration Table
VVT Variable View Table
LL Local Logic
LLVT Local Logic Variable Table
General Options
VersaPro's default hardware configuration is the VersaMax PLC. The default block
language is Ladder Diagram. To change the default configuration so that you can create
programs and hardware configuration for the target devices, or to customize display and
editing options, select the Tools menu and choose Options. The Options dialog box will
appear.
4. From the Category list, select the editor or table whose display options you wish to
configure.
5. The Colors list displays the items you can configure for the selected editor or table.
6. Select the color to be used for each configurable area of the selected editor or table.
The list of configurable areas differs based on the window whose display you are
configuring.
7. Select the font name and font size to be used to display text in the selected editor or
table. Click OK
Note: You cannot change the font used for Column and Row headings.
The selected colors are applied to selected areas of the selected editor or table. The
selected font is applied to all text within the selected editor or table. If the selected editor
or table is visible, it appears with its changed colors, font and size.
Note: Selected fonts are used when you print your program.
To configure Autoconnect
1. Choose Options from the Tools menu, or from the Editor CSM.
2. The Options dialog box appears.
3. Select the Communications tab.
Note: The Wait Time parameter on the Communications tab has no effect on
the operation of Autoconnect. The length of time that VersaPro tries to
connect on startup is determined by the Connect Timeout parameter in
the CCU. To set Connect Timeout, go to the Tools menu, and select
Communications Setup. In the CCU, choose the Global Parameters tab.
VersaPro uses the PLC Folder Nickname (PLC program name) to determine what
folder to open. By default, the Nickname is the last seven characters onf the folder
name. The Nickname may be viewed and set in the Folder Properties dialog box.
(Choose Properties from the Edit menu or the folder root node CSM.)
7. Click OK.
Note: To turn off Autoconnect, select the Communications tab in the Options
dialog and uncheck the Enable Autoconnect button.
3. Choose whether to show or hide the variable name, reference address, and
description. Each of the checked items appears in the LD Editor.
4. Determine whether variable names and descriptions should be displayed in part or full
by selecting Brief or Full for each.
5. The variable description and/or reference address display in the bottom portion of
each cell according to the current cell width. Text that exceeds the available space is
replaced with "..."
Tab Size Sets the number of spaces that is equal to one tab. Valid
values are integers 1 to 64.
Insert Spaces Converts the tabs to the number of spaces specified in
Tab Size.
Keep Tabs Saves the tabs as tab characters.
None No automatic indenting of code.
Default Indent code using the Tab Size. The indent is based on
the scope words.
Use Previous Line Indents the current line the same as the line directly
above it.
3. Select the tab and auto-indent options you want.
4. Click OK.
2
A folder contains all of the components required to program, configure and monitor your
Series 90-30, VersaMax, VersaMax Nano/Micro, and Series 90 Micro PLCs. The
components include Hardware Configuration, Variable Declaration Table, View Tables
and program blocks. You can also insert other windows-components into the folder, like
user documents and spreadsheets.
VersaPro allows you to have only one folder open at a time. However, you can have
multiple instances of VersaPro running on your PC.
Chapter Contents
This chapter describes how to create and manage folders using the VersaPro software.
• Creating a New Folder
• Creating an empty folder
• Creating a folder, based on an existing VersaPro folder
• Creating a new folder – importing logic from a Logicmaster 90 folder
• Creating a new folder – importing logic from Control
• Working with existing folders (opening, saving, closing, deleting)
• Overview of the folder browser view
• Backing up and Restoring folders
• Protecting folders
• Changing folder properties
• Inserting blocks and objects
• Printing folder logic
GFK-1670D 2-1
2
The default language for new folders is Ladder Diagram. The default hardware
configuration is VersaMax. If you want to change the default language or target hardware
for your new folder, select the Tools menu and choose Options. Change the settings in the
Options dialog box.
To create a new, empty folder from the VersaPro workbench:
1. Click the New Folder button , choose New Folder from the File menu, or press
Ctrl+N. The New Folder Wizard will appear.
• In the Folder Name field, type a name for the new folder. A folder name is
required. (See "Rules for Folder Names and Nicknames" on page 2-10.)
• If you want to save the new folder to a location different from the default, click
on the Browse button opposite the Location field.
• Enter a folder description in the Folder Description field. You may enter up to
64 characters. This field is optional.
2. Click the Next button. The next screen of the New Folder Wizard will appear.
3. The Empty Folder (Default) button is automatically selected. Click Finish to create
the new, empty folder.
The Folder Browser appears, displaying the new folder. The _MAIN block will appear in
the default language’s editor.
To create a new folder based on an existing VersaPro folder, launch VersaPro and perform
the following steps:
1. Click the New Folder button , choose New Folder from the File menu, or press
Ctrl+N. The New Folder Wizard will appear.
• In the Folder Name field, type a name for the new folder. A folder name is
required.
• If you want to save the new folder to a location different from the default, click
on the Browse button opposite the Location field.
• Enter a folder description in the Folder Description field. You may enter up to
64 characters. This field is optional.
2. Click the Next button. The next screen of the New Folder Wizard will appear.
3. Click the Based on Existing VersaPro Folder button, then click the Browse button for
the From field and, in the Browse dialog box that appears, locate the VersaPro folder
upon which you wish to base this new folder.
4. Click Finish. The existing folder's structure and contents (blocks, VDT, etc) are
duplicated in the new folder.
The Folder Browser appears, displaying the new folder. The _MAIN block will appear.
You can import Logicmaster folders configured for Series 90-30 or Series 90 Micro PLCs.
To create a new folder based on an existing Logicmaster 90 folder, start VersaPro and
perform the following steps:
1. Click the New Folder button , choose New Folder from the File menu, or press
Ctrl+N. The New Folder Wizard will appear.
• In the Folder Name field, type a name for the new folder. A folder name is
required.
• If you want to save the new folder to a location different from the default, click
on the Browse button opposite the Location field.
• Enter a folder description in the Folder Description field. You may enter up to
64 characters. This field is optional.
2. Click the Next button. The next screen of the New Folder Wizard will appear.
3. Click the Import Logicmaster 90 button, then click the Browse button for the From
field and, in the Browse dialog box that appears, locate the Logicmaster 90 folder
upon which you wish upon which you wish to base this new folder.
4. Click Finish. The content of the Logicmaster 90 folder is imported into the new
folder. The logic is checked for correct syntax.
5. If any syntax errors are found, they are reported in the Information Window, and the
process is aborted. The new folder is not created.
• If no syntax errors are found, the folder is populated with the logic and hardware
configuration from the Logicmaster 90 folder.
You can import VersaMax (.F2K) and Series 90-30 (.F3X) folders from Control.
To create a new folder based on an existing Control folder, launch VersaPro and perform
the following steps:
1. Click the New Folder button , choose New Folder from the File menu, or press
Ctrl+N. The New Folder Wizard will appear.
• In the Folder Name field, type a name for the new folder. A folder name is
required.
• If you want to save the new folder to a location different from the default, click
on the Browse button opposite the Location field.
• Enter a folder description in the Folder Description field. You may enter up to
64 characters. This field is optional.
2. Click the Next button. The next screen of the New Folder Wizard will appear.
3. Click the Import Control button, then click the Browse button of the From field and,
in the Browse dialog box that appears, locate the Control folder upon which you wish
to base this new folder.
Note: Only Control folders with .f3x and .f2k extensions may be imported.
4. If you are importing variables from Control, select the Include SNF checkbox, then
click the Browse button and, in the Browse dialog box that appears, locate the SNF
file that is associated with the Control file to be imported. (This field is optional.)
5. Click Finish. The content of the Control folder is imported into the new folder. The
logic is checked for correct syntax.
• If syntax errors are found, they are reported in the Information Window, and the
process is aborted. The new folder is not created.
• If no syntax errors are found, the folder is populated with the logic and hardware
configuration from the Control folder.
This section describes naming conventions and rules for new folders and folder
nicknames.
The following rules apply to folder names for new VersaPro folders:
• A folder name may be no longer than 103 characters.
• The following characters may not be used in a folder name: . (period), \ (backslash), /
(forward slash), : (colon), * (asterisk), ? (question mark), < (less than), > (greater
than), | (vertical bar), " (quotation mark).
The Folder Nickname (or Program Name) is the name used when storing the folder to the
PLC. Both the Series 90-30 and VersaMax PLCs will recognize a nickname that is 7
characters or less.
• A nickname must be 7 characters or less.
• The first character of a nickname must be a letter.
• The remaining characters may be letters, digits, or the underscore character ("_").
• An underscore may not appear directly after an underscore.
• When a folder is created, the Folder Nickname defaults to the last 7 characters of the
folder name.
When a new empty folder is created, the following files are created at the folder's
specified location. For these examples, the folder's name is newfolder.
• _MAIN.blk (the _MAIN block)
• newfolder.fld (a description of the folder's contents)
• newfolder.vdt (the Variable Declaration Table)
• newfolder.hwcfg (Hardware Configurations)
• newfolder.ssx (Smart Store Extensions)
For a new folder created based on an LM90 import named, for example, LM90impt, the
folder is created at the specified location including these files:
• _MAIN.blk (the _MAIN block)
• a .blk file for each LM90 block
• LM90impt.fld (a description of the folder's contents)
• LM90impt.vdt (the Variable Declaration Table)
• newfolder.hwcfg (Hardware Configurations)
• newfolder.ssx (Smart Store Extensions)
Browser View
Displays all components contained Logic Editor Window
in the folder. To view details for a Displays program or block logic.
component, double-click the item.
Information Window
• Displays warnings and error messages
• Displays results of Load, Store, Verify
• Displays results of Find operations
• Displays results of View Online Cross-Reference
The Folder Browser displays a tree-like structure, showing all of the components
associated with the folder. The display includes a list of all blocks included in the folder
(including _MAIN block), as well as icons providing access to Hardware Configuration,
the Variable Declaration Table and View Tables.
The Folder Browser allows you to navigate through the current folder easily and to create,
arrange, modify or delete blocks and block properties. It also allows you to check the
syntax of blocks within a folder.
To open an item in the browser window, double-click the item in the browser.
Information Window
The General tab displays error and warning messages (for example, the results of checking
logic for syntax errors). It also displays the details of searches, replacements, conversions
from one language to another, and the results of the Find Unused Variables command
(from the Folder menu, select Find Unused Variables).
The Find tab displays the results of the Find in Blocks operation. (Select Find in Blocks
from the Edit menu or the Folder Browser CSM.) Lists block, rung, and instruction where
each instance of the item being searched for was found.
The Cross Reference tab lists all variables used in the selected block and identifies the
rung and instruction each variable is used in. To display the Cross Reference, select View
Online Cross Reference from the Tools menu or the Folder Browser CSM.
Note: When the Information Window is resized to a larger window, the scroll
box becomes too large to be moved in the scroll bar. To scroll the
window, use the arrow buttons at the top and bottom of the scroll bar.
Context-sensitive Menu
The context-sensitive menu (CSM) is not on the menu bar. It appears when you click the
secondary (right) mouse button in certain VersaPro windows or on certain elements. The
menu contains a list of frequently-used options appropriate to the given context.
Note: If you click in an undocked window, you will not be able to select
items from the main menus or other windows in VersaPro until the
window is docked again. These windows can be docked and undocked
by selecting Allow Docking from the CSM.
Hiding a window makes it disappear temporarily. It does not cause the window's data to
be saved. To hide a window, click the window's button on the View toolbar, or choose the
window's name from the View menu. To hide a dockable window choose Hide from the
CSM.
To display a window once it has been hidden, click the window's toolbar button, or from
the View menu, choose the window's name.
Folder Operations
This section describes additional operations and functions which may be performed on
VersaPro folders, including:
• Performing standard file operations (close, save, delete, backup, restore)
• Restricting access to VersaPro folders (enabling password protection)
• Editing folder properties
Saving a Folder
VersaPro allows you to save an open folder and folder contents to its current location.
This operation saves the entire folder, not individual parts.
To save a folder, select the File menu and choose Save All. You can also click the Save
folder button on the toolbar. The open folder is saved.
The File, Save menu item saves only the selected component.
Deleting a Folder
To delete a VersaPro folder, locate the folder on your hard drive and use Windows
Explorer to delete.
Backing Up a Folder
Backing up ensures that data is not lost in any event. It is recommended that you backup
your folder occasionally to protect your program.
1. Select the Folder menu and choose Backup. The Backup Folder dialog box will
appear.
2. In the Source Folder field, enter the path and name of the folder that you want to back
up, or locate it by clicking on the Open Folder button and selecting the folder in the
Browse dialog box that appears.
3. In the Destination field, enter the name of the backup and the location to which you
wish to save it, or locate the path by clicking on the Open Folder button and selecting
the folder in the Browse dialog box that appears.
4. Click OK. A backup of the folder you select is created and saved under the specified
name to the indicated location.
VersaPro allows you to restore backed up files as necessary. Compressed backup files are
decompressed and fully restored when a restore is performed. Perform the following steps
to restore a folder from backup.
1. Close any open folders.
2. Select the Folder menu and choose Restore. The Restore Folder dialog box will
appear.
3. In the Source Folder field, enter the path and name of the folder that you want to
restore, or locate it by clicking on the Open Folder button and selecting the folder in
the Browse dialog box that appears.
4. In the Destination field, enter the location to which you wish to restore the folder, or
locate the path by clicking on the Open Folder button and selecting it in the Browse
dialog box that appears.
5. Click OK. The folder that you selected is restored to the location that you specified.
Locking a Folder
• Edit existing view tables. You may not create new view tables. Variables already
defined in the Variable Declaration Table may be added to VVTs for the purposes of
monitoring, but the changes cannot be saved. New variables may not be created in the
VVT. Addresses may be added to RVTs, but cannot be saved.
• Open and close windows or blocks
• Rearrange windows
• Monitor logic execution
• Toggle and Override I/O
Unlocking a Folder
If a folder is READ_ONLY, you must unlock the folder to edit the folder. If passwords
were used when locking the folder, they must be supplied to successfully unlock the
folder. Perform the following steps to unlock a folder:
1. From the Folder menu, select Unlock.
2. If the folder has a password, the Enter password dialog box appears.
3. Type the password.
4. The phrase "READ ONLY" in the folder's title bar disappears.
5. The old password is cleared. The folder can now be edited.
Changing Properties
Folder properties are set when a folder is created. However, you can change the folder
description and nickname. Perform the following steps to change folder properties:
1. Open the folder whose description or nickname you wish to change.
2. From the Edit menu, choose Properties, Folder. The Folder Properties dialog box will
appear.
3. Change the description as desired. A description may be up to 64 characters long.
4. Change the nickname as desired. The nickname may be up to 7 characters
5. Click OK. The folder properties are saved, and the Properties dialog box closes.
Printing a Report
The Print Report dialog box allows you to define which components should be printed
when you generate a report. You can print Blocks, a Cross Reference, a Table of Contents,
a Header Page, and Variables. The Print dialog box allows you to choose printers, print
ranges, and the number of copies that you want to print. The Page Setup dialog box allows
you to select paper size, source, orientation, and margins.
Information about which Print Components, which Blocks and which details about blocks,
whether or not a Table of Contents or a Header page, and whether Cross References and
the associated Reference Addresses are to be included in printing, is retained after you
generate your first report. You can change this information as desired, but you need not
reset the specifications every time you print. All other settings require input each time a
report is generated.
Perform the following steps to customize and print your program:
1. From the open folder, select the File menu and choose Print Report. The Print Report
dialog box will appear. Use this dialog box to customize your listing as described
below.
Note: When multiple blocks are printed, they are printed in the order they
appear in the Folder Browser.
In the Blocks group, check each block element that you want to include in the
report. You can choose:
o Logic
o Properties
o Variable Information (all variables used in this block plus local variables,
even if they are not used in the block)
Note: To activate the Selected radio button, you must first go to the folder
browser and select the block or blocks that you want to print.
• To include a Cross Reference list in your report, click the Cross References checkbox,
then choose whether you want to include Cross References for the entire folder, or per
block by clicking the appropriate option button.
o If you choose to print Cross References per block, and you want to include
identifiers (Jump, Label Names, Calls, and MCR Names) check the Include
Identifiers checkbox.
Note: The Cross Reference includes implicit addresses for all variables that
use them. Implicit addresses are enclosed by brackets [ ].
• To include Variable Tables in your report, click the Variables checkbox, then select
which variables you want to include by checking the appropriate checkboxes.
• To include Local Logic variables, select the Include Local Logic Variables checkbox.
• To select paper size, source, orientation, and margins, choose Page Setup from the
File menu, or click the Page Setup button in the Print Report dialog. Click the OK
button to save your specifications.
• To print contents of the report, select Print Table of Contents.
• To print Folder Properties information, select Print Header Page.
• To change the starting page number for the report, type the number you want in the
Starting Page Number box. Maximum is 9999. Default is 1.
2. Click the OK button or press Enter to print.
3
The Series 90-30 and VersaMax PLCs support multiple blocks per folder (the total
number of blocks vary, depending on the PLC configured). All PLCs require that
one of the blocks is _MAIN. This block is automatically created when you create a
new folder.
This chapter describes how to work with blocks using VersaPro Programming
Software.
Chapter Contents
• How to create and open blocks and objects
• How to manage blocks and related components in the folder browser
• How to work with variables associated with folder components.
• How to convert blocks between IL and LD
GFK-1670D 3-1
3
Creating a Subroutine
1. With a folder open, choose New from the File or Context-Sensitive menu. From
the Subroutine submenu, select Ladder or Instruction List. (You can also create
a Ladder subroutine by clicking the New Block button on the toolbar.
The Create New Ladder Diagram or Create New Instruction List dialog box
appears.
2. On the Basic Properties tab, enter a unique name for the new block. Restrictions
on name entries.
If you are creating a timed interrupt block for a 90-30 PLC, the block name must
conform to the requirements for Timed Interrupt.
3. If you wish, enter a description for the block.
4. To assign Interrupt parameters to the block, select the Schedule tab. Double
click under the Type column to select I/O Interrupt or Timed Interrupt. For
details about the interrupt parameters, click the dialog box Help button.
Note: For a 90-30 timed interrupt block, the block name determines the time base, delay, and
time interval parameters. If you change these values, an error message will appear when
you try to close the dialog.
5. To place restrictions on editing or viewing the block, select the Lock tab.
6. Click OK. A new block is created.
If the Folder Browser is open and a block is selected, the block is added to the
Folder Browser above the currently selected item. If the Folder Browser is
closed, or the Folder node, Hardware Configuration, or VDT in the browser is
selected, the block is added at the end of the browser.
1. With a folder open, choose New, External from the File or Context-Sensitive
menu. The Create New C Block dialog box appears.
2. On the Basic Properties tab, enter a unique name for the new block. Restrictions
on name entries.
3. If you wish, enter a description for the block. Restrictions on Descriptions..
4. To associate a C executable file (.exe) to the block, select the C Binary tab. To
locate the C program that you want to use, click the browser button next to the
Update Using field.
5. To assign Interrupt parameters to the block, select the Schedule tab. Double
click under the Type column to select I/O Interrupt or Timed Interrupt. For
details about the interrupt parameters, click the dialog box Help button. (A C
block can have either Interrupt parameters or Input/Output parameters, not
both.)
6. To assign Input/Output parameters to the block, select the Parameters tab. Up to
seven parameter pairs can be assigned to an external C block for 90-70.
7. Click OK. A new block is created.
If the Folder Browser is open and a block is selected, the block is added to the
Folder Browser above the currently selected item. If the Folder Browser is
closed, or the Folder node, Hardware Configuration, or VDT in the browser is
selected, the block is added at the end of the browser.
You can copy blocks between folders using the Insert Block option. The name of the
block you are inserting must be unique for the current folder. If the block you want
to insert has the same name as an existing block, an error message will display.
When you add a block, the block's variables are added to the Variable Declaration
Table.
Perform the following steps to insert a block from another folder.
1. Open the folder into which you wish to insert a block, and go to the Folder
Browser.
2. Select the Insert menu and choose Block, or click the right mouse button and
select Insert Block. The Insert Block dialog box will appear.
3. In the Look In box, navigate to the folder containing the block you want to
insert.
7. Make the needed changes in the Define Variable Offsets dialog box and click
Accept.
8. In the Insert Block dialog box, click Open.
The block is copied to the current folder's directory.
• If the Folder itself, Hardware Configuration, or the Variable Declaration table are
selected in the Folder Browser tree, the block is inserted at the bottom of the tree.
• If a block or view table is selected, the block appears above the selected item.
• If the inserted block has the same name as an existing block, an error message
appears.
• Adding a block includes adding the block's variables to the Variable Declaration
Table. If the block being inserted contains variables that conflict with existing
variables in the folder, the message, "Variable name/scope already exists in the
variable declaration table" appears. Clicking OK, opens the Variable Resolution
dialog box, which allows you to resolve variable conflicts. (See "Variable Resolution"
in chapter 6.)
• If you are inserting a “C” block, select the .exe file you created using the C Toolkit.
Opening a Block
Once a block is part of the Folder Browser, you can open and edit the block at any
time. Multiple blocks may be open at the same time. To open a block in the Folder
Browser, select the block you want to open and double-click the block name.
Note: “C” blocks cannot be opened in VersaPro.
Arranging Blocks
VersaPro allows you to change the order in which blocks are displayed and printed.
(Blocks are printed in the order they appear in the Folder Browser). To rearrange the
order, simply select the component you want to move and then drag and drop it to
the new location. You can also move blocks using standard Windows cut, copy and
paste commands.
3. Select the General Properties tab, which displays the block’s name, language,
type, description, and description. You can edit the Name and Description.
4. To define Timed Interrupts or I/O Interrupts, select the Schedule tab.
5. To lock or unlock the block, select the Lock tab.
Note: To drag and drop a block, it must be closed. Drag and Drop works only within VersaPro.
Items are not placed on the clipboard and are not available to other Windows
applications.
4. Drag the image of the selected item to the desired location in the same or
another folder.
5. Drop the image by releasing the mouse button and the Ctrl key.
Variable conflicts are handled the same as for components being moved.
Deleting a Block
If you decide that a block is no longer desirable within a folder, you can delete it. If
the block is _MAIN, it cannot be deleted, but the same procedure allows you to clear
any contents from _MAIN. Deleting a block does not delete global variables from
the Variable Declaration Table, but it does delete local variables.
Saving a Block
VersaPro allows you to save the selected block to its current location. If the VDT or
the Folder Browser have changed, they are also saved.
To save a block
1. Select the block you wish to save.
2. From the File menu, choose Save. (This option is available only if the selected
block has changed since the last save.) The active block and any changed items
(VDT, folder) are saved.
Closing Blocks
You may wish to close a selected block, or close all open blocks, but leave other
windows (for example, the VDT and Folder Browser) open.
• To close a block: Select the block you want to close. From the File Menu, choose
Close. The selected block will close.
• To close all blocks: Select the Window menu and choose Close All. If a block
contains unsaved changes, you will be prompted to save changes before closing the
block.
• Click Yes to save the changes and close the block.
• Click No to close the block without saving.
• Click Cancel to leave the block open.
Note: If at any point you wish to delete the current temporary variables, you can do so by
selecting the No Variables (IL) radio button. The memory areas used for Temporary
variables may not overlap with those used for Conversion variables.
Navigating in VersaPro
There are several methods of finding and going to certain points in folder
components:
Go To: This action allows you to go to a specific row or rung in language editors (IL
or LD), or to locate and go to the location of a specific variable.
Find: This action allows you to locate variables, reference address or call references
in block logic.
Edit Variable: Selecting this command from the IL or LD editor will take you to the
variable definition in the Variable Declaration Table.
3. Complete the dialog box as described for the LD Editor, IL Editor or Variable
Declaration Table. After entering the rung, row or name, click OK.
LD Editor: Type the number of the rung you want to go to.
IL Editor: Type the number of the row you want to go to.
Variable Declaration Table: Type the name of the variable you want to go to.
2. Complete the dialog box as follows: Click the Find button to start the search.
• Search By: Specifies what you are searching for
o Address: Select address to search for a reference address.
o Call Sub: Select Call Sub to search for a call to a subroutine block.
o IL Instruction: Searches for an Instruction List instruction.
o LD Instruction: Searches for a Ladder Diagram instruction.
o Name: Select Name to search for a variable name
• Search For Sets the address, block name, instruction, or variable name to be used in
the search.
• Blocks: Establishes the scope of the search. Choose All blocks or Selected blocks
(searches all blocks currently selected in the Folder Browser)
• Outputs Only: Limits the scope of the search to references used as outputs only
(coils). To limit the search to outputs only, check this box.
• Implicit Addresses: Allows you to locate logic where an address is used, but is not
referenced explicitly in the function block. To search for implicit addresses, check this
box.
The search is performed, and the results of the search appear in the Information
Window. Found items are listed by block, rung or row, and instruction. Double-
clicking an item in the Information window opens the appropriate block and selects
the matching element.
• Replace With: Enter the string, address, label or variable name which will be
used in the replace operation.
• Outputs Only: To limit the scope of the search to references used as outputs only
(coils), check this box.
• Implicit Addresses: To locate addresses which are included, but not named in a
function block (for example, in an array), check this box.
3. Select the action you want to perform:
• Find Next: Click this button to find the (next) instance of the search string in
your program.
• Replace: Click this button to replace the highlighted instance of the search
string in your program.
• Replace All Button: Click this button to replace all occurrences of the search
string in your program.
4. To close the Find/Replace dialog box, click the Cancel button.
Note: If a Find and Replace action has been specified during the current edit
session, you can use the Find Next to locate additional occurrences of
the search string using the Find Next command. To find the next
instance, select the Edit menu and choose Find Next, or press F3.
Note: You can navigate to the location of the syntax error by double-clicking
on the error in the Information Window.
Note: If at any point you wish to delete the current temporary variables, you can do so by
selecting the No Variables (IL) radio button.
As you type each starting address, its ending address is dynamically calculated
and displayed in the read-only field beneath it.
9. Click OK.
If all starting and ending values are valid, the dialog box is closed and the
temporary variables are added to the VDT's Temporary tab.
Note: All non-nested instructions will be converted to their nested forms. This
conversion may increase the size of the compiled logic. Also this
conversion cannot be undone.
4
The LD Editor window allows you to create, edit, display and monitor programs and
blocks created in ladder logic. This chapter introduces you to the LD Editor window
and how you can customize its look as well as how to create and edit logic.
Chapter Contents
• How to access the LD Editor
• An overview of the LD Editor Window
• How to customize the LD Editor Window display and set rung editing and coil
checking options
• How to enter and edit logic
GFK-1670D 4-1
4
Function
Comment Rung Toolbars
Example of Expanded View
comment rung, Displays all
configured for brief instruction
display mode. groups and
functions that
can be used in
the LD Editor.
Rung Number
Displays rung
number for each
discrete rung
2. Customize the display options to suit your needs: Click the OK button to accept
changes.
• Show/Hide Field: Allows you to set the fields which will display in the LD
Editor window:
• Variable Name: You can set the display mode to brief or full by selecting
Variable Name and clicking the appropriate button in mode. checking the
appropriate button. Brief mode displays one line, and full mode displays up to
two lines.
• Reference Address: To view the reference address associated with variables,
check this box.
• Description: To view the variable description, check this box. If you want to see
the entire description, you may also need to increase the Grid Cell Width. You
can also set the display mode to brief or full by checking the appropriate button.
Brief mode displays one line, and full mode displays up to four lines.
• Grid Cell Width: Allows you to make the grid for cells wider or narrower. To
increase or decrease the width, slide the control between Min and Max.
• Coil Justification Column: If this box is checked, when you insert a coil, it is
placed in the column specified (right justified). Valid values are integers 10 to 20.
If this box is not checked, coils are inserted in the next empty column.
Function Function
Address Data Length
The example above highlights some of the concepts and details you will encounter
entering logic in the LD Editor.
• Typed Instructions (Functions): In VersaPro, many function blocks are "typed".
This means that the type (INT, DINT, REAL) is associated with the function, not the
variable.
• Function Data Length: Many functions require a data length. The length is
associated with the function, not the variable.
• Function Address: Displays the reference address if required by the function block.
• Function Block Parameters: Input and Output parameters to function blocks must
be completed. Many function block parameters require variables or constant values,
like the Add function. Other function blocks require Boolean parameters (like
contacts) to enable or control how the function executes.
• Variable Combo Box: When assigning variables to function block parameters, the
variable combo box allows you to quickly select existing variables or create new
variables.
Entering Instructions
There are several methods of entering instructions into the LD Editor to suit personal
preferences and editing styles. With VersaPro, you can enter instructions using the
Function Toolbar, Ladder Toolbar or through direct keyboard entry (where no mouse
interaction is required). This section describes the various ways you can enter
instructions into your program.
Functions
Shows instructions
available for the active
Function Groups Function Group.
Click the arrow to select
a specific function
group, or to view all
function groups.
• To select a function group, click the arrow on the Function Groups box and choose a
function group. To view all instructions, select All Function Groups.
• To select an instruction, click the arrow on the Functions box – use the mouse to scan
through the list or type the first few characters of the function name to locate in the
list.
• To drop the function in the LD Editor window, click the Function Drop Button,
position the cursor at the insert location in the LD Editor window, and click to drop
the function into your program.
• To select a function group, highlight the Function Group name in the Group window.
To view all instructions, select All Function Groups.
• To select an instruction, use the slide control to scan the list of instructions, locating
the instruction you want to add to your program.
• To drop the function in the LD Editor window, double click the instruction name
(notice that the cursor changes to a function block icon), position the cursor at the
insert location in the LD Editor window, and click to drop the function into your
program.
3. To locate the function, type the first few characters of the instruction name, or
use the arrow keys to scroll through the list.
4. Press Enter to select the name and insert the instruction into your program.
Note: You can also drag and drop selected variables from the Variable
Declaration Table to the function block parameter.
Note: Declaration of variables with overlaps will result in conflicts when you
attempt to Store the stored values to the PLC. In order to resolve these
conflicts, you must use the VDT to relocate variables so that they do
not overlap. (For example a variable at %R8 with length 3 and a
variable at %R10 of length 2 have an overlap at %R10.)
3. To accept the variable, press the Enter key – or use the mouse to click off the
active cell.
Note: To edit information for an existing variable, select the variable in the
LD Editor, click the right mouse button and choose Edit Variable. The
variable will be highlighted in the Variable Declaration Table, allowing
you to edit information about the variable.
Rules on constants
A constant’s value may not exceed the capacity of the operand’s type and must be
entered in a format consistent with the Function Block type:
Format Prefix Example
Decimal (default) None 43
Real None 43.72
Scientific None 6.93e4
Binary 2# 2#11110000
Octal 8# 8#730
Hexadecimal 16# 16#dc4b
Selecting Logic
Before you can perform editing operations on LD logic, you need to select the logic
you plan to work with. This section describes how to select logic using the mouse
and keyboard.
To Copy (using drag and drop), position the mouse arrow over the selected
logic, press and hold the CTRL key, then press and hold the primary mouse
button.
3. Move the logic to the appropriate area. To drop the selection, release the mouse
button and/or the Ctrl key.
5
The Instruction List Editor window allows you to create, edit, display and monitor
programs and blocks created in Instruction List. This chapter introduces you to the
IL Editor window and how you can customize its look as well as how to create and
edit logic.
Chapter Contents
• How to access the IL Editor
• An overview of the IL Editor Window
• How to customize the IL Editor Window display
• How to enter and edit logic
• Details about Instruction List Operation
GFK-1670D 5-1
5
Active Cell:
To change the
contents of the
active cell, double
click the cell.
A combo-box will
appear, displaying
valid choices
based on the
insertion point.
Variable
Declaration Table
Lists all variables
which can be used in
your IL logic.
2. You can change the font selection and change the colors used for the display of
online values (animate), background display color and color used to display
comments.
3. Make the desired changes. Click OK to accept.
The MOVE_INT
instruction
requires a length
to operate
correctly.
The TMR_HUND
instruction
requires an
address to
operate correctly.
3. To accept the variable, press the Enter key – or use the mouse to click off the
active cell.
Rules on constants
A constant’s value may not exceed the capacity of the operand and must be entered
in a format consistent with the instruction type.
Format Prefix Example
Decimal (default) None 43
Real None 43.72
Scientific None 6.93e4
Binary 2# 2#11110000
Octal 8# 8#730
Hexadecimal 16# 16#dc4b
2. Choose Cut or Copy from the Edit or right mouse menu, click the Cut or
the Copy button on the Standard toolbar, or press Ctrl+C to Copy or Ctrl+X
to Cut. The selected information is cut or copied to the Clipboard.
Note: You can only copy a part of a multi-row instruction as text. If you
copy a single row of a multi-row instruction, the selection cannot be
pasted back into VersaPro.
To Copy (using drag and drop), position the mouse arrow over the selected
logic, press and hold the CTRL key, then press and hold the primary mouse
button.
3. Move the logic to the appropriate area. To drop the selection, release the mouse
button and/or the Ctrl key.
Constants
The IL editor supports the following constants for use as operands : Integer, Real,
Real with exponents, Base 16 (16#xxxx), Base 8 (8#xxx), and Binary (2#xxxxxxxx).
To use a Constant of 1 or 0 for an operand used with a Boolean operator, the
ALW_ON (1 or TRUE) and ALW_OFF (0 or FALSE) System variables must be
used.
Functions
Functions are invoked using formal input lists. Functions are also unconditionally
executed, regardless of the result of a previous instruction. Functions usually place
their result in the Accumulator. The type of the accumulator is also usually
determined by the function.
Function Blocks
Function Blocks are also invoked using formal input lists. Function Blocks are also
unconditionally executed, regardless of the result of a previous instruction. Function
Blocks usually place their result in the Accumulator. The type of the accumulator is
also usually determined by the function block. The Address of a Function Block is an
input parameter.
Using ENO
When a function or function block is executed, it’s ENO output is used to indicate
the successful execution of the function block. If an error occurs when the function is
executed, it will set or reset the ENO output. The user can check the status of the
ENO output by using the LD_ENO operator to load the ENO output value into the
Accumulator. The user can then examine this value for error handling.
Error Checking
The following error checking is performed on the IL program when it is compiled.
1. The type of the Accumulator must be compatible with the type of the operator.
2. A LD instruction or Function call must occur before a ST instruction.
(Accumulator must have a Value and Type.)
3. Parenthesis of nested expressions must be matched.
4. Reference Types must be correct for operators. For example, can’t do a “S
%R00001” since data type must be bit.
5. JMPs and MCRs must have matching labels.
6. All variables must be defined.
7. CALs must have matching IL/LD Blocks.
8. Reference Addresses must be within the limits of the configured CPU.
9. Function and Function Block parameters must be the correct memory types and
values.
6
The Variable Declaration Table (VDT) is the window used to create, edit and view
variables online. The VDT usually displays automatically when the Folder Browser is
open. If the VDT is not displaying from the Folder Browser, select the View menu and
select Variable Declaration Table, or click the Variable Declaration Table toolbar button
.
This chapter introduces you to variables and describes how to create variables for use in
your LD and IL programs.
Chapter Contents
• An overview of the Variable Declaration Table (VDT)
• An introduction to variables
• How to create and edit variables
• How to work with variables using standard cut, copy and paste commands
• How to delete variables and compact and save the VDT
• How to import and export variables to and from SNF Files
GFK-1670D 6-1
6
Variable Scope
Global variables may be used on
all blocks.
Local variables may be used
only in the block where the
variable is defined.
VDT Tabs
Click a tab to view
variables at a
different scope
Name
In variable programming, names are assigned to memory addresses. You can assign a
logical name, or let the reference address match the variable name. If you do not assign a
name for the variable, the reference address is automatically used as a name. A variable
name can be no longer than 31 characters, and may only consist of the characters A - Z, a -
z, 0 - 9, _, +, -, #, @, <, >, =. Variable names must start with a letter or underscore ("_").
For a list of reserved words, see page 6-4.
Type
Each variable must be assigned a data type describing how the variable is to be used in the
program. VersaPro allows you to assign a variable a Bit, Byte, or Word data type.
Length
The Length field specifies the amount of data that a variable is to use. For word data type,
length specifies the number of words. For Byte data type, the it specifies the number of
bytes. For bit data type, the length must be 1. The Data Length defines the amount of
Stored Value Data that is specified for a variable.
Address
A reference address links a variable with a physical location in the PLC.
Description
The Description field allows you to enter descriptive information about a variable. The
field is optional and may be left blank. Descriptions can be no longer than 64 characters.
Stored Value
Any initial value specified for a variable in the Variable Declaration Table is transferred to
the PLC upon program transfer, even if the variable is not used in the program. Such
values are considered an attribute of the variable. You can specify as much information
per variable as the Reference Table will hold.
Scope
Scope defines the areas where a variable can be used in a folder. The possible values for
scope are “Global” and (for each block in the folder) “Local: <block name>”. System
variables are pre-defined for use by the PLC CPU.
Retentive
The Retentive field specifies whether or not the selected variable retains its value after
loss of power. The retentive state shown in the VDT initializes the variable when stored.
It does not show the current retentive state as logic is running. VersaPro requires that the
retentive state be checked for all memory areas except %M, %Q, and %T. Row validation
automatically corrects any incorrect settings for all but these areas.
Overrides
Overrides are tools for program checking and maintenance. You can test a program in a
PLC that is not connected to I/O hardware by using overrides to simulate inputs. You can
also check a program when I/O hardware is connected by using overrides to prevent coil
operation. Overrides can temporarily bypass a failed input device so that machine
operation can continue until the device can be repaired. However, using overrides in this
manner can cause the overriding of safety devices and is not recommended. The override
state shown in the VDT initializes the variable when stored values or overrides are stored.
It does not show the current override state as a program is running. Override may only be
checked on a non-system bit variable assigned to %G, %I, %M, or %Q.
EXT
When the EXT (show externally) field is selected, the variable can be shared by other
applications.
Reserved Words
In addition to function block names, the following words are reserved and may not
be used as variable, program, block, label, or task names:
AUX CONFIGURATION PROGRAM
CLOCK$ LPT1 RESOURCE
COM1 LPT2 SYSTEM
COM2 LPT3 GLOBAL
COM3 LPT4 TEMPORARY
COM4 LPT5
COM5 LPT6
COM6 LPT7
COM7 LPT8
COM8 LPT9
COM9 NUL
CON PRN
1. From the Folder Browser, double click on the Variable Declarations icon. The cursor
will become active in the Variable Declaration Table
2. Perform the following steps to create or edit:
• To create a new variable, click the right mouse button and choose Insert Row. A
new row will appear in the VDT.
• To edit an existing variable, locate the variable and double click on the fields you
want to edit.
3. For new variables, complete the Name, Type and Address fields. Verify Scope and
Length. You may also enter a Description and Stored Value, if desired. To modify
existing variables, change the parameters as required in your application:
• VersaPro will display message boxes if the variable definition is incomplete, or
(for modified variables) does not pass validation.
Enter If the current cell has not been selected for editing (if the cell, but not the text, is
highlighted), the Enter key selects the cell for editing.
If the current cell has been selected for editing, the Enter key submits the contents of
the cell for row validation, and selects the cell below the current one.
F2 Selects or unselects the current cell for editing.
Shift + Arrow Keys If the current cell has not been selected for editing (if the cell, but not the text, is
highlighted), the Shift + Arrow keys select the current cell and moves the selection
one cell in the direction of the arrow key.
If the current cell has been selected for editing, the keys select the current character
and moves the selection one character in the direction of the arrow key.
Shift + Space Bar Selects the current row.
Home If the current cell has not been selected for editing (if the cell, but not the text, is
highlighted), the Home key selects the first cell in the current row.
If the current cell has been selected for editing, the Home key moves the cursor to the
left of the first character in the cell.
End If the current cell has not been selected for editing (if the cell, but not the text, is
highlighted), the End key selects the last cell in the current row.
If the current cell has been selected for editing:, the End key moves the cursor to the
right of the last character in the cell.
Ctrl + Home Selects the first cell in the first row.
Ctrl + End Selects the first cell in the last row.
Tab If the current cell has not been selected for editing (if the cell, but not the text, is
highlighted), the Tab key selects the next cell to the right.
If the current cell has been selected for editing, the Tab key submits the contents of
the cell for row validation, and selects the next cell to the right.
Note: Moving from one row to another, by tabbing left from the leftmost cell or right
from the rightmost, always triggers row validation.
Shift + Tab If the current cell has not been selected for editing (if the cell, but not the text, is
highlighted), the Shift + Tab keys select the next cell to the left.
If the current cell has been selected for editing, the Shift + Tab keys submits the
contents of the cell for row validation, and selects the next cell to the left.
Note: Moving from one row to another, by tabbing left from the leftmost cell or right
from the rightmost, always triggers row validation.
Ctrl + Tab Displays the next VDT tab (Local, Global, All, System) to the right.
Page Down/Up Moves the display one vertical viewable page down/up, and selects the cell in the
same relative x,y position as before the movement.
You can quickly locate variables using the Go To Variable dialog box. Perform the
following steps to locate a variable by name.
1. From the Variable Declaration Table, click the right mouse button and choose Go to
Variable. The Go to Variable dialog box will appear.
2. Enter the name of the variable that you want to go to, or select it from the drop-down
list.
3. Click OK. The variable that you entered becomes selected in the Variable Declaration
Table.
Using Cut, Copy, Paste and Drag and Drop in the VDT
VersaPro allows you to cut or copy and then paste variables or cells in single or multiple
variables within the Variable Declaration Table without removing ladder elements from
ladder logic or instructions from instruction list logic. It also allows you to paste items
placed on the clipboard by applications other than VersaPro into the Variable Declaration
Table, and to cut or copy items to the clipboard for pasting to any other application that
accepts tab-delimited text. Pasting overwrites any information in a cell or variable.
VersaPro also allows you to drag and drop -cut or -copy within the VDT, or from the
Variable Declaration Table to either editor. Dropping in the VDT overwrites any
information in a cell or variable.
1. Open the Variable Declaration Table Select a variable(s) or cell(s) within single or
multiple variables.
2. Choose Cut or Copy from the Edit menu, click the Cut button or the Copy button
on the toolbar, or press Ctrl + C for Copy or Ctrl + X for Cut. To select a
variable, every field in the variable must be selected. The selected data is cut or
copied to the clipboard. It is now available for pasting to any other application that
accepts tab-delimited text.
3. Select the variable(s) or cell(s), to which you wish to paste the information that
you’ve cut or copied. Information on the clipboard that originated in another
application may also be pasted to VersaPro.
4. Choose Paste from the Edit menu, click the Paste button , or press Ctrl + V.
Row validation is performed on each variable to check for global scope conflicts with
existing variables before pasting to the VDT. If a variable fails row validation, an
error message appears, and then a dialog box appears allowing you to correct errors
appears. If the problem is corrected, row validation continues for other variables. If
the information on the clipboard is valid for pasting in VersaPro and the number of
variables or cells corresponds to the area that you’ve highlighted, the information is
pasted.
• If every cell in a variable is selected and a cut is performed, the variable is deleted
from the folder.
• Vertical gaps between non-contiguous variables are deleted when the variables are
copied to the clipboard.
• Rows on the clipboard are separated by a CR/LF. Columns are separated by tabs.
These separations become obvious when pasting to an external application.
• If a cut or copied variable’s length is greater than 1, its stored values are separated by
commas when pasted to external applications (like Microsoft Excel).
• When cut or copied to the clipboard, Retentive and Override values are stored as 1 for
True and 0 for False.
• It is not possible to make non-contiguous row selections with the keyboard.
• The following fields cannot be cut from a variable: Type, Length, Scope, Retentive,
Override.
Details on Pasting
• If more variables reside on the clipboard than have been selected to be overwritten,
the selected variables are overwritten and the remaining clipboard variables are
inserted on to the table(s)
• If fewer variables reside on the clipboard than have been selected to be overwritten,
as many of the selected variables as possible are overwritten, and the rest are deleted.
• Nothing may be pasted into the System tab.
• Nothing may be pasted into the Temporary tab.
• If a variable is pasted onto the Global table, it becomes a global variable regardless of
its original scope.
• If a variable is pasted onto a Local table, it becomes local to that block regardless of
its original scope.
• If a global variable is pasted onto the All table, it remains global.
• If a local variable is pasted onto the All table, the program will attempt to assign it to
its defined block. If that block does not exist in the folder, it will be made a global
variable.
• Any values changed by a paste operation on the visible table will also be changed on
any other table where they appear.
• Values that have been altered by a paste in the VDT are also altered in the IL and LD
program logic displays.
• For cells, if the selected area is smaller than the area on the clipboard, an error
message appears and the paste is aborted. If the selected area is larger than the area on
the clipboard, the cut or copied information is pasted in the upper left corner of the
selected area.
• Any text may be pasted into a free floating or line comment.
• For rows, if the selected number of rows is smaller than the number on the clipboard,
an error message appears and the paste is aborted. If the selected number of rows is
greater than the number on the clipboard, the extra rows are deleted. If only a cell is
selected, the rows are pasted above that cell.
• Changes to values that occur through Dragging and Dropping will also appear on any
other affected table(s) or editors.
• Drag and drop of variables is only available on the same VDT tab.
• When a selection spans more than one variable, row validation is performed. If any
cell in the selected area is invalid in its new location, the entire drag and drop
operation is cancelled.
• You cannot cut the following cells, unless the entire row is selected: Type, Length,
Scope, Retentive, Override
• If a selection is dropped that would go beyond the last row of the VDT, new rows are
created to accommodate the drop.
• When a selection is dropped, it overwrites the existing cells.
• VersaPro does not allow dragging and dropping a discontinuous set of cells.
Sorting Variables
VersaPro allows you to sort variables in the VDT, in ascending or descending order,
according to any but the Stored Value column.
Variables can be deleted from the Variable Declaration Table without removing ladder
elements from ladder logic or instructions from instruction list logic. Elements from which
variables have been removed become unnamed.
VersaPro also allows you to delete the contents of a Variable Declaration Table (clearing
the VDT). Performing such a deletion removes all the VDT’s variables from the Global,
Local, and All tabs and from program logic. The logic itself is not affected. The VDT
remains in the folder and is always displayed in the Folder Browser; it can only be cleared,
not deleted.
• In Ladder Diagram blocks, the names of deleted variables are removed from
elements, but the elements to which these variables had been assigned are not
removed.
• In Instruction List blocks, the names of deleted variables are removed from the
Operand column, and their addressees are removed from the Reference Address
column, but the relays and instructions to which these variables had been
assigned are not removed.
Note: In order for a single variable to be deleted, every field in the variable
(the entire row) must be selected. If every field is not selected when the
deletion is performed, the selected fields are cleared, but the variable
remains in existence.
1. Open a folder.
2. Open the Variable Declaration Table.
3. Make the Variable Declaration Table active.
4. Choose Compact from the Folder menu.
The VDT is compacted.
To import a variable:
1. Open the folder into which you wish to import an SNF file.
2. Choose Import Variable from the VDT CSM or the Tools menu. A browse dialog box
appears asking you to locate the file that you wish to import.
3. Locate the file that you wish to import.
4. Click the Open button. The file is imported and the variables are displayed in the
VDT.
All other field names and corresponding data entries are ignored.
• Empty data entries default to the same default entry as the VDT.
• Any data entries that violate row validation , contain invalid entries for a particular
field (other than the PT_TYPE field), or repeated variables produce a conflict error.
• All imported SNF variables are added to the global table unless another block has
been specified in the address field.
• Imported SNF variables are added below any existing variables.
• Selecting Cancel from the Conflict dialog cancels the entire import process. All data
is purged.
• Any Description that contains quotation marks must start and end with quotation
marks, to determine where separations occur between Descriptions and the additional
text in the variable.
To export a variable:
1. From the VDT, select the variable or variables that you wish to export.
2. Choose Export Variable from the VDT CSM or the Tools menu. If no variables are
selected, an error message appears informing you that at least one variable must be
selected in order to export. A dialog appears asking you to determine the location to
which you wish to save the exported file.
3. Choose a location. The default export location is the last Import/Export directory
used. Click OK.
Variable Resolution
This dialog allows you to easily resolve variable conflicts. You can keep existing variable
definitions or overwrite them. This dialog appears as the result of a Paste, Import SNF, or
Insert Block operation that causes one or more variables to conflict with existing
variables.
If Prompt for Each Conflict is selected, the following dialog box will appear.
To enter Description, Stored Value, Scope, Override, Retentive, and External for the
variable, select the Auxiliary tab. (These values can also be edited in the VDT.)
7
Stand Alone Hardware Configuration (HWC) contains the configuration information for
your Series 90-70, Series 90-30, VersaMax, VersaMax Nano/Micro, and Series 90 Micro
PLCs, as well as Ethernet Global Data (EGD) configuration. It also provides tools to
allow you to monitor power consumption and I/O mapping for modules added to your
system. The default rack and CPU configuration that appears when you enter HWC is set
by selecting Options from the Tools menu in VersaPro.
The configuration information must match the physical hardware of your system. Typical
steps in configuring your PLC hardware include:
• Configuring the rack type and power supply
• Selecting and configuring a CPU for a PLC rack system, or an NIU for a VersaMax
Remote I/O rack system.
• Configuring modules and customizing parameters for your application
• Configuring EGD exchanges and Name Resolution, if applicable
• Saving the HWC so that it can be stored to the PLC from VersaPro
Detailed information about configuring parameters for a specific module is available
through the online help. To access this information, open the Parameter Editor window
for the module (double-click the module), then select Module Help from the Help menu.
Chapter Contents
• Accessing Hardware Configuration
• Configuring the Series 90-30 Rack
• Configuring the Series 90-70 Rack
• Configuring the VersaMax Modular Rack
• Configuring the VersaMax Remote I/O Rack
• Configuring VersaMax Nano and Micro PLCs
• Configuring Series 90 Micro PLCs
• Hardware Configuration Reference View
• Hardware Configuration Log View
• Converting Rack Systems
• Printing Hardware Configuration
GFK-1670D 7-1
7
Rack View
Status Bar
Power
Consumption
Log View View
Reference
View
Note: Some of the more complex modules, such as the Motion modules,
contain key parameters known as Mode Setters.
All parameters, including Mode Setters, that affect other parameters are
listed in italics. To obtain an explanation of parameter relationships for
these parameters, press F1 in the Editor window and select the
parameter name from the Help index. Or, right click the parameter and
select What's This from the CSM.
Mode Setter
Changes the set of
parameters available for Tool Tip
editing. Resets the Displays valid choices
parameters it affects. for selected parameter.
Status Bar
Displays information about
module being configured.
Editing Tips
Valid values for each parameter are displayed in a tool tip that appears when you hover
the mouse cursor over the parameter cell. To edit parameter values:
• Type directly into the selected cell in a manner similar to typing into a spreadsheet
cell, or use the Data Entry Tool. To open the Data Entry Tool, right click in the
parameter cell and choose Data Entry Tool from the context-sensitive menu, press the
F2 key, or double click.
• If the valid values consists of a list of choices with unique initial letters, select a value
by simply typing its first letter in the cell.
You can save time when entering the same value for multiple parameters (of the same
type) by Copying and Pasting or dragging and dropping one parameter value into other
parameter value cells. Copy/Paste and drag/drop can be used within the same module view
or between module views.
Note: Parameter values that have been changed since the start of the editing
session are shown in bold.
Undoing Changes
• To reset a single parameter to the Start of Edit Session value or to Factory Original
(default) setting, right click on the parameter and choose Reset Parameter from the
context-sensitive menu.
• To reset all the parameters on a tab, right click anywhere in the tab, and choose Reset
Tab from the context-sensitive menu.
• To Undo changes, choose Undo from the Edit menu, or click the Undo button on the
Editor toolbar.
The Editor supports from 1 to 32 levels of Undo/Redo (default is 10). You can set the
levels of Undo/Redo by choosing Options from the Tools menu.
Note: You cannot Undo changes that result from changing a Mode Setter
parameter.
Error Notification
Erroneous values are displayed in the Error Color (red by default) and an explanatory
ToolTip is provided for the error.
To see the ToolTip for an erroneous setting in the Parameter Editor, hover the mouse
cursor over the parameter cell.
3. In the Colors list, choose the condition for which you want to set the color.
4. Click the Choose button. The Windows color selection dialog box will open.
5. Select a color, click OK in the color selection dialog box, then click OK in the
Options dialog box.
Correcting Errors
To automatically correct an erroneous value, right click on the value and select Auto
Correct from the context-sensitive menu. If you attempt to close a configuration that
contains an error, the Parameter Error List dialog box will appear. To automatically
correct all errors listed in this dialog box, click the Auto Correct button.
To change the format of the Parameter Editor window and the mode for assigning the next
reference, select the Parameter Edit Options tab.
CPU
Power Supply
Note: Change Rack Type is only active for Series 90-70 and non-imbedded
Series 90-30 CPUs (CPU331 and higher).
Configuring a CPU
To change the default CPU:
1. From the rack view, click the right mouse button and choose Replace CPU.
2. Click the catalog number and description of the CPU in your system, then click the
OK button.
Bus Operations
Block Operations
Except for Edit Configuration, these operations cannot be performed on the
controlling GBC in a Genius bus. In a Redundant Controller system, Edit
Configuration, Copy, and Paste can be performed on the redundant GBC.
To add a block
Double click an empty SBA, or select the SBA, go to the Edit menu, and choose
Block Operations, Add Block. The Block Catalog will appear. Select a device and
click OK.
To delete a block
Select the block and choose Delete Block from the Edit, Block Operations submenu
or from the CSM. (To delete all blocks, except the controlling GBC, from the bus,
use the Clear Bus command.)
Keyboard shortcut: Del
To replace a block
Select the block and choose Replace Block from the Edit, Block Operations submenu
or from the CSM. The Block Catalog will appear. Select a device and click OK.
To perform these commands, select a block and choose the command from the CSM.
Keyboard shortcuts:
Cut Ctrl + X
Copy Ctrl + C
Paste Ctrl + V
CPU Redundancy
There are three types of basic CPU redundancy. These redundant systems can be
used in combination with Genius redundancy schemes. For examples, see CPU
Redundancy over Genius.
For more information about redundant systems based on IC697CGR772 and
IC697CGR93, refer to the Series 90-70 Enhanced Hot Standby CPU Redundancy
User's Guide, GFK-1527. For redundant systems based on IC697CPU780, refer to
the Series 90-70 Hot Standby CPU Redundancy User's Guide, GFK-0827.
CPU Redundancy (GDB) Using Genius Dual Bus Redundancy (Paired GBC
External) – Single Bus with Floating Master
CPU Redundancy (GDB) Using Genius Dual Bus and Dual GBC Redundancy –
Dual Bus with Floating Master
CPU Redundancy (GDB) Using a Mixed Genius Redundancy Scheme
CPU Redundancy (GHS) Using Genius Dual GBC Redundancy (Paired GBC External
The following procedure configures two separate PLCs in one equipment folder.
The first one configured will be considered the Primary PLC in the system. The
software will automatically create the configuration for the Secondary PLC. The
configuration of the two PLCs will be identical except for a few necessary
differences such as CPU Redundancy Mode (Primary or Secondary) and the Serial
Bus Addresses (SBA) of the GBCs (31 for the Primary and 30 for the secondary).
1. From the Redundancy menu, select Wizard.
2. In the Wizards window, select a CPU. CPU model CPU780, CGR772, or CGR935
can be used in this redundancy system.
3. Select the Single Bus with Preferred Master redundancy setup and click Next.
4. Select the Rack and Slot locations for the BTM and RCM. Click Next.
5. Review the settings for Redundancy Scheme, BTM location, and RCM location. If
settings are correct, click Finish. If you need to make changes, click Back.
6. When you click Finish, the wizard will create a rack configuration with the selected
CPU, a BTM, and an RCM.
7. Use the redundancy wizard to configure Redundant Controllers, Two PLCs.
8. Configure critical data and all redundant %AQ and %Q references in the Shared I/O
section of the CPU Settings tab.
9. Use the redundancy wizard to generate the secondary rack system.
CPU Redundancy (GDB) using Genius Dual GBC Redundancy (Paired GBC External)
The following procedure configures two separate PLCs in one Equipment Folder.
The first one configured will be considered the Primary PLC in the system. The
software will automatically create the configuration for the Secondary PLC. The
configurations of the two PLCs will be identical except for a few necessary
differences such as CPU Redundancy Mode settings (Primary and Secondary), the
Serial Bus Addresses (SBA's) of the Genius Bus Controllers (31 for the Primary and
30 for the Secondary), and the possible differences in non-redundant Genius Bus
devices.
1. From the Redundancy menu, select Wizard.
2. In the Wizards window, select a CPU. CPU model CGR772 or CGR935 can be used
in this redundancy system.
3. Select the Single Bus with Floating Master redundancy setup and click Next.
4. Select the Rack and Slot locations for the BTM and RCM. Click Next.
5. Review the settings for Redundancy Scheme, BTM location, and RCM location. If
settings are correct, click Finish. If you need to make changes, click Back.
6. When you click Finish, the wizard will create a rack configuration with the selected
CPU, a BTM, and an RCM.
7. Use the redundancy wizard to configure Redundant Controllers, Two PLCs.
8. Configure critical data and all redundant references in the Shared I/O section of the
CPU Settings tab.
9. Use the redundancy wizard to generate the secondary rack system.
CPU Redundancy (GDB) using Genius Dual Bus Redundancy (Paired GBC External)
The following procedure configures two separate PLCs in one Equipment Folder.
The first one configured will be considered the Primary PLC in the system. The
software will automatically create the configuration for the Secondary PLC. The
configurations of the two PLCs will be identical except for a few necessary
differences such as CPU Redundancy Mode settings (Primary and Secondary), and
the Serial Bus Addresses (SBA's) of the Genius Bus Controllers (31 for the Primary
and 30 for the Secondary).
1. From the Redundancy menu, select Wizard.
2. In the Wizards window, select a CPU. CPU model CGR772 or CGR935 can be used
in this redundancy system.
3. Select the Single Bus with Floating Master redundancy setup and click Next.
4. Select the Rack and Slot locations for the BTM and RCM. Click Next.
5. Review the settings for Redundancy Scheme, BTM location, and RCM location. If
settings are correct, click Finish. If you need to make changes, click Back.
6. When you click Finish, the wizard will create a rack configuration with the selected
CPU, a BTM, and an RCM.
7. Use the redundancy wizard to configure Dual Bus, Two PLCs.
8. Configure critical data and all redundant references in the Shared I/O section of the
CPU Settings tab.
9. Use the redundancy wizard to generate the secondary rack system.
CPU Redundancy (GDB) using Genius Dual Bus and Dual GBC Redundancy
The following procedure configures two separate PLCs in one Equipment Folder.
The first one configured will be considered the Primary PLC in the system. The
software will automatically create the configuration for the Secondary PLC. Each
PLC will have two GBCs and they will control two Genius Buses. The
configurations of the two PLCs will be identical except for a few necessary
differences such as CPU Redundancy Mode settings (Primary and Secondary), and
the Serial Bus Addresses (SBA's) of the Genius Bus Controllers (31 for the Primary
and 30 for the Secondary).
1. From the Redundancy menu, select Wizard.
2. In the Wizards window, select a CPU. CPU model CGR772 or CGR935 can be used
in this redundancy system.
3. Select the Single Bus with Floating Master redundancy setup and click Next.
4. Select the Rack and Slot locations for the BTM and RCM. Click Next.
5. Review the settings for Redundancy Scheme, BTM location, and RCM location. If
settings are correct, click Finish. If you need to make changes, click Back.
6. When you click Finish, the wizard will create a rack configuration with the selected
CPU, a BTM, and an RCM.
7. Use the redundancy wizard to configure Dual Bus and Redundant Controllers, Two
PLCs.
8. Configure critical data and all redundant references in the Shared I/O section of the
CPU Settings tab.
9. Use the redundancy wizard to generate the secondary rack system.
Note: You can use this basic procedure to store your Secondary configuration
to the Secondary PLC, by connecting your programmer to the
Secondary PLC and selecting Secondary instead of Primary in the
selection window in step 7 above.
4. Select rack and slot locations for the primary GBC and the Paired GBC. Click Next.
5. Review the settings for Redundancy Scheme and GBC locations. If settings are
correct, click Finish. If you need to make changes, click Back.
When you click Finish, the software will create the two Genius buses, and will add a
two GBCs to the PLC. The parameter settings of this second GBC (except for the
rack and slot numbers, and SBA) will be a copy of those of the first GBC. These
two GBCs will, by default, be assigned Serial Bus Addresses (SBAs) 30 and 31.
Each bus will contain an image of its GBC.
To configure devices on a Genius bus, see "Genius Bus Configuration."
To copy the device configurations from a redundant bus to its partner, select Wizard
from the Redundancy menu. Choose Copy a Redundant Bus and click Next. Follow
the Wizard instructions to complete the copy operation.
5. Review the settings for Redundancy Scheme and GBC locations. If settings are
correct, click Finish. If you need to make changes, click Back.
When you click Finish, the software will add two GBCs to the PLC. The parameter
settings of this second GBC (except for the rack and slot numbers, and SBA) will be
a copy of those of the first GBC. These two GBCs will, by default, be assigned
Serial Bus Addresses (SBAs) 30 and 31. These SBAs should not be changed.
Genius Blocks used on this system may be redundant or non-redundant. To configure
devices on a Genius bus, see "Genius Bus Configuration."
Although there is only one Genius bus in this system, each GBC has its own Genius
Bus window. If all devices on the bus are configured as redundant, the Genius Bus
windows for these two GBCs will be identical. However, if there are non-redundant
devices on the bus, they will only appear in the Genius Bus window of the GBC that
they were configured in.
To configure the second PLC rack in this system, see "Configuring the Second
PLC."
1. From the Redundancy menu, select Wizard. Note that two open rack slots must be
available in this PLC for the GBCs. The Paired GBC may be in any rack.
2. In the Wizards window, select Add GBCs for Genius Redundancy and click the Next
button.
3. Select Dual Bus and Redundant Controllers, Two PLCs and click Next.
4. Select rack and slot location for the two GBCs. Click Next.
5. Review the settings for Redundancy Scheme and GBC locations. If settings are
correct, click Finish. If you need to make changes, click Back.
When you click Finish, the software will create the two Genius buses, and will add a
two GBCs to the PLC. The parameter settings of this second GBC (except for the
rack and slot numbers, and SBA) will be a copy of those of the first GBC. These
two GBCs will, by default, be assigned Serial Bus Addresses (SBAs) 30 and 31.
Each bus will contain an image of both GBCs.
Genius Blocks used on this system may be redundant or non-redundant. To configure
devices on a Genius bus, see "Genius Bus Configuration."
To configure the second PLC rack in this system, see Configuring the Second PLC.
Note: To configure EGD exchanges for a CPUE05 see “Ethernet Global Data
Configuration” on page 7-33.
Rack/Module Operations
In addition to configuring the CPU (or NIU), the VersaMax rack configuration is
completed through the following operations, as required:
• Changing/Configuring the Power Supply
• Adding Module Carriers
• Adding Power Supply Booster Bases
• Configuring a Power Supply for a Booster Base
• Adding/Configuring Modules
• Deleting Carriers
• Clearing the Rack
• Configuring VersaMax Expansion Networks
To insert a carrier between two configured modules, highlight the module which will
be to the right of the new carrier, click the right mouse button and choose Insert
Base/Carrier. The Module Catalog for Carriers will display.
Note: You must click the right mouse button over a module or carrier in the
rack configuration to view configuration choices from the right mouse
button.
2. Click the catalog number and description of the carrier you want to add, then click the
OK button.
To insert a Power Supply Booster base between two configured modules, highlight
the module which will be to the right of the new base, click the right mouse button
and choose Insert Base/Carrier. The Module Catalog will display.
2. Click the Power Supply Booster Bases tab. Click the catalog number to select the
base, then click the OK button.
3. To configure the power supply, click the right mouse button and choose Add Module.
Select the Power Supply from the list and click OK.
Adding/Configuring Modules
Once a carrier is configured, the module may be added to the system:
1. Highlight the carrier which will house the module.
2. Double-click on the empty carrier or click the right mouse button and choose Add
Module. (If you are replacing a previously configured module, click the right mouse
button and choose Replace Module.)
3. Click the tab describing the I/O module type you need (Discrete Input, Discrete
Output, Analog Input, Analog Output, etc.).
4. Click the catalog number and description of the module in your system, then click the
OK button.
Deleting Carriers
You must use the menu bar or right mouse operations to delete a carrier. Perform these
steps to delete a carrier:
1. Highlight the empty carrier you want to delete.
2. Click the right mouse button and choose Delete Carrier.
None
Includes only the Main VersaMax rack (no Expansion). Systems created using VersaPro
1.0 have this type of configuration. This is the default VersaMax System, which is created
when you select New from the File menu or when you convert from another rack system,
such as Series 90-30.
Notes: The Transmitter and Receiver modules cannot be added from the
module catalog. The only way to add these modules to a rack
configuration is to choose the appropriate configuration type. Also, you
cannot delete them from a rack configuration except by changing the
rack configuration type.
You can switch from one VersaMax rack system type to another. This allows single rack
systems created in VersaPro versions earlier than 1.10 to be upgraded to Local Single
Rack and Multiple Remote Rack systems. Switching rack system types has the following
effects:
When you switch configurations, a message is displayed which gives you the option of
carrying out the parameter changes of the existing CPU/modules to the new rack
configuration.
To change rack system type, choose Expansion Rack System from the CSM or the Edit
menu. Select an expansion rack type from the submenu.
On the Settings tab for CPU parameters, the Expansion Bus Speed parameter appears if
Multiple Remote Rack is selected and if there is an isolated receiver present in any one of
the expansion racks. Values are Extended Distance (default) and Normal. For Normal
distance, the maximum allowable cable length is 15m (250ft) and the baud rate may vary
between 250KHz, 1MHz, 3MHz, or 5MHz. For Extended Distance, the maximum
allowable distance is 250m (820ft) and baud rate is fixed at 250KHz.
Each expansion rack has one Power Supply and Non Isolated Receiver Unit. The isolated
receiver can be replaced with the non-isolated receiver and vice versa. (see “Expansion
Rack Operations”).
The catalog ID and description for the Power Supply And Receiver-Integrated unit is
shown on the status bar. When you select the integrated unit, the receiver information is
shown as a part of the status bar.
Configuring an NIU
The default CPU is IC200CPU001.
• To replace the CPU with an NIU:
1. Click the secondary mouse button and choose Replace CPU from the CSM.
2. Select an NIU from the Module Catalog. The Parameter Editor window for the
selected NIU will appear.
3. Review and modify NIU parameters in the Parameter Editor.
4. When you are finished editing the NIU parameters, click the window close button
to close the Parameter Editor window.
Communications Setup
To define communications parameters for the rack system, select Communications Setup
from the Tools menu. The CCU will open. (If a password has been defined for the
Communication Configuration Utility, the Password dialog box will appear. Enter your
password and press OK to continue.) The main screen of the Communication
Configuration Utility will appear.
When configuring a Device in the CCU for use with a GNIU or PNIU, you should assign
a Name and default Port. Port Type should be set to SNP_SERIAL. All other fields should
be left at their default values.
When configuring a Device for use with an ENIU, you should assign a Name, default
Port, and IP address. Port Type should be set to TCPIP_ETH.
3. Click the Store button. The programming software will automatically connect to the
NIU.
Note: If you attempt to store a hardware configuration to an NIU that does not
match the type selected in the configuration, an error message will
appear and the operation will be stopped.
Note: If you attempt to load a hardware configuration from an NIU that does
not match the type selected in the configuration, an error message will
appear and the operation will be stopped.
When the configuration is loaded from a rack system, HWC uses the hardware module ID
to determine the correct module catalog number and description. However, some
VersaMax modules share the same module IDs. When a VersaMax rack system containing
these modules is auto configured and the configuration is loaded an incorrect catalog
number and description may be displayed. You will need to select the correct module from
the modules catalog and store it to the rack system. After storing the configuration, you
will be able to load the configuration properly.
The following modules share hardware module IDs:
IC200MDL650 loads as IC200MDL636
IC200MDL750 loads as IC200MDL742
IC200MDL331 loads as IC200MDL329
IC200MDD844 loads as IC200MDD842
IC200MDL141 loads as IC200MDL140
Caution
EGD exchanges are designed for simple, efficient
communication of sampled data between devices. They are not
intended for event notification where the possible loss of a
sample of data would be significant. For event notification, it is
recommended that a Service Request Transfer Protocol
(SRTP) connected service be used.
From Hardware Configuration go to the Edit menu, choose Rack Operations, and
select Name Resolution and Routing. (or click the right mouse button and choose
Name Resolution and Routing from the shortcut menu). The Name Resolution and
Routing Tables dialog box will display.
In the Name Resolution and Routing Tables dialog box, click the Routing tab.
Click the Add Entry button.
In the Destination Subnet ID field, enter the subnet ID (in dotted decimal
format) of the remote subnet to which you wish to route data (for example,
4.12.20.0).
In the Destination Subnet Mask field, enter the subnet mask associated with that
remote subnet (for example, 255.255.255.0).
In the Next Hop IP Address field, enter the IP address of the local gateway to
which you wish to send the data (for example, 3.16.32.1), then click the OK
button.
The subnet mask is a mechanism to logically divide a large network into smaller subnets
according to your local assignment of IP addresses to nodes on the network. Nodes on the
network which have their IP addresses alike for the bits specified in the subnet mask can
talk to each other directly; nodes whose IP addresses are not alike in these same bits must
talk indirectly, via an intermediate gateway or router.
As described in an appendix to your Ethernet module user manual, the 32 bits of an IP
address are divided between a net id part and a host id part. (The class of the IP address
determines how many bits are in the net id and how many are in the host id.) In general,
the net id portion of the IP address (on the left) is assigned by the Internet authorities. The
host id (on the right) is assigned by your local network administrator. Subnetting is
locally optional and consists of designating some (any number) of the host id bits as a an
extended net id, or subnet id. The added subnet id bits are normally taken from the host id
GFK-1670D Chapter 7 Configuring PLC Hardware 7-37
7
bits adjacent to the net id and the subnet mask identifies these bits. In your Ethernet
module configuration, you specify these bits as one (1) and the remaining host id bits as
zero (0). For example:
IP Address: 11.22.33.44
Net Id bits: 255.0.0.0 Net Id: 11.0.0.0
Added Subnet Id bits: 0.255.0.0 Subnet Id: 0.22.0.0
Subnet Mask: 255.255.0.0 "Extended" Net Id: 11.22.0.0
Subnet ids and subnet masks are entered into the Routing Table when configuring
Multiple Gateways. The extended net id (for example, 11.22.0.0 in the above example)
should be entered for the subnet id.
All nodes on a "subnetted" network must use the same value for subnet mask; subnets are
distinguished by different subnet id's, created by your local assignment of IP addresses.
In this example, Device A produces two exchanges and consumes none, Device B
produces one exchange and consumes one, and Device C produces no exchanges but
consumes three. The exchange produced by Device A and consumed by both Device B
and Device C is an example of Group Usage, whereby multiple devices consume data
produced by one producing device.
Device A
Assigned Producer ID: 10.0.0.1
Device B
Assigned Producer ID: 10.0.0.2
PLC A sends the information contained in the following reference memory locations.
Each byte in the exchange contains eight discretes aligned at byte boundaries.
%I00001 to %I00016
%Q00001 to %Q00008
PLC B receives the information and stores it in three consecutive bytes in %G memory, as
follows:
%G00001 to %G00024
The details of the exchange that PLC A produces are defined in the Produced Exchanges
tab of the Ethernet Global Data dialog box:
• Local Producer: By default, uses the IP address of the network interface card closest
to the CPU of PLC A. The Local Producer can be changed by the user.
• Exchange ID: Identifies the packet of data that will be sent.
• Net Address Name: The name assigned to the network adapter within this PLC
system that will be producing the exchange.
• Consumer Type: Specifies how the consuming device will be identified (by name, IP
address, or group ID). For this example, the consuming PLC is identified by its Local
Producer IP Address.
• Consumer Address: The Local Producer IP Address assigned to PLC B.
• Send Type: Defines when the exchange will be transmitted. This field is fixed at
Always.
• Producer Period: PLC A will produce the data every 50 milliseconds.
• Reply Rate: Not used.
• Status Word: A reference address for status memory location where the status word
is stored. The status word can signify when an error has occurred.
The details of the exchange that PLC B consumes are defined in the Consumed Exchanges
tab of the Ethernet Global Data dialog box:
• Local Producer: Uses the IP address of the network interface card closest to the
CPU of PLC B
• Exchange ID: Identifies the packet of data that will be received.
• Net Address Name: The name assigned to the network adapter within this PLC
system that will be consuming the exchange.
• Producer ID: The Local Producer IP Address assigned to PLC A.
• Group ID: Used when more than one device is consuming the same exchanges from
one producer. Value 0 means only one device is consuming the information.
• Consumed Period: The CPU of PLC B will scan the local network adapter for new
data and/or status updates every 25 milliseconds.
• Update Timeout: The network adapter will set a status error to signal a refresh error
if data is not received within 1000 milliseconds.
• Status Word: A reference address for the memory location where the status word is
stored. The status word can signify when an error has occurred.
• Time Stamp: A reference address for the memory location where the time stamp is
stored. The time stamp can be checked to verify if the data received is a new sample
rather than a duplicate of a previously received sample.
Rack/Module Operations
To replace a main module (IC200UDR005/010 is the default), select Replace Module or
Replace CPU from the context-sensitive menu or select Replace CPU from the Edit, Rack
Operations submenu.
To add an Expansion Unit to the system, select Add Module from the context-sensitive
menu or from the Edit, Module Operations submenu. The Expansion Unit is added to the
end of the chain.
To replace an Expansion Unit, select the Expansion Unit and choose Replace Module
from the context-sensitive menu or from the Edit, Module Operations submenu.
To remove an Expansion Unit from the system, select Delete Module from the context-
sensitive menu or from the Edit, Module Operations submenu. Only the last expansion
unit in the chain can be deleted.
To remove all Expansion Units from the system, select Clear Rack from the context-
sensitive menu or from the Edit, Rack Operations submenu.
When you add or replace a module, the Parameter Editor window will appear.
Rack/Module Operations
To replace a main module (IC693UDR005/010 is the default), select Replace Module or
Replace CPU from the context-sensitive menu or select Replace CPU from the Edit, Rack
Operations submenu.
To add an Expansion Unit to the system, select Add Module from the context-sensitive
menu or from the Edit, Module Operations submenu. The Expansion Unit is added to the
end of the chain.
To replace an Expansion Unit, select the Expansion Unit and choose Replace Module
from the context-sensitive menu or from the Edit, Module Operations submenu.
To remove an Expansion Unit from the system, select Delete Module from the context-
sensitive menu or from the Edit, Module Operations submenu. Only the last Expansion
Unit in the chain can be deleted.
To remove all Expansion Units from the system, select Clear Rack from the context-
sensitive menu or from the Edit, Rack Operations submenu.
When you add or replace a module, the Parameter Editor window will appear.
Each row provides reference point assignments for a specific module. The columns are
configured as follows:
• Overlap: By default, non-fatal overlaps are identified in blue text and fatal overlaps
are identified in red text.
• Start: Displays the starting reference point assignment for the module.
• End: Displays the ending reference point assignment for the module.
• Addr: Displays the module’s Rack/Slot address in the form R.S where:
o R is the relative rack number (0 indicates first, or main, rack)
o S is the relative slot number within the assigned rack (0 indicates the leftmost
slot)
• Mem Type: Identifies whether the module produces or consumes data in the
allocated memory area.
• Catalog #: Display’s the module’s catalog number.
Normal Range
Power Consumption percentage bars representing less than 75% consumption are
displayed in the Power Normal color (default is green).
Warning Range
Power Consumption percentage bars representing more than 75% to 100% consumption
are displayed in the Power Warning color (default is yellow).
Exceeded Range
Power Consumption percentage bars representing greater than 100% consumption are
displayed in the Power Error color (default is red). Note that if consumption is exceeded,
the label at the bottom of the graph displays the actual amount used, but the percentage bar
does not show greater than 100%.
Note: To change the normal, warning, and error colors in the Power View
display, choose Options from the Tools menu.
8
VersaPro provides two View Tables for monitoring the real-time values and states of
elements in the PLC:
• The Variable View Table allows you to group important variables into a window for
online viewing.
• The Reference View Tables allows you to group important references into a window
for online viewing.
Multiple View Tables may be open at once.
Chapter Contents
• Overview of Reference View Tables (RVT) and Variable View Tables (VVT)
• Information on creating and managing data in the view tables.
GFK-1670D 8-1
8
Scope:
Shows variable
Address: scope: Global or
Displays PLC Local:block.
Name: reference address
Displays variable name, for each variable. Value:
which may be user- Displays PLC online
defined or match the value if you are
Reference Address. connected to the PLC,
with logic equal, and
monitoring active.
Only the Name column may be edited. All other columns are read-only.
The Value column is blank until the Folder is on-line and equal. The value cell displays
“****” for variables that have no assigned reference address.
If the cell is too narrow to display the online value, the cell will display ####.
All Reference Addresses are displayed that begin with the closest byte offset smaller than
or equal to the starting address you enter and finish eight columns later (Ten columns of
data are displayed for %R, %AI, and %AQ reference addresses.) The amount of data
displayed in the columns depends on the format.
Note: Upon opening a folder created with VersaPro 1.00, the Reference View
Tables will be converted to the new format. However, table format
selections will be reset to the defaults.
2. You can change the font selection and change the color used for the display of online
values.
• To modify the settings for the RVT, set the Category to RVT and make the
desired changes. Click OK to accept.
• To modify the settings for the VVT, set the Category to VVT and make the
desired changes. Click OK to accept.
3. Select the Grouping and Display Format which suits your application needs:
• Grouping Field
o Byte (each cell contains 8 bits)
o Word (each cell contains 16 bits)
o Dword (each cell contains 32 bits)
• Display Format
o Binary
o Hex
o Octal
o Unsigned Decimal
o Signed Decimal
o Real (Only available when Dword is selected)
o Scientific Notation (Only available when Dword is selected).
You can change the display format of an individual cell by selecting the cell and choosing
Display Format from the context-sensitive menu.
3. Change the display to suit your application requirements. The format is changed for
the variable selected.
Note: If the value displays ####, increase the width of the value column to
see the online value.
Note: Offsets columns are not populated until you are connected to the PLC
and have enabled Monitoring.
3. Choose Cut or Copy from the Edit menu, click the Cut or Copy button, or
press Ctrl + X to cut or Ctrl + C to copy.
4. All rows entirely selected are removed from the VVT and placed on the clipboard in
VersaPro list format (not as text), and other rows shift to fill the cut space.
5. If you want to insert the variables between existing variables on the destination VVT,
rather than overwrite existing variables, select any cell in the row beneath the desired
insertion point.
6. If you want to overwrite existing variables, select the rows that you wish to overwrite.
7. Choose Paste from the Context-Sensitive or Edit menu, click the Paste button , or
press Ctrl + V. If the variables are inserted, they appear in a new row above the row
in which a cell is selected, and are appended to any other affected table(s). If the
variables overwrite previously-existing variables, they appear in the position of those
variables.
Note: Only entire rows may be cut. Selecting any cell in a row, and then
cutting, results in cutting the entire row.
Details on Pasting
• If more variables reside on the clipboard than have been selected to be overwritten,
the selected variables are overwritten and the remaining clipboard variables are
inserted into the table.
• If fewer variables reside on the clipboard than have been selected to be overwritten,
as many of the selected variables as possible are overwritten, and the rest are deleted.
• When you paste to a second instance of a VVT, a new variable is created in the VDT.
• If collisions occur when creating variables in the VDT, an error message appears
describing the problem.
• Click OK. A dialog appears allowing you to correct the problem.
• Correct the problem. Row validation continues for other variables. If you cancel, the
entire paste is cancelled.
Online Viewing
To view online values for view tables, the folder must be open and you must be connected
with the PLC. In addition, the View Table window must be monitoring PLC data. To set
the View Table to monitoring, click the Monitor All or Monitor Active toolbar buttons.
This section provides details about window behavior when working online and describes
how to change values online.
9
The Motion Mate DSM314 is a high performance, easy-to-use, multi-axis motion control
module that is highly integrated with the Series 90-30 PLC logic solving and
communications functions. VersaPro provides the following capabilities:
• DSM314 Configuration. Allows you to select module settings and default
operational parameters using SAHWC.
• Motion Editor. Used to create and modify Motion programs. A Motion program
consists of a series of motion command statements that are stored to and executed in
the DSM314. Up to 10 Motion programs and 40 subroutines are allowed.
• Local Logic Editor. Used to create and modify Local Logic programs, which run
synchronously with the Motion program, independently of the PLC’s CPU scan. This
allows the DSM314 to interact much more quickly with motion I/O signals than if the
logic for these signals was handled in the main ladder program running in the PLC.
• Cam Editor. Used to create, edit, and manage Cam profiles. A Cam profile specifies
the response of a slave servo (follower) to a master position index and is referenced
by name in the associated Motion program. Cam profiles are grouped into Cam
blocks which are downloaded to the DSM314 module via the PLC.
The Motion, Local Logic, and Cam editors are accessed from the Folder Browser.
Motion, Local Logic, and Cam blocks can be dragged, cut, copied, etc. within the Folder
Browser the same as other program blocks, as described in chapter 3. Once created and
saved, Motion, Local Logic, and Cam programs become part of the hardware
configuration and are Stored to the PLC with the other configuration information. For
additional information about configuring and programming the DSM314, refer to the
Motion Mate DSM314 for Series 90-30 PLCs User’s Manual, GFK-1742.
GFK-1670D 9-1
9
Chapter Contents
• Setting Motion Program/Local Logic Editor Options
• Using the Motion Program Editor
• Using the Local Logic Editor
• Using the Local Logic Variable Table (LLVT)
• Saving Motion/Local Logic Programs
• Printing Motion/Local Logic Programs
• Storing Motion Programs and Subroutines to the PLC
• Restoring Motion and Local Logic Blocks
• Using the Cam Editor
4. Select the tab and auto-indent options you want and click OK.
• Type the motion program Name and Description. If more than one motion module
type is available in the drop-down listbox, select the motion module type that
indicates the module type on which this program will be run. Then click the OK
button. The Name is required. The Description is optional. A Motion Editor window
for the new motion program block will open. The motion program name appears as
the title of the Motion Editor window and an icon for the new motion program
appears in the Folder Browser window.
• The text-based motion programs and subroutines are created in the Motion Editor
window, as shown in the following figure. Ten motion programs and forty
subroutines, maximum, separated by their identifying headers (such as “PROGRAM
1 MULTI-AXIS”), can be programmed in the same editor window and are stored in
the same motion program block.
Basic Requirements
Format
• Motion programs and subroutines are written using ASCII text.
• Only one motion language statement is permitted per line, and a motion language
statement may not span more than one line. Normal comments may span multiple
lines.
• White space and blank lines may be used to improve readability and to separate
certain items.
• The Motion Editor is not case sensitive.
• All motion programs and subroutines must be contained in a single, motion program
block.
Name
This column contains the variable name, which can be used within a local logic program.
Type
The data type for this variable.
Attempting to write a value larger than a given variable size will result in the value being
truncated. For example, if the result of a math operation is 32 bits long and is assigned to a
16 bit variable only the low 16 bits will be stored. The Parser reports a warning if a Bit
Operand is used as the destination variable in a non-Boolean Math operation (only the
least significant bit of the result would be stored).
Local Logic variables that are less than 32 bits long are either Signed or Unsigned (except
Bit Operands which are always Unsigned). All Math/Logic operations in the Logic Engine
are signed 32 bit operations (except the 64 bit signed Divide and Modulus operations).
Signed variables that are less than 32 bits long are automatically sign extended to 32 bits
when they are loaded by the Logic Engine. Unsigned variables are not sign extended.
Thus the Logic Engine handles all data conversion and limit checking automatically.
Group
Each set of axis-specific variables contains Control variables, Status variables and
Faceplate I/0. (The Global tab contains only Global variables.)
Description
This column contains a description of the variable. To view the complete description,
hover the cursor over the cell, refer to the Motion Mate DSM314 for Series 90-30 PLCs
User’s Manual, GFK-1742.
R
If this column is checked, the variable can be read by a local logic program.
W
If this column is checked, the variable can be written to by a local logic program.
8. When you are satisfied with the list, click the OK button. The blocks in the folder
(that have been loaded from the PLC) will be replaced with the backups (from the
VersaPro folder) you selected.
9. To cancel the replace operation, click the Cancel button.
Note: When the block is restored, the backup is not deleted. If you are
running out of disk space and don't want to keep backups, you must use
the MS-Explorer or My Computer to navigate to the folder and
manually delete the backup. Backups have an .mbk (motion) or .lbk
(local logic) extension.
Note: You must have Internet Explorer 5.0 installed on your computer in
order to install the Cam editor..
Type a name and a description for the Cam block and click OK. The Cam Editor will open
and an icon for the new Cam block will appear in the folder browser.
Note: If the Cam Editor is already open, you can also create a new block in
the Cam Editor project browser. The new block will automatically
appear in the VersaPro folder browser.
To open a Cam block, double click its icon in the Folder Browser.
The Cam Editor window will appear. Refer to the FrameWorX InfoViewer for details on
developing profiles and creating links to profiles in Cam blocks.
different folder. If you paste it into the same folder, you will be asked to provide a new
name. (Each component in the folder must have a unique name.)
10
Communicating with the PLC is necessary to perform such operations as storing and
loading programs or viewing reference or PLC status information. This chapter describes
how to connect to the PLC and perform some basic online operations.
Chapter Contents
This chapter provides the following information:
• How to connect your computer to the PLC using the Communication Configuration
Utility (CCU)
• Guidelines for Communications Configuration
• How to transfer Folders to and from the PLC
• How to clear Folder data from the PLC and verify PC/PLC Folder information
• How to read/write/verify flash memory
• How to read/write/verify the EZ Program Store device (VersaMax CPUs)
• How to view PLC status information
• How to place the PLC in Run or Stop mode
• Monitoring logic execution
GFK-1670D 10-1
10
Connecting to a PLC
You can connect to a PLC from VersaPro over a serial or Ethernet connection, depending
on the capabilities of the PLC. Connections are made by identifying a device and selecting
a port. The device specifies information necessary to successfully connect including the
default PC communication port, target PLC type, PLC SNP address and PLC IP address.
The port identifies the PC port used to initiate communications to the PLC.
This section describes the various ways to connect to the PLC: Direct Serial Port,
Multidrop and Modem Connections, and TCIP/IP.
3. Select Device "DEFAULT" and Port "COM1". Click the Connect button to establish
communications.
9. Set your PC port (COM1 through COM4) and enter your SNP ID, if one exists for
your PLC SNP port. Enter NULL if there is no SNP ID. Click OK to add the device.
4. Set the Default Port to ENET and enter an IP Address that matches the IP Address
configured for the Ethernet Interface. Click OK to add the device.
5. To customize global timeouts, click the Ports tab, select ENET, and Click Edit. Click
Advanced to access global timeouts.
Note: Changes made to Modem Properties through CCU are not saved in the
operating system modem settings. To retain these changes, you must
edit the Modem Properties in the Windows Control Panel (select
Control Panel, then Settings).
1. Select the PLC menu and choose Connect (or click the Connect button on the
PLC toolbar). The Connect dialog box will appear. Select the Device Name and Port
(ENET) for Ethernet communication. Click the Connect button to establish
communications.
2. When the connection is made, the status information at the bottom of the screen will
change to Connected.
Password
If a password has been defined for the CCU, you will be presented with a dialog box
asking for a password. If you only want to look at your communications parameters (not
make changes), click the View Only button to view the parameters in Read-Only mode.
To change the password, click the Change Password button on the Password dialog box.
To define or change a password for the CCU, go to the File menu and choose Password.
4. Set SNP_T3 parameter to a value at least 250 greater than Request Timeout. For
example, if your Request Timeout parameter is 20000, set SNP_T3 to 20250 or more.
5. Set SNP_T3P parameter to a value at least 250 greater than the SNP_T3 parameter.
For example, if your SNP_T3 parameter is 20250, set your SNP_T3P parameter to
20500 or more.
6. Set SNP_T3PP parameter to a value at least 250 greater than the SNP_T3P parameter.
For example, if your SNP_T3P parameter is 20500, set your SNP_T3PP parameter to
20750 or more.
7. To save your changes, click OK on both the Edit dialog box and on the main CCU
screen.
Modem Issues
1. When editing modem parameters in the CCU, any settings made in the setup that the
Configure Line button brings up are not saved. For the modem settings to be retained,
they need to be entered through the Windows operating system. From the Windows
Start menu, select Settings, Control Panel, Modems.
2. When setting up VersaPro to communicate with the PLC via modem, you should
ensure that the settings in the PLC match those of the modem. For example, for
typical modem applications the PLC should be set up for 19200 baud, no parity, 1
stop bit, and a modem turn around time of 1 using the hardware configuration
package in VersaPro and then storing this configuration to the PLC. Next, the
programmer's PC port must be set up through the Windows operating system by
selecting Start, Settings, Control Panel and selecting the Modems icon. The Modems
Properties dialog box will appear. The Modem Properties should be set to match the
PLCs configuration for number of bits, parity and stop bits. The Advanced
Connection Settings should be set to enable Use Flow Control and Hardware
(RTS/CTS).
3. From VersaPro, select Tools, Communications Setup to invoke the CCU application.
Select Ports, Edit to set the modem turnaround time.
Transferring Folders
After you have established a connection to the PLC, you can transfer Folders between
your computer and the PLC. This section covers the following:
• Storing a folder from your PC to the PLC
• Loading a folder from the PLC to the PC
• Verifying that a folder matches the one currently running in the PLC
• Clearing items in the PLC
• Performing read/write operations on PLC flash memory
To place the PLC in Stop mode, click the Stop toolbar button , or go to the PLC menu
and choose Stop PLC.
To store the current Folder from your computer to the connected PLC, follow these steps:
1. Confirm that you are connected the PLC. (The VersaPro status bar should indicate
“Connected.” If the status bar is not visible, press Ctrl + 0.)
2. Click the Store Button (or select the PLC menu and choose Store). The Store
Folder to PLC dialog box will appear.
3. Select the folder components you want to store to the PLC: hardware configuration
and motion, logic and stored/overridden values. (Motion programs for the Motion
Mate DSM314 module are stored as part of hardware configuration.)
4. VersaPro will store the selected components to the PLC. If the store is successful, a
message box will appear. The Information Window will provide additional details
about the store operation.
2. Click the Load button (or select the PLC menu and choose Load). The Load
Folder from PLC dialog box will appear:
3. Select the components that you want to load. Choose from hardware configuration
and motion, logic and stored/overridden values.
4. To begin the load procedure, click the Load button.
5. The selected information will be loaded from the PLC. The Information Window will
display the results of the load operation. If the load is successful, a message box will
display "Load from PLC Completed."
Note: You cannot load Ethernet Global Data or Name Resolution from a
CPU364. When you initiate the Load configuration process, the
confirmation dialog box presents the option of backing up the EGD and
Name Resolution configuration. To restore these configuration
components to your folder, go to the HWC File menu and select
Restore EGD and Name Resolution. A browser window will open to
enable you to navigate to the backup file.
3. Select the items you want to clear in the PLC. Components that have a check mark
next to them will be cleared. You can select and deselect individual components by
clicking them.
4. To clear the items, click the OK button.
5. When the clear operation is complete, a message box will display "Clear Completed
Successfully".
2. From the PLC menu, choose Verify, or click the Verify with PLC button.
3. The Verify Folder with PLC dialog box will appear.
4. Components that have a check mark next to them will be verified. You can select and
deselect individual components by clicking them.
5. To begin the verify procedure, click the OK button.
6. A message box will confirm that the verify operation is complete. The Information
Window will contain details about the Verify operation.
3. Select the folder components you want for the flash operation. You can select
individual components by clicking on them.
4. Under Memory Type, select Flash/EEPROM.
5. Select the flash operation by clicking the appropriate button :
• To read from Flash memory to the CPU, click the Read button.
• To write from the CPU to Flash memory, click the Write button.
• To verify that the program data in Flash memory matches that in the CPU, click
the Verify button.
6. When the operation is complete, a message box will indicated success or error.
3. Select the folder components you want for the flash operation. You can select
individual components by clicking on them.
4. Under Memory Type, select EZ Program Store.
5. Select the flash operation by clicking the appropriate button :
• To read from the EZ Program Store device to the CPU, click the Read button.
• To write from the CPU to the EZ Program Store device, click the Write button.
• To verify that the program data in the EZ Program Store device matches that in
the CPU, click the Verify button.
6. When the operation is complete, a message box will indicated success or error.
Note: Settings for this tab are stored in the PLC, not in the program folder.
If the CPU’s date and time do not match the host computer’s, you can synchronize to the
CPU clock, or set the CPU date and time.
• Synchronize CPU to Host: Click the Synchronize CPU to Host button.
• Set CPU Date & Time: Type the month, day, and year (optional) in the New Date
field and type the time in hours, minutes, and seconds (optional) in the New Time
field. Click the Apply button to accept the changes.
2. Click the Run PLC button (or choose Run from the PLC menu).
2. Click the Stop button (or choose Stop from the PLC menu).
3. In the Stop Execution dialog box, choose to enable or disable outputs then click the
OK button.
Note: In order to view real time updates, logic needs to be executing. If you
stop executing logic, the latest values remain displaying until
monitoring is turned off.
11
The PLC and I/O Fault Tables display fault information logged by the CPU or modules in
the PLC. This information is used to determine if there are problems with the PLC
hardware or software running in the PLC CPU.
You can view, sort, print and clear faults with the Fault system.
Note: The Fault Table system is a separate application from VersaPro with its
own menu bar and toolbar. The Fault Table when minimized is
reduced to a button on the Windows taskbar and does not appear in the
Equipment Workbench window.
Chapter Contents
• How to view PLC and I/O Fault Tables
• How to obtain details about individual faults
• Sorting faults
• Saving fault information
• Clearing the Fault Table
GFK-1670D 11-1
11
To view the I/O Fault Table from VersaPro, click the IO toolbar button:
• To list all faults and expanded fault data, select the File menu and choose Save (or
Save As). Once you have saved this information, you can then use a text editor to
view or print the text file created by the Save operation.
Sorting Faults
Faults are displayed in the order they are logged (based on date and time). However, you
can select for faults to be ordered by fault location or grouped by fault description.
To change the order of display, select the View menu, choose Sort and select the key field
for the sorted display.
For the PLC Fault Table, the sorting choices are as follows:
• Location
• Description
• Date/Time
• For the I/O Fault Table, the sorting choices are as follows:
• Location
• Circuit Number
• Reference Address
• Category
• Type
• Date/Time
Note: To restore the list to the original dated order, select the View menu and
choose Sort Ascending.
Caution
Clearing the fault table removes the faults. However, it does
not fix the underlying problem that generated the fault.
Clearing the fault table will allow the PLC to be put in Run
mode, even though the fault condition may still exist. If the
condition that caused the fault still exists, the fault may be
reported again after storing the configuration, cycling power to
the PLC, or during a Stop-to-Run transition.
Note: Clearing the fault table does clear fault conditions in the block at the
same time the I/O fault table is cleared. Unlike Genius circuit faults, an
I/O fault is not logged if it persists after the fault table is cleared. After
clearing a fault table, it is possible to place the PLC in RUN mode with
an active fault condition that is configured to be fatal. To avoid this
condition, always clear the fault tables before storing the program and
configuration to the PLC.
Changing Fonts
You can change the font for the Fault Tables by selecting the Edit menu and choosing Set
Font. The Font dialog box will appear allowing you to change the font type, style, and
size.
Note: The font changes will affect only the fault tables, not the other areas
of VersaPro.
A
This appendix shows the menu bars and toolbars used in VersaPro programming software
and the Stand Alone Hardware Configuration tool.
VersaPro Menus
File Menu
The file menu includes standard file and print operations for VersaPro components.
Option Button Action
New Block (Ctrl + B) Creates a new block.
Print Report Allows you to define which components and blocks should be
included in a report, then print the report.
Page Setup Allows you to specify page parameters.
<MRU list> Lets you open a recently used folder from a list of Most Recently
Used folders (the MRU list) that appears here on the menu.
Exit (Alt + F4) Closes VersaPro software.
GFK-1670D A-1
A
Edit Menu
Option Button Action
Undo <action> (Ctrl + Z) Reverses the previous action. The previous action (for example,
Drop or Delete) appears instead of "<action>".
Redo <action> (Ctrl + Y) Reverses the previous undo action. The previous action (for
example, Drop or Delete) appears instead of "<action>".
Cut (Ctrl + X) Removes the selected item and places it on the Clipboard.
View Menu
Option Button Action
Toolbars (Ctrl + T) Shows or hides toolbars.
Function Toolbars Allows you to expand or compact function toolbars
Status Bar (Alt + O) Shows or hides the Status bar.
Folder Browser (Alt + 1) Opens or closes the Folder Browser window.
Local Logic Variable Opens or closes the Local Logic Variable Table, if the folder
Table (Alt + 6) contains a Local Logic program.
Sort Allows you to sort specific columns of the VDT in ascending or
descending order.
Monitor Allows you to disable or enable real-time logic execution on the
PLC in all windows or in the active window.
Display Format Allows you to change the display format of monitored logic.
Format View Table Allows you to determine how data is displayed in the selected
Variable View Table row, Reference View Table row, or entire
Reference View Table.
Zoom In (Ctrl + "=") Makes view larger.
Insert Menu
Option Button Action
Object Allows you to insert an object into the Folder Browser.
Block Allows you to insert a block into the Folder Browser.
Row (Ins) Inserts a row above the selected row in the IL editor, LD editor,
VDT, or a View Table.
Comment Allows you to insert a comment.
Folder Menu
Option Button Action
Check Selected Block(s) Checks the selected block(s) for syntactic correctness. If no block
(Ctrl + F7) is selected, this menu option reads "Check Block_Main" and
selecting it results in checking the _Main block for syntactic
correctness.
Check All (F7) Checks all blocks for syntactic correctness.
PLC Menu
Option Button Action
Connect (F9) Connects to the PLC
Load (Ctrl + F2) Loads the contents of a folder from the PLC
Verify (F4) Verifies the equality of the current folder and the connected PLC.
Write (F10) Allows you to write a value to the selected reference in the LD
editor, IL editor, VVT or RVT..
Tuning Parameters Allows you to tune PID Instructions.
Status Info (Shift + F4) Allows you to view the status of the PLC.
Tools Menu
Option Action
Fault table Opens a fault table.
Communications Setup Allows you to define communications parameters
Cam Editor Opens the Cam Editor, which is used for creating Cam profiles and blocks for
Motion programming.
Import Variables Allows you to import a variable.
Export Variables Allows you to export a variable.
Convert Block Allows you to convert logic from one language to another.
View Online Cross Displays, in the information window, a list of all variables used in the selected
Reference block by reference type.
Convert Block Converts selected block from LD to IL or IL to LD.
Non-Nested to Nested Converts non-nested MCR, ENDMCR, JUMP, and LABEL instructions to the
Conversion nested version.
Options (Ctrl + E) Allows you to set General (language–related), Display (colors, fonts), Ladder
(show fields, cell width), and Autoconnect options.
Window Menu
Option Action
Cascade (Alt + 6) Arranges all open block windows so that all title bars are visible and the active
window is in front.
Tile Horizontally Resizes and horizontally arranges all open block windows so that all of them are
(Alt + F7) visible.
Tile Vertically (Alt + F8) Resizes and vertically arranges all open block windows so that all of them are
visible.
Arrange Icons (Alt + F9) Aligns all minimized block windows.
Close All (Alt + F10) Closes all open block windows.
Next Window (F6) Moves focus among the active editor window and the dockable windows that
are open. (In the editor window, goes to the selected row or cell, which may be
out of view.)
Previous Window Moves focus among the active editor window and the dockable windows that
(Shift + F6) are open. (In the editor window, goes to the selected row or cell, which may be
out of view.)
[Current Window] Displays the name of the active window.
Help Menu
Option Action
Contents and Index Displays VersaPro Help.
About VersaPro Displays information about this version of VersaPro.
VersaPro Toolbars
VersaPro has six toolbars: the Standard toolbar, the Ladder toolbar, the View toolbar,
the Folder toolbar, the PLC toolbar, and the Function toolbar. You may hide any or
all toolbars to provide more space to work. Unavailable toolbar buttons appear in
dim gray.
Standard toolbar
The Standard toolbar is displayed by default, although you can hide it. The Standard
toolbar buttons provide common functions, such as opening folders, saving folders
and blocks, cutting, copying and pasting, and undo and redo.
Button Function
Creates a new folder.
Ladder toolbar
Use the Ladder toolbar to create ladder logic using "click and drop."
Button Function
Selects the normal pointer; disables "click and drop"
Note: Pressing the Escape key disables drop mode and makes the pointer
active again.
View toolbar
Use the View toolbar to show or hide windows, to open the _MAIN block, or to
magnify or reduce a window's contents. Buttons not related to the current task are not
available.
Button Function
Shows or hides the Folder Browser
Folder toolbar
PLC toolbar
Use the PLC toolbar to connect to a PLC, and to perform operations involving a
connected PLC, like storing and loading, or running and stopping logic.
Button Function
Connects to the PLC.
Toggles a reference.
Overrides a reference.
Function toolbar
Use the Function toolbars to select function block types while programming in the
LD editor. Function groups are listed in alphabetic order.
The Function toolbars can be configured to display in expanded or compact mode.
To change the mode, select the View menu, choose Function Toolbars, then select
Expanded or Compact.
HWC Menus
File Menu
The File menu offers the following commands:
Option Action
New (Ctrl + N) Creates a new Hardware Configuration Folder.
Open (Ctrl + O) Opens an existing Hardware Configuration Folder.
Close Closes an opened Hardware Configuration Folder.
Import Stand-Alone Imports an existing HWC Hardware Configuration Folder (.hwcfg) into the current
HWC File Rack System Edit window.
Import Hardware Imports an IOCFG.CFG file (and optional CPUCFG.CFG file), that was produced by
Configuration Folder either LM90 or CC90, into a designated new HWC Hardware Folder.
Restore EGD and Name Restores EGD and Name Resolution configuration from a backup file created during
Resolution configuration Load.
Save (Ctrl + S) Saves an opened document using the same file name.
Save As Saves an opened document to a specified file name.
Convert To Converts the current Rack System configuration to a default Rack System configuration
of the type selected:
Series 9030
VersaMax
VersaMax Nano/Micro
Series 90 Micro
(You can only convert a Rack System configuration to a different type of Rack System.
If you want to create the same type of Rack configuration as the current one, use Save
As.)
Print (Ctrl + P) Prints all or portions of the current Rack System Hardware Configuration.
Print Preview Displays all, or portions, of the current Rack System Hardware Configuration on the
screen as it would appear when printed.
Print Setup Selects a printer and printer connection.
Exit Exits HWC.
Edit Menu
Option Action
Undo (Ctrl + Z) Reverse previous Module operation. Up to 16 levels of Undo are supported.
Redo (Ctrl + Y) Reverses previous Undo operation. Up to 16 levels of Redo are supported
Cut (Ctrl + X) Deletes the selected Module from the Rack System and moves it to the clipboard.
Delete (Del) Deletes the currently selected Module from the Rack System and reverts it to a blank slot.
Copy (Ctrl + C) Copies selected Module from the Rack System to the clipboard.
Paste (Ctrl + V) Pastes the previously cut or copied Module from the clipboard into the selected slot of the
Rack System.
Expansion Rack System Sub-menu of edit operations that are specific to VersaMax Rack Systems.
Expansion Receiver Sub-menu of edit operations that are specific to VersaMax Expansion Rack Systems.
Rack Operations Sub-menu of edit operations that are specific to the Rack System.
Module Operations Sub-menu of edit operations that are specific to the selected Module.
Option Action
None This is the default VersaMax system, which is created when you select New from the
File menu. It includes only the Main VersaMax I/O station (no Expansion).
Local Single Rack Includes the Main VersaMax I/O station and one Expansion I/O Station (Rack). The
Main VersaMax system does not contain a Transmitter. The Expansion I/O Station
contains a Non Isolated Receiver and Power Supply Integrated Unit (IC200ERM002).
Multiple Remote Rack Allows you to configure up to seven Expansion I/O Stations (seven Rack tabs are
always shown). The Main VersaMax rack contains a Transmitter (IC200ETM001).
Each Expansion I/O Station contains a Power Supply and Receiver Integrated Unit. The
Non Isolated Receiver (IC200ERM002), which is configured by default, can be
replaced by an Isolated Receiver (IC200ERM001).
Note: The Transmitter module cannot be selected from the module catalog.
The only way to add this module to a rack configuration is to choose
the appropriate configuration type. Also, you cannot delete a
Transmitter module from a rack configuration except by changing the
rack configuration type.
Option Action
None Deactivates the Receiver. This is the default selection if no carrier/base is configured.
This option is not available if there is at least one carrier/base configured in the
expansion rack.
Non-Isolated Receiver Unit Selects the Non Isolated Receiver and Power Supply Integrated Unit (IC200ERM002).
This is the only receiver type allowed for Local Single Rack systems.
Isolated Receiver Unit Selects the Non Isolated Receiver (IC200ERM002). This option is available only for
Multiple Remote Rack systems.
Parameter Menu
Option Action
Data Entry Tool (F2) Opens the Data Entry Tool for a selected, editable parameter.
Reset Parameter Resets a single parameter to the Start of Edit Session value or to the Factory Original
Value
Reset Tab Resets all the parameters on the tab to the Start of Edit Session value or to the Factory
Original value.
Cancel Edit Session Closes the active parameter edit window without saving changes.
Insert Inserts a row with default values above the selected row in certain tabs, such as the
Profibus Slave Information tab.
Delete Deletes the selected row in certain tabs such as the Profibus Slave Information tab and
adds a default row to the end of the matrix.
View Menu
Option Action
Toolbar Shows or hides the toolbar.
Status Bar Shows or hides the status bar.
Log View Shows or hides the on-line HWC Log View.
Reference View Shows or hides the on-line Rack System Reference View
Power Consumption Shows or hides the Power View window.
Parameter Edit Displays a sub-menu that allows you to change the Parameter Editor display format.
These options are available only when a Parameter Editor window for a module is
open.
Note: These settings are not saved when you close the Parameter Editor. To
set the default display mode for the Parameter Editor, go to the Tools
menu, choose Options and select the Parameter Edit tab in the Options
dialog box.
Option Action
Singlerow Tab Displays the Parameter Editor window in a tabbed format. If you resize the window so
that it is too narrow to display all the tabs, a scroll bar is provided to access tabs that are
not visible.
Multirow Tab Displays the Parameter Editor window in a tabbed format. If you resize the window so
that it is too narrow to display the tabs in a single row, the tabs will be stacked.
Spreadsheet Displays the Parameter Editor window in a spreadsheet format. Tab headings are
displayed in bold, underlined text.
Error Status Displays the Parameter Editor Error List, which identifies parameter errors and allows
you to correct them before closing the window. This option is available only when the
current Parameter Editor window contains errors.
Tools Menu
Option Action
Hardware Configuration Displays the PLC Configuration Data in a tabbed dialog, allowing for both text and
Data View binary formatted presentation of the contained information.
Options Displays an Options dialog, which allows you to adjust certain application behavior
such as Log size and Parameter Editor view.
Communications Setup Opens the CCU. Allows you to define communications parameters.
Load/Store/Verify If an NIU is configured in the rack system, allows you to load, store, verify, or clear the
hardware configuration.
Window Menu
Option Action
Cascade Arranges windows in an overlapped fashion.
Tile Arranges windows in non-overlapped tiles.
Arrange Icons Arranges icons of closed windows.
Window 1, 2, ... Goes to specified window.
Help Menu
Option Action
Contents Displays a structured Help Table of Contents from which you can get help.
Help Index Offers you an index to topics on which you can get help.
Module Help Provides parameter-specific help for the selected Parameter Editor window.
How to Use Help Enumerates the different types of Help available in HWC and describes how each can
be applied to assist you in learning and using the program.
About HWC Displays the version number of this application.
HWC Toolbar
Button Function
Opens Parameter Editor window for CPU.
Opens Parameter Editor window for selected module.
Opens the Module Catalog, from which you can select a
module to be configured.
Opens the Module Catalog, from which you can select a
CPU to be configured.
Opens the Module Catalog, from which you can select a
module to be configured in place of the selected module.
Displays or hides the Reference View, which lists references
configured for the rack system.
Displays or hides the Log View, which displays a history of
significant events and status relative to your hardware
configuration editing activities.
Displays or hides the Power View, which shows the power
consumed by the modules in the system.
B
This appendix describes the serial port, converter, and cables used to connect to Series 90
and VersaMax PLCs for Series 90 Protocol (SNP) as well as the Miniconverter Kit. This
information is included for reference and for those users who have applications that
require cable lengths different than the factory-supplied cables.
GFK-1670D B-1
B
RS-422 Interface
The Series 90-30, Series 90 Micro, and VersaMax PLC products are compatible with EIA
RS-422 specifications. RS-422 drivers and receivers are utilized to accomplish
communications between several system components using multiple driver/receiver
combinations on a single cable with five twisted pairs. The total cable length cannot
exceed 4000 feet.
A multi-drop system of eight drivers and receivers can be configured. The maximum
common mode voltage between each additional drop is the RS-422 standard of +7 Volts to
–7 Volts. The driver output must be capable of ± 2 V minimum into 100 ohms. The
driver output impedance must be at least 120 K ohms in the high impedance state. The
receiver input resistance is 12 K ohms or greater. Receiver sensitivity is ± 200 millivolt.
Caution
The cable assembly presents one of the most common causes of communication failure.
For best performance construct the cable assemblies according to the recommended
connector parts and specifications.
Item Description
PLC: Serial (RS-422) port with metric hardware
Connector: 15-pin male, D-Subminiature Type, Cannon DA15S (solder pot) Hood: AMP
207470-1 connector shell
Hardware Kit: AMP 207871-1 Kit includes 2 metric screws and 2 screw clips
IBM-AT/XT: Serial (RS-232) port with standard RS-232 connector
Mating Connector: 9-pin female, D-Subminiature Type, Cannon DE9S (solder pot) with
Connectors: DE110963-31 hood or equivalent (standard RS-232 connector)
RS-232/RS-485 Converter: one 15-pin male, and one 25-pin male
connector
15-pin male connector requires metric hardware (same connector, hood, and hardware as
for Series 90 PLC listed above)
25-pin male D-Subminiature Type, Cannon DA25S (solder pot) with DB110963-3 hood
or equivalent (standard RS-232 connector)
Computer grade, 24 AWG (.22 mm2), minimum with overall shield
Catalog Numbers: Belden 9505, Belden 9306, Belden 9832
Cable: These cables provide acceptable operation for data rates up to 19.2 Kbps
as follows:
RS-232: 50 feet (15 meters) maximum cable length
RS-422/RS-422: 4000 feet (1200 meters) maximum length. Must not exceed the
maximum RS-422 Common Mode specification of +7V to -7V. Isolation at the remote
end may be used to reduce or eliminate Common Mode voltages.
At shorter distances under 50 feet (15 meters), almost any twisted pair or shielded twisted
pair cable will work, as long as the wire pairs are connected correctly
When using RS-422/RS-422, the twisted pairs should be matched so that both transmit
signals make up one twisted pair and both receive signals make up the other twisted pair.
If this is ignored, cross-talk resulting from the mismatching will affect the performance of
the communications system.
When routing communication cables outdoors, transient suppression devices can be used
to reduce the possibility of damage due to lightning or static discharge.
Care should be exercised that all connected devices are grounded to a common point.
Failure to do so could result in damage to the equipment.
The Series 90 and VersaMax PLC serial port is compatible with RS-422. An RS-232 to
RS-422 converter is required to interface to systems that provide RS-232 compatible
interfaces.
The PLC RS-422 serial port provides the physical connection for SNP communication.
The figure below shows the serial port orientation and connector layout for the PLC port.
a43621
PLC
15 8
9
PIN
1
The table below shows the pin numbering and signal assignment:
Pin Number Signal Name Description
1 Shield
2 No Connection
3 No Connection
4 ATCH * Hand-Held Programmer attach signal
5 +5V * +5V Power for: HHP and RS-232/485 Converter
6 RTS (A) Request To Send
7 Signal Ground Signal Ground, OV
8 CTS (B’) Clear To Send
9 RT * Terminating Resistor for RD **
10 RD (A’) Receive Data
11 RD (B’) Receive Data
12 SD (A) Send Data
13 SD (B) Send Data
14 RTS (B) Request To Send
15 CTS (A’) Clear To Send
* Signals available at the Connector but are not included in the RS-422 specification.
SD (Send Data) and RD (Receive Data) are the same as TXD and RXD (used in the Series Six PLC).
(A) and (B) are the same as - and + . A and B denote outputs, and A’ and B’ denote inputs.
.
The IBM-AT, IBM-XT or compatible computer’s RS-232 serial port is a 9-pin D-type
male connector as shown in the figure below.
a44523
IBM-AT/XT
5 9
6
PIN
1
IBM-A IBM-X
T Signal Description T Signal Description
Pin No. Pin No.
1 DCD Data Carrier Detect 1 NC
2 RD Receive Data 2 TD Transmit Data
3 TD Transmit Data 3 RD Receive Data
4 DTR Data Terminal 4 RTS Request to Send
Ready
5 GND Signal Ground 5 CTS Clear to Send
6 NC 6 NC
7 RTS Request to Send 7 GND Signal Ground
8 CTS Clear to Send 8 DCD Data Carrier Detect
9 NC 9 DTR Data Terminal
Ready
NC = Not Connected
RS-232/RS-485 Converter
This section shows two serial port connections for Series 90 and VersaMax PLCs.
Cabling may vary, depending on the devices and converter used in your application.
In the point-to-point configuration only two devices can be connected to the same
communication line. The communication line can be directly connected using RS-232 (50
feet, 15 meters maximum) or RS-485 (4000 feet, 1200 meters maximum). Modems can
be used for longer distances.
RD 2 2 TD DCD ( A ) 2 2
IBM-AT TD 3 3 RD DCD ( B ) 3 3
(COMPATIBLE) RTS 7 5 CTS RD ( A' ) 10 12 SD ( A )
CTS 8 20 DTR RD ( B' ) 11 13 SD ( B )
RS-232 DCD 1 8 DCD SD ( A ) 12 10 RD ( A' ) SERIES
*Power source for point-to-point connection 10 feet (3 meters) only. Converter power source beyond 10 feet (3 meters) and for multidrop
connection must be external source.
**Termination resistance for the receive data (RD) signal needs to be connected only on units at the end of the lines.
Series 90 PLC products by connecting a jumper between pin 9 and pin 10 inside the 15-pin D-shell with the following exception. For Series 90-70 PLCs,
catalog numbers IC697CPU731 and IC697CPU771, the termination for RD at the PLC is implemented by a jumper between pin 9 and pin 11.
Multidrop Connections
In the multidrop configuration, the host device is configured as the master and one or
more PLCs are configured as slaves. This method can be used when the maximum
distance between the master and any slave does not exceed 4000 feet (1200 meters). This
figure assumes good quality cables and a moderately noisy environment. A maximum of
8 slaves can be connected using RS-422 in a daisy chain or multidrop configuration. The
RS-422 line must include handshaking and use wire type as specified in the “Cable and
Connector Specifications” section.
*
Termination resistance for the receive data (RD) signal needs to be connected only on units at the end of the lines. this termination is made on the
Series 90 PLC products by connecting a jumper between pin 9 and pin 10 inside the 15-pin D-shell with the following exception. For Series 90-70 PLCs,
catalog numbers IC697CPU731 and IC697CPU771, The termination for RD at the PLC is implemented by a jumper between pin 9 and pin 11.
Ground Potential: multiple units, not connected to the same power source, must have common ground potentials
proper operation of this system.
Miniconverter Kit
This section describes the Miniconverter Kit for use with Series 90 and VersaMax PLCs.
Description of Miniconverter
RS-422 RS-232
PORT PORT
When used with an IBM PC-AT, or compatible computer, one end of the extension cable
plugs into the Miniconverter’s 9-pin serial port connector, the other end plugs into the
9-pin serial port of the computer. The Converter plug (supplied with kit) is required to
convert the 9-pin serial port connector on the Miniconverter to the 25-pin serial port
connector on the IBM PC-XT or PS/2 Personal Computer.
The pinouts were chosen to allow direct connection (using a straight through, or 1 to 1
cable (as provided with kit) to the IBM PC-AT. Most IBM compatible computers
equipped with an RS-232 port will provide a pinout compatible with the one shown above.
System Configurations
a44982
PIN PIN
TXD 2 2 RXD
RXD 3 3 TXD
CTS 7 7 RTS
RTS 8 8 CTS
GND 5 5 GND
1 DCD
6 DSR
4 DTR
C
Use this procedure to transfer your license from one computer to another. Usually, a
floppy disk is used to transfer a license but a network shared directory (write-able by both
machines) can also be used. In this example, a floppy disk is assumed. The floppy disk
does not need to be reformatted.
GFK-1670D C-1
C
Click the Register Floppy for Transfer In button on the Transfer In License dialog.
Enter a floppy disk into the floppy drive and click the OK button. (The floppy disk
doesn’t have to be clean.)
The following message will appear when the floppy is successfully registered.
The Transfer In License dialog will remain. Do not click any buttons. Proceed to the
licensed machine to perform “Step 2 – Transfer Out.”
Click the Transfer License Out by Floppy button on the Transfer Out License dialog.
Since we are transferring via a floppy disk, insert the registered floppy disk into the floppy
and click the OK button.
You should see one of the following two messages reflecting a successful license transfer
out. Click the OK button.
(Message 1) This message appears when the licensed machine carries only one
license. This is the more common of the two. Since the machine’s only license is
transferred out, a 4 day trial license is assigned to the machine.
or
(Message 2) This message appears when the licensed machine contains multiple
licenses and shows how many licenses remain.
You are finished using this machine. Return to the unlicensed machine with the licensed
floppy disk to proceed with “Step 3 – Transfer In.”
Insert the licensed floppy disk into the floppy drive and click the OK button.
The following message indicates a successful license transfer. Click the OK button to exit
the Register Now! program. You are now ready to run your licensed VersaPro product.
D
The quick reference card on the next page contains a listing of keyboard shortcuts for
VersaPro commands, as well as other programming tips.
GFK-1670D D-1
D
ALT+2 Show or hide the Information Window. ALT+BACKSPACE Undo the last action.
ALT+3 Show or hide the Variable Declaration Table. ALT+ENTER Display properties dialog for selected block
or folder.
ALT+6 Show or hide the Local Logic Variable
Table. CTRL+A Select the entire block or table.
ALT+F6 Arrange windows so they overlap. CTRL+C Copy the selection to the Clipboard.
ALT+F7 Arrange windows as horizontal non- CTRL+INSERT Copy the selection to the Clipboard.
overlapping tiles.
CTRL+V Insert Clipboard contents.
ALT+F8 Arrange windows as vertical non-
CTRL+F3 Find/replace the specified item.
overlapping tiles.
Cut here
↓
SHIFT+↓ Increase/decrease selection area down. To perform operations with the connected PLC
HOME If edit mode is off, focus moves to the current row's first F9 Connect to a specific PLC.
cell the first time Home is pressed. Pressing Home again
moves focus and to the entire rung. CTRL+F9 Disconnect from PLC.
ALT+F2 Store this folder to PLC.
If edit mode is on in the current cell, the cursor moves to
the left of the first character in the field. CTRL+F2 Load from PLC into this folder.
END If edit mode is off, focus moves to the current row's last F4 Verify this folder with PLC.
occupied cell the first time End is pressed. Pressing End
again, moves focus to the row's last cell. F5 Place the PLC in Run Mode.
CTRL+F5 Place the PLC in Stop Mode.
If edit mode is on in the current cell, the cursor moves to
the right of the last character in the field. SHIFT+F4 View PLC status.
CTRL+HOME Move to the first row's first cell. ALT+V, ALT+N, ALT+L Set Monitor Active for All Blocks.
CTRL+END Moves to the last row's first cell. ALT+V, ALT+N, ALT+A Set Monitor Active for Active Block.
TAB Move to right one cell. ALT+V, ALT+N, ALT+OSet Monitor Off.
SHIFT+TAB Move to left one cell. To change a selected variable’s data display format
ENTER on an empty cell The Instruction dropdown list is activated. in LD Editor, IL Editor, RVT, or VVT
As you type the instruction mnemonic, VersaPro sorts the
CTRL+SHIFT+B Display the value in binary format.
possible instructions for the specified location.
CTRL+SHIFT+D Display the value in signed decimal format.
ENTER on a cell that contains an instruction or operand
The Variable dropdown list is activated. As you type the CTRL+SHIFT+H Display the value in hex format.
Variable name, VersaPro sorts the possible variables that
are valid for this context. If the instruction is a comment, CTRL+SHIFT+O Display the value in octal format.
it is placed in Edit mode. CTRL+SHIFT+R Display the value in real format.
SHIFT+ENTER on a cell that contains an instruction or operand CTRL+SHIFT+S Display the value in scientific notation
The Instruction dropdown list is activated. As you type format.
the instruction mnemonic, VersaPro sorts the possible
instructions for the specified location. CTRL+SHIFT+U Display the value in decimal format.
SPACEBAR Toggle selection on/off.
CTRL+SPACEBAR Toggle selection on/off.
DELETE Delete the selection.
CTRL+ENTER Exits a comment that has been placed in Edit
mode.
<Instruction Mnemonic>, <Variable Name>
Enter an instruction and variable name at the same time.
i.e. “NOCON , DiscreteVarOne.”
<Instruction Mnemonic>, <Variable Name>, <Reference Address>
Enter an instruction and define a variable name at the
same time. i.e. “NOCON , DiscreteVarTwo, %I12”
Index
Block logic
# converting, 3-22, 3-24
Block properties
#### viewing, 3-8
view tables, 8-2, 8-3 Block size, maximum, 3-7
Blocks
_
_MAIN, 3-1
arranging in browser, 3-8
changing order, 3-9
_MAIN, 3-1 closing, 3-13
copying between folders, 3-4
9 deleting, 3-12
inserting, 3-4
90-30 Rack locating names, addresses, or
configuring, 7-8 call statements, 3-18
90-70 Rack opening, 3-6
configuring, 7-8 saving, 3-13
Boolean expressions
A
nesting, 5-17
Browser, 2-12
Built-in functions
Accessing Hardware
IL editor, 5-13
Configuration, 7-2
Adding elements to a View
Table, 8-8 C
Address
completing in IL Editor, 5-5
Cable and connections for
completing in LD Editor, 4-9 serial port, B-3
Advanced User Parameters, Cable diagrams, serial
EGD (CPUE05) connection, B-6
format, 7-43 Cam blocks
Assigning conversion creating, 9-16
variables, 3-22 deleting, 9-16
duplicating, 9-16
Assigning temporary variables,
editing, 9-16
3-15 properties, 9-17
Audit trail mode renaming, 9-17
setting, 7-7 Cam Editor, 9-14
Audit Trail Mode installing, 9-14
configuring log view, 7-50 Cam profiles
Auto Correct, 7-6 example, 9-15
Autoconnect options using in a Motion program,
setting, 1-7 9-17
Carriers (VersaMax)
B configuring, 7-23
deleting, 7-25
Bases (VersaMax) power supply booster, 7-23
configuring, 7-23 Catalog numbers, converters
power supply booster, 7-23 IC690ACC901, B-8
Bitmap CCU. See Communications
copy as, 4-15 Configuration Utility
GFK-1670D Index-1
Index
L
setting, 1-4
setting options, 7-7
shortcut keys, 7-6
toolbar, 7-3 Label column
High speed counter IL editor, 5-2
Series 90 Micro, 7-48 Ladder display options
VersaMax Nano/Micro, 7-46 customizing, 4-3
Highest references used, 6-14 Ladder Logic
editing, 4-14
I
LD Editor
customizing options, 4-3
entering instructions, 4-5
I/O Fault Table, 11-1 overview, 4-2
IBM-AT/XT serial port, B-5 LD functions
IL editor toolbar, 4-6
built-in functions, 5-13 LD Functions
IL Editor toolbar, 4-7
customizing display, 5-3 LD instructions
entering instructions, 5-4 entering using keyboard, 4-9
nesting Boolean expressions, entering using toolbar, 4-6,
5-17 4-8
IL instructions LD Instructions
entering, 5-4 data length, 4-5
IL language entering, 4-5
overview, 5-9 function address, 4-5
Importing Variables, 6-15 LD_BOOL, 5-9
Information window, 2-12, LD_ENO, 5-9
2-13 LD_INT, 5-9
Inserting an empty row, 4-16 LDN_BOOL, 5-9
Inserting objects, 3-7 Length
Installing completing in IL Editor, 5-5
Cam Editor, 9-14 completing in LD Editor, 4-9
VersaPro, 1-2 License
Instruction column transferring, C-1
IL editor, 5-2 Load/Store/Verify RIO
Instruction List Editor configuration, 7-31
overview, 5-2 Loading
Instruction parameters folder from PLC, 10-12
Index-4 VersaPro™ Programming Software User's Guide–October 2001 GFK-1670D
Index
M
configuring, 7-30
Selected blocks
printing, 2-21 T
Selecting instructions, 5-4 Tabs
Selecting logic, 4-14 variable declaration table, 6-2
LD editor, 4-14 Target communications
Serial parameter settings, 10-8 status information, 10-17
Serial port TCP/IP, 10-5
IBM-AT/XT, B-5 Temporary variables
Serial port and cables, assigning, 3-15
appendix C defining, 5-19
cable and connector Timed interrupt
specifications, B-3 90-30 block name, 3-3
IBM-AT/XT serial port, B-5 Timing Considerations
multidrop connections, B-7 for EGD, 7-39
RS-232 point-to-point Toggle reference
connections, B-6
reference view tables, 8-14
RS-232/RS-485 converter,
B-5
Toolbar
RS-422 interface, B-2 compact, 4-6
serial cable diagrams, B-6 expanded, 4-7
Serial port, B-4 Toolbars
Serial port update device. See hardware configuration, 7-3,
7-8
EZ Program Store
VersaPro, A-7
Series 90 Micro Transfer utilities
configuring, 7-47
read/write/verify EZ Program
Shared module IDs Store, 10-16
VersaMax, 7-29, 7-33 read/write/verify flash
Shortcut Keys memory, 10-15
hardware configuration, 7-6 Transfer Utilities
SNF File clearing PLC Memory, 10-13
exporting variables, 6-17 loading from the PLC, 10-12
importing variables, 6-15 loading from the PLC, 10-10
Sorting variables, 6-12 storing to the PLC, 10-10
Specifications verifying folder data, 10-14
serial port cables, B-3 Transferring your VersaPro
ST_BOOL, 5-9 license, C-1
ST_DINT, 5-10 Type
ST_INT, 5-10 instructions, 4-5
Starting VersaPro, 1-2
Status bar, 2-12
Status information
U
PLC, 10-17 Undo, 3-14
STN_BOOL, 5-9 Undo levels
Stop Mode, 10-19 setting, 7-7
Storing Unequal after check all or
folder to PLC, 10-10 verify, 10-11
Motion/Local Logic, 9-11 Unused variables
RIO configuration, 7-32 finding, 6-14
Syntax checks
performing, 3-21
GFK-1670D Index Index-7
Index
V
with overlaps, 4-10
VersaMax expansion networks
configuring, 7-25
Value column VersaMax modules
IL editor, 5-2 shared IDs, 7-29, 7-33
Variable Declaration Table, 2- VersaMax Nano/Micro
12, 6-1 configuring, 7-45
address field, 6-3 VersaMax Rack
clearing, 6-13
configuring, 7-21
compacting, 6-14
VersaMax Remote I/O
description field, 6-3
configuring, 7-30
EXT field, 6-4
field descriptions, 6-3 VersaPro
length field, 6-3 overview, 1-3
name field, 6-3 View Tables
navigating, 6-6 adding entries, 8-8
navigating with the keyboard, customizing, 8-4
6-6 options, 8-4
navigating with the mouse, saving, 8-13
6-6 viewing online, 8-14
overrides field, 6-4
retentive field, 6-4
saving edits, 6-13
W
scope field, 6-3 Warning color
stored value field, 6-3 setting, 7-7
tabs, 6-2 Windows
type field, 6-3 docking, 2-15
Variable Name, 4-11 hiding, 2-15
Variable View Table moving and resizing, 2-15
customizing display, 8-6 Word for word changes, 10-11
Variable View Tables Workbench options
creating new, 8-7 setting, 1-4
overview, 8-2 Workbench Window, 1-4
Variables Writing
assigning to function block a value to a reference, 8-10
parameters, 4-10
assigning to instruction
operands, 5-5
creating, 6-5
Z
creating when adding blocks, Zoom ratio
3-15 setting, 4-4
deleting, 6-12
exporting, 6-16, 6-17
Go To, 6-7
importing and exporting,
6-15
locating in the VDT, 6-7
modifying, 6-5
replacing in LD Editor, 4-12