FC6A SERIES MICROS MART USER ’S M ANUAL FC9Y-B17225-735: FUNCTIONS AND SETTINGSTest Programming FunctionThis section describes the test programming function that rewrites the user program without stopping FC6A Series MICROSmartoperation and allows you confirm or cancel those changes after checking the operation of the program.Function DescriptionWith test programming, a program can be downloaded and changed at the next ladder scan during MICROSmart operation. Next,after checking the operation of the changed program, you can select to confirm or cancel the test programming. If the testprogramming is confirmed, the program that was overwritten by the test programming is written to ROM and it becomespermanent. If the test programming is canceled, the program that was overwritten by the test programming is restored to theprogram saved in ROM.During test programming and cancel test programming, devices Q, M, R, T (current value), C (current value), and D keep theirprevious status. TP (preset value) and CP (preset value) are overwritten with the preset values of the user program after it ischanged.Notes: When the test programming is canceled, only the user program is restored. The contents of the devices are not restored. When test programming is executed, the MICROSmart immediately switches to the new program when the program has finished beingtransferred. It takes a maximum of 30 seconds to save the program being executed in RAM to ROM by confirming the test programming. During thisperiod, the scan time for each scan increases in length about 10 to 130 ms. When the test programming is canceled, the program is restored to the program before test programming, but the device values are kept andnot restored. After test programming and cancel test programming are completed, M8126 turns on for only one scan. If test programming is performed and the test programming is confirmed when FC6A Series MICROSmart timer or counter preset values havebeen changed by communication or advanced instructions, the preset values of the program being executed in RAM are overwritten. Whentest programming is canceled, the preset values are restored to the values before test programming. If PID, PIDA, PIDD, AVRG, DGRD, DISP, PULS, PWM, RAMP, RAMPL, ARAMP, JOG, or ZRN instructions are created or edited, the instructionsare not initialized unless the input to the instruction is turned off for one or more scans. When instructions are pasted in the program, andwhen instructions that have been commented out are enabled, these are regarded as new instructions. SOTU/SOTD instructions are initialized at the first scan after test programming and cancel test programming have completed. For user communication instructions (TXD, RXD, ETXD, ERXD), if instruction information remains in the instruction setup area,communication is performed according to the information before the program was overwritten until all of the instructions in the setup areahave sent or received their data, even when the instruction information is overwritten by test programming and cancel test programming. AllRXD instructions in the setup area can be deleted by turning on the receive cancel flag assigned to each communication port. Test programming, test programming confirmation, and test programming cancellation can only be executed when the FC6A is operating (RUN). Rewriting the program during operation is extremely dangerous. Carefully read and understand the function descriptionand precautions before using the function. Before executing test programming, confirming test programming, or canceling test programming, always check anddouble check the changed content and the operation of the program. There are no restrictions on the scope of editingwith test programming, but if many changes are made at one time, the possibility of triggering unexpected actions willincrease. Keep program changes with test programming to a minimum. If a user program syntax error or a user program download error occurs, the FC6A Series MICROSmart will stop operation(STOP) and all outputs will be cleared. Depending on the subject being controlled, this may be extremely dangerous. Test programming can be repeatedly executed, but when the test programming is canceled, all test programming iscanceled at once, and the MICROSmart is restored to the program before test programming. When the test programmingis canceled after repeated test programming, the changed content will be difficult to understand when the MICROSmartis restored to the original program and the possibility of trigger unexpected actions will increase. Keep the number oftimes test programming is performed to a minimum. When exiting Online Edit after test programming, always confirm or cancel the test programming, or perform run-timedownload. When the test programming is not confirmed or canceled and run-time download is not performed after testprogramming, the program stored in ROM and the program being executed in RAM will not be the same. The program inRAM will be cleared when the CPU module power is turned off, and then it will be overwritten by the program saved inROM when the power is turned on. Unexpected actions may be triggered in this situation, and depending on the subjectbeing controlled, this may be extremely dangerous. When using Online Edit, under no circumstances should you turn off the FC6A Series MICROSmart power or unplug thecommunication cable. The result may be a serious error such as a user program download error, and depending on thesubject being controlled, this may be extremely dangerous. Device Q values are kept before and after test programming and cancel test programming. Therefore, when OUT/OUTNinstructions are deleted or device numbers are changed, device Q before the change keeps the status. Depending on thesubject being controlled, this may be extremely dangerous.Warning