Sabtu, 21 Februari 2009

automation ladder diagram basic knowledge

Build a simple ladder diagram.
Enter the following simple rung in the Ladder Diagram editor by selecting each ladder component from the tool bar and placing it in the Editor window. To enter the contact variable, select the normal pointer (press escape), double click above the contact, and choose T_100MS from the list box. To enter the coil reference address, double click the coil and type 1q. T_100MS %Q00001

Edit a variable name.
In the Variable Declaration Table, type in a name and description for %Q00001. The name may be up to 32characters in length, and the description may contain up to 64 characters. The workspace on your desktop should now be similar to the one pictured on page 5. VersaPro PLC Programming Software Familiarization Lab October 2000

Importing Files
One of the first tasks you might undertake is to import a program developed using one of GE Fanuc’s earlier PLC programmer products, Logicmaster or Control. (VersaPro also provides the ability to import variables created in other applications such as CIMPLICITY HMI, Logicmaster, Control, or tools like Excel or Access.) To accomplish the tasks in this lesson, you will need syntactically correct Control and Logicmaster folders and Excel. The tasks are independent of each other – if you skip one, you will still be able to do the others.

Import a Logicmaster folder.
Series 90-70, Series 90-30, and Series 90 Micro folders can be imported from Logicmaster.
1. Select File, New Folder.
2. You will be prompted to close and save your existing open folder. (Only one folder can be open at a time.) Click Yes.
3. The New Folder Wizard will appear. Type a name of your choice for the folder. If you want to put the new folder in a directory different from that specified in the Location field, click the browse button next to the Location field to select the folder path.
4. Click the Next button.
5. On the next screen, choose Import Logicmaster 90. In the From field, use the browse button to locate a Logicmaster folder.
6. Click Finish. The New Folder Wizard closes, and VersaPro attempts to complete the import process. Details of the import process are logged in the Information Window.
7. Spend a few minutes reviewing this folder. Note that all nicknames are imported and that all comments retain their original format. See how different instructions look in the VersaPro ladder diagram editor. You can use the function toolbar to create new logic. VersaPro PLC Programming Software Familiarization Lab October 2000

Import a Control software folder.
You can import VersaMax (.F2K), Series 90-30 (.F3X), and Series 90-70 (.EF7) folders from Control.
Note: When importing a Control folder, variables must first be exported from the Control folder in shared name file (SNF) format, if you want to import the variables.
1. Create an SNF File.
a. If you do not already have an .snf file containing variable information, open a folder in Control
software and use the Export feature from the Variable Declaration Table to create an .snf file.
b. Close Control before you proceed.
2. Create a new folder in VersaPro.
a. Select File, New Folder.
b. You will be prompted to close your existing open folder. (Only one folder can be open at a time.)
c. The New Folder Wizard will appear. Create a new folder with a new name. If you want to put the new folder in a directory different from that specified in the Location field, click the browse
button next to the Location field to select the folder path.
d. Click the Next button.
e. Choose Import Control on the next screen. In the From field, use the browser button to locate a Control folder.
f. 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.)
g. Click OK to begin the Import process.
h. Spend a few minutes reviewing this folder. Note that all nicknames are imported. Also, note that Comment contents are not imported. See how different instructions look in the VersaPro ladder diagram editor. You can use the function toolbar to create new logic.
3. Import a Shared Name File.
a. In the folder you just created, select any cell in the Variable Declaration Table. Select Tools,
Import Variables.
b. Locate the Shared Name File (filename extension .snf) on your computer. A browser window will open.
c. Click Open to import the file. If the file being imported contains variables that conflict (same
name and scope) with those in the VersaPro folder, the Variable Resolution dialog box will
appear. If this happens, you can simply click OK to accept the default settings, or press F1 to get
more information about the Variable Resolution settings.
d. The results of the Import process will be logged in the Information Window. Verify that the
variables you imported appear in the Variable Declaration Table.

Hardware Configuration Ge Fanuc PLc for control automation

The Stand Alone Hardware Configuration (HWC) features a Parameter Editor window that allows you to configure module parameters in either a tabbed or spreadsheet view. HWC supports Series 90-30, Series 90-70, VersaMax modular, VersaMax Nano/Micro, and Series 90 Micro rack systems. Become familiar with the Standalone Hardware Configuration tool.
1. Create a new folder and name it Lab_2.
2. Start HWC by double clicking Hardware Configuration in the Folder Browser or clicking the Open Hardware Configuration button in the View toolbar. You will see a screen similar to the one shown
3. The Log View, Power Consumption, and Reference View windows are dockable (they can be set to a fixed location in the Workspace). Move the windows to a position you are comfortable with.
Note: Docking is selected by default. To turn docking on or off, select Allow Docking from the contextsensitive menu.
4. Toggle the Reference View , Log View , and Power Consumption View windows off and on
by clicking the buttons on the toolbar.

