Application Backflush 1-0 to SAP Data Converter - 第35页
Application 2 Installation instructions for the Backflush 1.0 to SAP Data Converter application 04/2006 Edition 35 2.7.3 backflushsettings This XML tag must appear once only in the XML file, and forms the bracket s aroun…

2 Installation instructions for the Backflush 1.0 to SAP Data Converter application Application
04/2006 Edition
34
2
2
2
2
2
2
<reportTime id="Time 1" time="0:00" />
<reportTime id="Time 2" time="8:00" />
<reportTime id="Time 3" time="16:00" />
</reportSettings>
<!-- logFileSettings: occurrences: exactly 1 time
detail: "verbose" (show all messages), "medium" (show important messages) or "error"
(show only severe messages)
path: path for the log files
fileName: name of the log files (Note: a %g in a file name will be replaced by a
consecutive number) -->
<logFileSettings detail="medium" path=" C:\Program Files\Siemens SIPLACE\Back-
flushToSAP\out\log" fileName="BF_log_%g.log" />
<!-- backflushPath: occurrences: 1 to 12 times
line: just a name of that line
backflush: the path to the backflush files of this line
processed: the path where the successfully processed backflush files shall be moved
faulty: the path where the faulty processed backflush files shall be moved -->
<backflushPath line="Line 1" backflush="D:\BoardBackflushFiles\Line1" pro-
cessed="D:\BoardBackflushFiles\Line1\processed" faulty="D:\BoardBackflush-
Files\Line1\faulty" />
<backflushPath line="Line 2" backflush="\\LinePCName\BoardBackflushFiles\Line2"
processed="\\LinePCName\BoardBackflushFiles\Line2\processed" faulty="\\LinePC-
Name\BoardBackflushFiles\Line2\faulty" />
<backflushPath line="Line 3" backflush="X:\BoardBackflushFiles\Line3" pro-
cessed="X:\BoardBackflushFiles\Line3\processed" faulty="X:\BoardBackflush-
Files\Line3\faulty" />
</backflushSumRecordSettings>
Application 2 Installation instructions for the Backflush 1.0 to SAP Data Converter application
04/2006 Edition
35
2.7.3 backflushsettings
This XML tag must appear once only in the XML file, and forms the brackets around the entire
configuration file. 2
2.7.3.1 pollSpan
Backflush directories are scanned every “pollSpan” seconds. 2
Limits: 0 <= pollSpan <= 60 2
Default value: 10 2
If the set time (pollSpan) is overshot when working through existing XML files, for example, there
is another scan for new files immediately after the processing ends. 2
2.7.3.2 processDataCount
Once files are found in a directory, a maximum of "processDataCount“ XML files from this directory
are processed before moving on to process the files in the next directory. The smaller this value,
the more often the next directory is scanned. 2
Limits: processDataCount >= 0 2
Special value: 0: process all the files from a directory 2
Default value: 1000 2
2.7.3.3 processDelSpan
Subfolders from the processed directories that are more than "processDelSpan“ days old are au-
tomatically deleted. 2
Please note: If a certain subfolder should not be deleted, a "_“ may be appended to it, for example.
In this case, the age of the folder cannot be determined from its name, so the folder will never be
deleted. 2
Limits: processDelSpan >= 0 2
Special value: 0: automatic deletion of directories is disabled 2
Default value: 14 2
2
2
2
2
2
2 Installation instructions for the Backflush 1.0 to SAP Data Converter application Application
04/2006 Edition
36
2.7.3.4 reportSettings
This XML tag must appear exactly once in the XML file and describes the method of storage, the
storage location and the time of the XML result file. 2
mode 2
The "Mode“ switch determines whether the program stores the report files in the folder for auto-
matic or semiautomatic reports. The difference lies in the rest of the processing sequence (see
diagram under 5.4) 2
Possible values: "Auto" or "Semiauto" 2
autoModeReportPath 2
This value describes the path under which the report files are stored for automatic further process-
ing with the SAP tool. The path is only active, however, if the "mode“ switch is also set to auto,
thus activating automatic mode. 2
Please note: Absolute path settings are required 2
Example: F:\BackflushToSAP\Settings.XML 2
SemiautoModeReportPath 2
This is used to set the path under which the report files will be stored in Semiauto mode. This re-
quires "semiauto“ to be set using the "mode“ switch (see above). This setting is intended to allow
the XML files to be checked before they are sent to SAP. If the SAP files are to be processed by
the SAP converter, then the files must be copied manually to the Auto directory. 2
Please note: Absolute path settings are required 2
Example: F:\BackflushToSAP\Settings.XML 2
reportTime 2
This XML tag may occur from 1 to 1440 times and describes the time at which the report XML file,
consisting of PCBs and the time, is renamed from .txt to .XML. The time in the file name represents
the first time the file was saved. It cannot be modified. 2
–id
Just one name for this time, e.g. "End of shift 1“. 2
The value is used to describe the time, but is not used again. 2
–time
The time in HH:MM format. It says when a report file should be created or renamed from the tem-
porary name to the definitive name. 2