Chapter 6 Applied Instructions The value in S 2 must be between 0–256. ES3 series PLC supports using string (less than 9 characters) in the file name S 3 . S 3 – S 3 +4: S 3 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, it stops reading, and checks if the file name is legal. The characters in the 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: S 4 : The value in the file that the instruction overwrites is indicated by the value in S 4 . 6_ 6-731 Model name Folder path ES3 Series PLC CARD\ES3\UserProg Item Description Value unit If the file format is 0, 1, 3, 5 or 7, 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. Parameter unit Double word. Usage If the function option is 0, S4 is not used.
If the function option is 1, the instruction replaces the values in the file with the data to be written into the memory card starting from the value indicated by the value in S4. The value in S4 must indicate a value in the file. If the value in S4 is 0, the instruction overwrites the data in the file starting at the first value in the file.