Delta AH500 Programming Manual page 698

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
Example:
SM450 is ON when the memory card is inserted into the CPU module; SM452 is ON when MWRIT
is executed; SM452 is OFF when the execution of MWRIT is complete. MWRITP the pulse
instruction, cannot be used continuously. If executing this pulse instruction to write data into the
memory card continuously, it may exceed its written limitation and may lead to memory card broken.
Operand
Setting value
D0
16#0011
D1
-
D10, D11
16#00000030
D300
16#000A
D20=16#6554
D20
D21=16#7473
D22=16#0031
16#00000000
D30、D31
Additional remark:
1.
If the value in C exceeds the range, the operation error occurs, the instruction is not executed,
SM0 is ON, and the error code in SR0 is 16#2003.
2.
If the value in S
exceeds the range, the operation error occurs, the instruction is not executed,
1
SM0 is ON, and the error code in SR0 is 16#2003.
3.
If the value in S
exceeds the range, the operation error occurs, the instruction is not executed,
2
SM0 is ON, and the error code in SR0 is 16#2003.
4.
If the value in S
exceeds the range, the operation error occurs, the instruction is not executed,
3
SM0 is ON, and the error code in SR0 is 16#2003.
6 - 5 3 0
Description
The file into which the data is written
The file format:
The values are separated by a comma.
The unit of the value is the word.
The file name extension is .cvs.
The ASCII codes are adopted.
The data which is written into the file
The size of the data which is written into the file is 48
words.
Ten values are written into every line.
The file name is "Test1".
The data which is written into the memory card replaces
the values in the file starting from the first value.

Advertisement

Table of Contents
loading

Table of Contents