Transferring Data Sets To / From A Pc; Transfer To A Pc - Omron NT4S Operation Manual

Nt-series programmable terminal
Table of Contents

Advertisement

Standard Mode
4.8.4

Transferring Data Sets to / from a PC

4.8.4.1

Transfer to a PC

132
- The PLC issues a request for a data set read process. For this process, the
controller writes the recipe number and data set number (the same as those for
the transfer to the controller on request by the controller) of the destination data
set to the variable specified for this purpose. Subsequently, one of the message
numbers
7FFDH (variables are read from their specified addresses individually) or
7FFAH (variables are read from the defined data set buffer as a block)
must be transferred. After the data have been transferred successfully, the rec-
ipe number is overwritten with 0. If there is no more free memory available in the
operating terminal or if the specified data set number already exists in the Flash
memory, the recipe number will be overwritten with 255. The data set number
will not be overwritten in either case.
If the newly read data set overwrites a data set that already exists in the RAM with
the same number, its name will be used for the newly read data set. If a data set
does not yet exist with that number, the name will merely consist of blanks.
The read process can be monitored by the operator with the aid of the system
variable UploadState.
It is possible to transfer data sets to or from a PC via SER2, in order to back up the
data sets that have been stored in the terminal, process the data or supply the
terminal with new data sets.
It is also particularly important to back up the data sets if a new user description is
loaded in the terminal, as all the data sets in the RAM are then deleted. If the recipe
structure remains unchanged, however, they can be reloaded into the terminal
again after the user description has been loaded. If changes have been made to the
structure of any of the recipes (number of variables, position of the variables in the
data set buffer, etc.), only the data sets of the other, unchanged recipes can be
reloaded into the terminal.
The data sets are transferred in a format that can be edited using a Text Editor (see
section 4.8.4.3 Structure of the Data Set File ).
The parameters for the interface channel SER2 can be freely configured by means
of the corresponding system variables. Merely make sure that the same para-
meters are set at the PC end. You can send or receive at the PC end with any
suitable program, such as Windows Terminal (1).
The transfer of data sets to the PC is initiated by writing a value to the system
variable StartSave. The number of data sets that are transferred depends on the
value that is written to the system variable. The following are valid values:
System variable value = 1: Only the active data set is transferred.
System variable value = 2: All of the data sets of the active recipe are transferred.
System variable value = 3: All of the data sets of all recipes are transferred.
The process can be monitored by the operator with the aid of the system variable
SaveState.
Section 4-8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt15sNt18s

Table of Contents