Transfer From A Pc; Structure Of A Data Set File - Omron NT4S Operation Manual

Nt-series programmable terminal
Table of Contents

Advertisement

Standard Mode
4.8.4.2

Transfer from a PC

4.8.4.3

Structure of a Data Set File

The terminal is placed to the Ready-to-Receive state when the system variable
StartRestore is set to 1. The data sets can then be sent by the PC. The terminal
recognizes the end of the data set transfer automatically by analyzing the data it
has received. It then returns to its normal state.
To cancel the Ready-to-Receive state again without receiving data, the value of the
system variable StartRestore must be changed to 2.
The system variable RestoreState indicates whether or not the terminal is ready to
receive.
If a formatting error is detected in the received data, a system message to this effect
is output and the receive process is terminated. The position of the formatting error
can be localized, at least approximately, with the aid of the system variable Re-
storeLineNr. This variable contains the number of the last line to have been re-
ceived.
Data sets can only be stored in the terminal if their structure is still identical to the
data set structure specified for the recipe concerned in the user description. This
can be checked by the terminal on the basis of a version number (see Structure of
Data Set File). If a data set which is found to be invalid is received, it is rejected and
a system message to this effect is output. The receive process is not terminated,
however.
If a data set with the same number as the transferred data set is already stored in
the Flash-Eprom, the newly received data set is rejected without any warning to the
operator.
If a data set with the same number as the transferred data set is already stored in
the RAM, a parameter setting in the received data (see Structure of Data Set File)
determines whether or not the existing data set is overwritten. If it is not supposed to
be overwritten, and another data set with the same number already exists in the
terminal, the newly received data set is similarly rejected without any warning to the
operator.
The data sets transferred to the PC are generally stored in a file.
If this file is only used for backup purposes, the operator does not necessarily be
familiar with its structure. In this case, the file can merely be transferred back to the
terminal unchanged when it is needed.
If the data are to be processed further, for example, within the scope of production
data acquisition, the operator should understand the structure of the file.
All of the data in the data set file are represented by a simple language specifically
developed for this purpose.
Section 4-8
133

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt15sNt18s

Table of Contents