Change the hardware configuration type.
If the Default Hardware Configuration rack (VersaMax by default) is not the type you plan to work with, it can be changed using the following steps:
1. In the HWC window, choose File, Convert To. From the Convert To submenu, select Series 90-30, Series 90-70, VersaMax Nano/Micro, or Series 90 Micro. The current system type will be grayed out.
2. Note that when you change the hardware type, the module configurations associated with the previous type will be lost.
3. Change the system back to VersaMax by selecting File, Convert To, VersaMax.
Note: The Default Hardware Configuration setting in VersaPro's Options dialog box determines the default PLC type for a new folder. (The initial setting is VersaMax.) To change the Default Hardware Configuration setting, go to the VersaPro window and select Tools, Options. On the General tab, change the Default Hardware Configuration to the type that you will be using. The next new folder that you create will use the new default hardware setting.

Rabu, 18 Februari 2009

create folder in Versapro programming from Ge Fanuc

Opening VersaPro 1.x created folders
When opening VersaPro 1.x folders, the following dialog will be presented asking if you want to re-check the folder. The purpose of the re-check is to flag any syntax errors that were not being caught by 1.x versions and to update the folder to support the new functionality provided in VersaPro 2.0x. It is recommended that you select Yes, perform a check all on the folder and correct any syntax errors. After going through this process, the message will not be presented the next time the folder is opened. To avoid inequality issues with the PLC, it is recommended that you open hardware configuration, save it in the new format and store your logic to the PLC. These operations are required because new functionality has been added to the VersaPro 2.0x f olders. However, the program and configuration are functionally equivalent to what was previously stored to the PLC using VersaPro 1.x. If you open a folder created in a previous version of VersaPro, select Yes to the message below and re-check it, you will not be able to reopen the folder in the VersaPro build it was created in. Selecting No will not force you to re-check the folder or correct any syntax errors. In addition, you will be able to gain equality with the PLC and monitor existing logic. However, the dialog shown below will appear each time the folder is opened and the logic portion of the folder will be in a read only state and will allow only limited operations.

Logicmaster 90-70 Folder Import Procedures
If you have a Logicmaster 90-70 folder created before Release 6 of Logicmaster, you should use the following procedure to import your Logicmaster folders into VersaPro:
1. Open Logicmaster 90-70 Release 6 or greater.
2. Press F1 to enter programming mode and select any folder.
3. Press F8 (Program Folder Functions) and then F1 (Select/Create a Program Folder).
4. Select the folder to be imported into VersaPro followed by Ctrl-T. You will see a message “Converting old logic files to new format, please wait ...” followed by “File conversion complete; press any key to continue”.
5. In VersaPro, create a new folder based on the Logicmaster folder.
6. For some 90-70 CPUs, you will need to update the hardware configuration before it will store correctly to the PLC ("Store Error. 0x05C0 - Bad OMF record checksum in store"). You can update the hardware configuration by opening hardware configuration, adding any module to an empty slot, deleting the module and then saving hardware configuration. The
folder should then store without error (CR75804).
7. In some cases, the folder will still not convert completely because the declaration file, symbol table, hardware configuration, data tables or C Blocks have not been updated to the LM90-70 Release 6 format. The Ctrl-T operation in Logicmaster will only update the logic files.
a. If the declaration file is not imported as indicated by the following message in the VersaPro information window “Unable to import declarations file,” you should open the folder with Logicmaster, add a rung with just a coil, and type %Q, which will then force the value to be the next highest used. Then delete the rung. This will force the declaration file to be recompiled in the LM9070 Release 6 or greater format.
b. If the symbol table is not imported into VersaPro indicated by a message “Failure to read block_name.ste,” then you should open the folder with Logicmaster 90-70 Release 6 or greater, add a variable to the variable declaration area of the block that will not import and then delete the variable to force Logicmaster to recompile the symbol table in the new format.
c. If you receive an error message “Invalid iocfg.cfg file; Please select valid iocfg.cfg,” you should open the folder in Logicmaster 90-70 Config package and edit one of the configuration items by changing it to another value and then back to the original value.
d. If your folder has C blocks and the folder was created before LM9070 Release 6, you will need to re-import the C blocks into Logicmaster 90-70 Release 6 or greater before importing the folder into VersaPro. The Ctrl-T operation does not update C blocks.
e. If you receive an error stating that a data table could not be converted (Error: Unable to import initial value files), you should use the following procedure to ensure the data tables are converted to LM9070 Release 6 formats or greater.
i) Go to Logicmaster 90-70, select the folder and press F2 to go to the data tables.
ii) You will first see the %I table. Change the value at %I00001 and then back to its original value. Press “*” on the number key pad twice to update the override tables.
iii) Type %Q to see the %Q table. Change the value at %Q00001 and then back to its original value. Press “*” on the number key pad twice to update the override tables.
iv) Type %M to see the %M table. Change the value at %M00001 and then back to its original value. Press “*” on the number key pad twice to update the override tables.
v) Type %AI to see the %AI table. Change the value at %AI00001 and then back to its original value.
vi) Type %AQ to see the %AQ table. Change the value at %AQ00001 and then back to its original value.
vii) Type %R to see the %R table. Change the value at %R00001 and then back to its original value.
viii) Type ALT-U to update the files on disk.
8. After the conversion process, VersaPro may create many variables that are not used in logic. These variables were created to hold either stored values, override states or retentive states. With a large number of variables, VersaPro’s performance can be impacted. Unless your application specifically needs the stored values, override state or retentive states for these variables (not used in logic), it is recommended that you select FolderFind Unused Variables (this may take some time), enter the delete key to delete these variables and then select FolderCompact.

Senin, 16 Februari 2009

Working With Blocks in VersaMax versapro programming from Ge fanuc

The Series 90-30 and VersaMax PLCs support multiple blocks per folder (the total umber of blocks vary, depending on the PLC configured). All PLCs require that ne of the blocks is _MAIN. This block is automatically created when you create a ew 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

Creating, Inserting and Opening Blocks
VersaPro allows you to use multiple blocks per folder, one of which must always be a _MAIN block. A name is always required in order for a block to be created. Note that each PLC model has a different limit for the number of blocks, excluding _MAIN, that can be created in a folder. (Series 90 Micro supports only a _MAIN block.) More than one block can be open at once. Once a block has been created, it can be called from within the _MAIN or any other block. You can also call a block that does not yet exist, but that you intend to create. When you compile, a syntax error appears, reminding you that the new block has not been defined.

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 on form 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.

Creating an External C Block
Note: The C executable file must be created using the C Programmer’s Toolkit for Series 90 PLCs. Also, it must be created specifically for the target PLC (90-70 or high-end 90-30). 90-30 C blocks do not use input/output parameters.
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.

Sabtu, 14 Februari 2009

Versapro programming from Ge Fanuc

Versapro Overview
GE Fanuc's Windows Ò-based programming software for the Series 90ä-30 and VersaMaxä PLCs. VersaPro is designed to install and run under Windows 95, Windows 98, Windows NT Ò4.0 SP5 onwards, Windows 2000 and Windows XP. With VersaPro, you can: Create PLC logic and information associated with that logic in a folder
· Configure PLC Hardware
· Create and edit variables
· Create, edit, and monitor the execution of Ladder or Instruction List logic
· Create Motion, Local Logic and Cam programs for the 90-30 DSM314 Motion module Chapter Contents
· Overview of the VersaPro Programming Software components
· The Workbench Window
· Configuring Workbench Options (setting editor and target hardware)

Installing VersaPro Software
Note: VersaPro must be installed on a hard drive in your computer. Do not attempt to install VersaPro on removable media such as Jaz® or Zip® drives.
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. Note: For procedures to transfer your VersaPro license to another computer, refer to Appendix C.

Starting VersaPro Software
The VersaPro application is installed in the GE Fanuc Software Program group. The application can be started by selecting Start->Programs->GE Fanuc Software->VersaPro. It is also possible to create a shortcut to the VersaPro application and place the shortcut on the desktop, or to click on a file created by VersaPro (the file in the VersaPro folder with a .fld extension), and start the application in the context of the selected folder. VersaPro may also be started using CTRL-ALT V.
GFK-1670D Chapter 1 Introduction 1-3
1 Multiple Instances of VersaPro
· If you are using a serial connection, only one instance of VersaPro can be connected to the PLC. You can have multiple offline (not connected to the PLC) instances.
· If you are connecting to the PLC via Ethernet, you can have only one instance of VersaPro. Using VersaPro – Overview VersaPro provides a single programming interface to configure your PLC hardware, create and edit PLC logic, and monitor the execution of the PLC program. Component Description Folder Browser Displays a tree-like structure that provides an overview of the current folder Hardware Configuration VersaPro's default hardware platform is the VersaMax PLC. You can 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 Communications VersaPro supports serial and Ethernet connections to the Series 90-30 and VersaMax PLCs.

Online Monitoring
Online monitoring and control is supported in logic editors and Reference 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 Window
The Information window displays the results of actions performed in 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

Senin, 02 Februari 2009

PCI-85 Modbus Plus Interface Adapter Kit

Introduction
The PCI Modbus Plus Communications Adapter mounts in a single PCI slot of an IBM PC or compatible Personal Computer. The PCI-85 card links your computer to a Modbus Plus network allowing computer based applications to exchange data with Schneider Programmable Logic Controllers and with
other devices on the network.


Key features and benefits
Key features and benefits include:
• Faster performance
• The MB+ solution for PCs without ISA slots
• Fast installation & better compatibility (as Plug and Play supported)
• New MB+ Driver Suite CD included.
• Supports Windows 98, Me, NT 4.0, Windows 2000.
• High availability (i.e. dual cable) version available.