Delta AH500 Programming Manual page 701

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

S
: The value in the file which is read is indicated by the value in S
1
Item
Value unit
Parameter unit
Usage
S
: The length of the data which is read from the file
3
The devices in which the data is stored can not exceed the device range. If the value
in S
is larger than the number of values in the file, the length of the data read from
3
the file is the number of values in the file. The unit S
D: The initial device in which the data is stored.
2.
The related flags:
Flag
SM450
If the memory card is in the CPU module, the flag is ON.
The write protection switch on the memory card
SM451
ON: The memory card is write protected.
OFF: The memory card is not write protected.
The data is being written from the PLC to the memory card, or the data
SM452
is being read from the memory card into the PLC.
If an error occurs during the operation of the memory card, the flag is
SM453
ON. If the flag is ON, users have to reset it to OFF. The error code is
stored in SR453.
3.
The related error codes (SR453):
Error code
16#005E
An error occurs when the memory card is initialized.
16#005F
The path is incorrect, or the file does not exist.
16#0060
The default folder can not be created.
16#0061
The memory space is insufficient.
16#0062
The memory card is write protected.
16#0063
An error occurs when the data is written into the file.
16#0064
The data can not be read from the memory card.
4.
If the format of the file into which the data is written is 0, the format of the file from which the
data is read is 0. Otherwise, the data can not be read, and SM453 is ON. The same applies to
the other file formats.
Example:
SM450 is ON when the memory card is inserted into the CPU module; SM452 is ON when MREAD
is executed; SM452 is OFF when the execution of MREAD is complete.
If the file format is 0, 1, 3, or 5, the unit of the value is the word. If the
file format is 2, 4, or 6, the unit of the value is the double word.
The parameter unit is the double word.
The value in S
should indicate the value in the file.
1
If the value in S
is 0, the first value in the file is read.
1
Description
Description
Ch a pt er 6 Ap p l i ed I ns t r uc t i ons
.
1
Description
is the double word.
3
6 - 5 3 3

Advertisement

Table of Contents
loading

Table of Contents