Chapter 6 Applied Instructions AS series PLC with firmware version 1.04.00 or later supports using string (less than 9 characters) in the file name S . 6_ S – S +4: S occupies five devices. The file name contains a maximum of nine characters, including 16#00. If the string does not end with 16#00, an error occurs. When the instruction reads the ending character, the instruction stops reading characters, and checks if the file name is legal. The characters in a file name can be A–Z, a–z, and 0–9. The file name extension depends on the file format. The file that the instruction creates is in the default folder.
If the file name is “Test1”, the instruction writes the characters into the devices as follows. The default folder path: 6-755 Item Code Description The file name extension is .txt. Use ASCII codes. The value that is stored is a hexadecimal value. 7 The values are separated by a comma. (V1.04.00 or later supports ) The unit of the value is a Word. The file name extension is.csv. Use ASCII codes. The value that is stored is a decimal format. Function option 0 The values in the file starting from the value indicated by the value in S1 are read. The default value is 0. 1 The number of values is stored in D and D+1. If the file format is 0, 1, 3, or 5, the unit of the value is a word.
If the file format is 2, 4, or 6, the unit of the value is a double word. Reserved - The values of bit 8–bit 15 are 0. Model name Folder path AS300 Series PLC CARD\AS300\UserProg AS200 Series PLC CARD\AS200\UserProg