AS Series Programming Manual Example SM450 is ON when you insert the memory card into the CPU module; SM452 is ON when this instruction executes; SM452 is OFF when this instruction completes. _6 Additional remarks 1. If the value in ctrl exceeds the range, an 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 fname exceeds the range, an operation error occurs, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 6-766 Error code Description 16#0063 An error occurs when the data is written into the file. Operand Setting value Description D0 16#0001 The file name extension is .cvs.
D20 D20=16#6554 D21=16#7473 D22=16#0031 The file name is “Test1”.