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.

Tidak ada komentar: