5: FUNCTIONS AND S ETTINGS5-70FC6A S ERIES MICROSMART USER ’S M ANUAL FC9Y-B1722Online EditThis section describes the Online Edit function that allows rewriting user programs and checking operation after rewriting withoutstopping FC6A Series MICROSmart operation.Run-time download functionThis section describes the run-time download function that rewrites the user program without stopping FC6A Series MICROSmartoperation.Function DescriptionA program can be downloaded and changed at the next ladder scan during MICROSmart operation.During run-time download, devices Q, M, R, T (current value), C (current value), and D keep their status before run-timedownload. TP (preset value) and CP (preset value) are overwritten with the preset values of the newly written user program.Notes: Before executing run-time download, always check the changed content and the program operation after it is written. There are norestrictions on the scope of editing with run-time download, but if many changes are made at one time, the possibility of triggeringunexpected actions will increase. Keep program changes with run-time download to a minimum. If PID, PIDA, AVRG, DGRD, DISP, PULS, PWM, RAMP, ARAMP, JOG, or ZRN instructions are created or edited, the instructions are notinitialized unless the input to the instruction is turned off for one or more scans. When copied 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 the run-time download has 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 run-time download until all of the instructions in the setup area have sentor received their data, even when the instruction information is overwritten by run-time download . All RXD instructions in the setup area canbe deleted by turning on the receive cancel flag assigned to each communication port. Run-time download can only be executed when the FC6A Series MICROSmart is operating (RUN).Run-time download can only be executed when WindLDR is in Online Edit mode. To start Online Edit mode, the user programopened in WindLDR and the user program running on the FC6A Series MICROSmart must be the same.During Online Edit, Function Area Settings and expansion data register settings cannot be changed. Only the ladder programcan be edited.Notes: If run-time download is performed when FC6A Series MICROSmart timer and counter preset values have been changed by the online monitoror HMI module, the changed values are overwritten by the values of the program that is newly written. To keep the FC6A Series MICROSmarttimer preset values and counter preset values before and after run-time download, confirm the timer and counter preset value changes,upload the program, and then start Online Edit. To confirm timer and counter preset value changes, on the Online tab, in the PLC group,click Status, and then click Confirm under TIM/CNT preset value. During Online Edit, function area settings and expansion data register settings cannot be changed. To change these, download the entireuser program with a normal download. If communication was lost during run-time download, the program being executed in RAM and the program saved to ROM may not be thesame. In this situation, exit Online Edit and download the program. After downloading or uploading the user program, start Online Edit when the WindLDR user program and the program running on the FC6ASeries MICROSmart are the same. Online Edit cannot start if the programs are different. Rewriting the program during operation is extremely dangerous. Carefully read and understand the function descriptionand precautions before using the function. 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. When run-time download is executed, the MICROSmart immediately switches to the new program when the program hasfinished being transferred, but it may take a maximum of 30 seconds to save the program to ROM. During this period, thescan time for each scan increases in length about 10 to 400 ms. 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 run-time download. Therefore, when OUT/OUTN instructions are deleted ordevice numbers are changed, device Q before the change keep their status before run-time download. Depending on thesubject being controlled, this may be extremely dangerous.Warning