Verifying the import operation, Creating or editing an ascii file, File format specification of import/export – Watlow LogicPro User Manual
Page 83
LogicPro User’s Guide
Chapter 6: Variables
Doc.# 28002-00 Rev 3.00
Watlow Anafaze
67
Verifying the Import Operation
After importing a file, you can verify the result by opening the
Resource or Program Variables within LogicPro and
observing the Variable list. You can edit each individual
Variable to ensure that the
Import
operation executed
correctly and the result is what you expected.
Creating or Editing an ASCII file
You can create a file for import using any ASCII text editor,
such as Microsoft’s MS-DOS Editor. Word processors like
Microsoft’s Word, are not ASCII text editors and they may
add control and formatting codes that make the file unusable
in LogicPro. If you want to use a Word Processor for this
function you must save the file as a text file. Consult your
Word Processor manual for more information.
The file you want to import must have a *.TXT extension and
use a comma-delimited field format.
File Format Specification of Import/Export
The content of the file is defined as follows:
The first line — indicates where the file will be imported
to or exported from. The legal form of the first line is ei-
ther
[PROJECT:ProjName], [RESOURCE:Re-
sName]
or
[PROGRAM:ProgName]
, where
PROJECT, RESOURCE, and PROGRAM indicate the
type of Variables to be imported or exported and
ProjName, ResName, and ProgName are names for the
Project, Resource, and Program.
The 2nd line — should be empty [ ]. It is reserved for fu-
ture use.
The last line — must be [
END
].
The other lines have their data separated by commas and each
line corresponds to one Variable to be imported or exported.
Each of the items are defined in the Table 6.1 on page 68.