exporting to csv

Upload: shijub001

Post on 14-Apr-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Exporting to Csv

    1/19

    This application note covers the basic use of CSV Importing and Exporting in RSLogix 500 and how to makemodifications in Microsoft Excel.

    EXPORTING TO CSV IN RSLOGIX 500

    1) In RSLogix 500 open the project file with documentation and do the following to export the documentation intoCSV format

    2) Click on the CSV tab as show (you can either accept the defaults or change the name if required) and then OK.

  • 7/30/2019 Exporting to Csv

    2/19

    3) By default, RSLogix 500 will place the exported CSV file into the directory defined for the project file (You couldalways change this by

    selecting the Directory, Drives, or Network), Click OK to start the export.

  • 7/30/2019 Exporting to Csv

    3/19

    4) When the export is finished, the following screen will display the results of the export process. Click on the OKto discard the message

    or Save To File to record the contents of the log file.5) Exporting to a CSV file format is complete.

  • 7/30/2019 Exporting to Csv

    4/19

    OPENING, MODIFYING, AND SAVING A CSV FILE WITH MICROSOFT EXCEL

    1) To open a CSV file with Microsoft Excel, do the following:

  • 7/30/2019 Exporting to Csv

    5/19

    2) Navigate to the directory where the CSV file exists (usually it is in C:\Program Files\Rockwell Software\RSLogix500 English\Project,

    unless it was saved to a different path).3) Change the Files of type option to Text Files4) Highlight the File Name, and click Open.

  • 7/30/2019 Exporting to Csv

    6/19

    5) The following display shows the default layout of the exported RSLogix 500 CSV file.

  • 7/30/2019 Exporting to Csv

    7/19

    6) Making changes to the database can easily be done. Click on any cell to Modify, Add, or Delete.

  • 7/30/2019 Exporting to Csv

    8/19

    7) To save any changes made to the file, do the following.

  • 7/30/2019 Exporting to Csv

    9/19

    8) The save as dialogue box will display the current File Name with a Save as type as CSV (Comma delimited)9) To save the file with the current name select save.

  • 7/30/2019 Exporting to Csv

    10/19

    10) The following dialogue box confirms that changes were made to the current file and the original CSV file willbe replaced.11) Select YES within the dialogue box.

  • 7/30/2019 Exporting to Csv

    11/19

    12) Excel will return to the modified CSV file, verify that changes were made to this CSV file by locating a cell thatwas changed.13) Next close Microsoft Excel by doing the following.

  • 7/30/2019 Exporting to Csv

    12/19

    14) When the next dialogue box appears, select NO, the file was previously saved to an CSV file format. There isno need to convert

    this file into an Microsoft Excel 97 format, and then back to an CSV file.15) Microsoft Excel will terminate after select NO.

  • 7/30/2019 Exporting to Csv

    13/19

    IMPORTING FROM CSV IN RSLOGIX 500

    1) In RSLogix 500 open the project file and do the following to import the documentation from a CSV format

    NOTE: If documentation currently exists within the project, the import will overwrite the current database.To start an import with no documentation database, perform a Delete DB, before the import the CSV file.

  • 7/30/2019 Exporting to Csv

    14/19

    2) On the ASCII Import Directives dialogue box, click on CSV

  • 7/30/2019 Exporting to Csv

    15/19

    3) By default, RSLogix 500 will look for the CSV file into the directory defined for the project file (You could alwayschange this by

    selecting the Directory, Drives, or Network), Click on the File Name for the CSV file and then on OPEN to startthe import.

  • 7/30/2019 Exporting to Csv

    16/19

    4) The following screen will show the current status of the import.

  • 7/30/2019 Exporting to Csv

    17/19

    5) When the import is finished, the following screen will display the results of the import process. Click on the OKto discard the message

    or Save To File to record the contents of the log file.

  • 7/30/2019 Exporting to Csv

    18/19

    6) The RSLogix 500 Project file will now have the documentation. Simply save the project keep the currentchanges.

  • 7/30/2019 Exporting to Csv

    19/19