5: F
UNCTIONS
AND
S
ETTINGS
5-62
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
U
SER
’
S
M
ANUAL
FC9Y-B1722
Online Edit
This section describes the Online Edit function that allows rewriting user programs and checking operation after rewriting without
stopping FC6A Series MicroSmart operation.
Run-time download function
This section describes the run-time download function that rewrites the user program without stopping FC6A Series MicroSmart
operation.
Function Description
A 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-time
download. 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 no
restrictions on the scope of editing with run-time download, but if many changes are made at one time, the possibility of triggering
unexpected 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 not
initialized unless the input to the instruction is turned off for one or more scans. When copied instructions are pasted in the program, and
when 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 sent
or received their data, even when the instruction information is overwritten by run-time download . All RXD instructions in the setup area can
be 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 program
opened 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 program
can be edited.
Notes:
•
If run-time download is performed when FC6A Series MicroSmart timer and counter preset values have been changed by the online monitor
or HMI module, the changed values are overwritten by the values of the program that is newly written. To keep the FC6A Series MicroSmart
timer 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 entire
user 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 the
same. 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 FC6A
Series 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 description
and 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 has
finished being transferred, but it may take a maximum of 30 seconds to save the program to ROM. During this period, the
scan 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 the
communication cable. The result may be a serious error such as a user program download error, and depending on the
subject 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 or
device numbers are changed, device Q before the change keep their status before run-time download. Depending on the
subject being controlled, this may be extremely dangerous.
Warning
Summary of Contents for FC6A series
Page 1: ...B 1722 2 FC6A SERIES All in One Type User s Manual ...
Page 10: ...TABLE OF CONTENTS Preface 9 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 28: ...1 GENERAL INFORMATION 1 18 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 286: ...6 DEVICES 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 334: ...7 HMI FUNCTION 7 48 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 340: ...8 INSTRUCTIONS REFERENCE 8 6 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 360: ...9 FUNCTIONAL MODULES 9 20 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...
Page 368: ...10 ANALOG CARTRIDGE 10 8 FC6A SERIES MICROSMART ALL IN ONE TYPE USER S MANUAL FC9Y B1722 ...