iDect FC6A series User Manual page 251

Microsmart all-in-one type
Table of Contents

Advertisement

Test Programming Function
This section describes the test programming function that rewrites the user program without stopping FC6A Series MicroSmart
operation and allows you confirm or cancel those changes after checking the operation of the program.
Rewriting the program during operation is extremely dangerous. Carefully read and understand the function description
Warning
and precautions before using the function.
Before executing test programming, confirming test programming, or canceling test programming, always check and
double check the changed content and the operation of the program. There are no restrictions on the scope of editing
with test programming, but if many changes are made at one time, the possibility of triggering unexpected actions will
increase. 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 is
canceled at once, and the MicroSmart is restored to the program before test programming. When the test programming
is canceled after repeated test programming, the changed content will be difficult to understand when the MicroSmart is
restored to the original program and the possibility of trigger unexpected actions will increase. Keep the number of times
test programming is performed to a minimum.
When exiting Online Edit after test programming, always confirm or cancel the test programming, or perform run-time
download. When the test programming is not confirmed or canceled and run-time download is not performed after test
programming, the program stored in ROM and the program being executed in RAM will not be the same. The program in
RAM will be cleared when the CPU module power is turned off, and then it will be overwritten by the program saved in
ROM when the power is turned on. Unexpected actions may be triggered in this situation, and depending on the subject
being controlled, this may be extremely dangerous.
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 test programming and cancel test programming. Therefore, when OUT/OUTN
instructions are deleted or device numbers are changed, device Q before the change keeps the status. Depending on the
subject being controlled, this may be extremely dangerous.
Function Description
With 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 test
programming is confirmed, the program that was overwritten by the test programming is written to ROM and it becomes
permanent. If the test programming is canceled, the program that was overwritten by the test programming is restored to the
program saved in ROM.
During test programming and cancel test programming, devices Q, M, R, T (current value), C (current value), and D keep their
previous status. TP (preset value) and CP (preset value) are overwritten with the preset values of the user program after it is
changed.
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 being
transferred.
It takes a maximum of 30 seconds to save the program being executed in RAM to ROM by confirming the test programming. During this
period, 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 and
not 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 have
been changed by communication or advanced instructions, the preset values of the program being executed in RAM are overwritten. When
test programming is canceled, the preset values are restored to the values before test programming.
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 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 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 area
have sent or received their data, even when the instruction information is overwritten by test programming and cancel test programming. All
RXD 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).
FC6A S
M
S
A
ERIES
ICRO
MART
-
-O
T
U
'
M
LL
IN
NE
YPE
SER
S
ANUAL
5: F
UNCTIONS AND
FC9Y-B1722
S
ETTINGS
5-65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents