Delta AH500 Programming Manual page 702

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
Operand
Setting value
D0
16#0011
D300=16#6554
D300
D301=16#7473
D302=16#0031
D10, D11
16#00000000 The values in the file starting from the first value are read.
D1
16#000A
16#00000020 The size of the data which is read from the file is 32 words.
D30、D31
D20
-
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,
2
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,
3
SM0 is ON, and the error code in SR0 is 16#2003.
4.
If the value in D exceeds the range, the operation error occurs, the instruction is not executed,
SM0 is ON, and the error code in SR0 is 16#2003.
6 - 5 3 4
Description
The file from which the data is read
The file format:
The values are separated by a comma.
The unit of the value is the word.
The file name extension is .csv.
The ASCII codes are adopted.
The file name is "Test1".
Ten values are read from every line.
The data which is read is stored in D20.

Advertisement

Table of Contents
loading

Table of Contents