AH500 Programming Manual
6-534
D0 16#0011
The file from which the data is read
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.
D300
D301=16#7473
D302=16#0031
The file name is “Test1”.
The values in the file starting from the first value are read.
Ten values are read from every line.
D30、D31
16#00000020
The size of the data which is read from the file is 32 words.
The data which is read is stored in 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
2
exceeds the range, the operation error occurs, the instruction is not executed,
SM0 is ON, and the error code in SR0 is 16#2003.
3. If the value in S
3
exceeds the range, the operation error occurs, the instruction is not executed,
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.