User Manual

Rockwell Automation Publication 1752-UM001E-EN-P - June 2014 157
Create Your Application Program Chapter 10
Precautions for Reusing User-defined Function Blocks
This table indicates which actions require user-defined function block files and
describes what happens if the action is attempted without the function block file.
Additional Resources
Table 11 - Outcomes Without Function Block Files
Action File Outcome
Download Not required Operates normally
Upload Not required Operates normally
Save project file Not required Operates normally
Load project file Not required Operates normally
Verification Required Program verification can be completed even without the function block
file once the file is downloaded to the controller, but the function block
configuration cannot be checked.
Edit the program Required A warning message will appear if the Logic Editor is opened without the
function block file. The user-defined function block without a file will
appear with a icon and any connections to or from it are deleted.
Editing features such as copy and paste are not available. If the program
is edited in any way, it cannot be saved or downloaded.
Apply program Required This command cannot be executed without the user-defined function
block file.
TIP
If you import the user-defined function block file with the program open, it
will not automatically update. Close the program and open it again to
display the function block correctly.
IMPORTANT
Always check the original program after editing user-defined function
blocks. If you created a user-defined function block, used it in the original
program, and edited the function block after the original program was
saved, the function block occurrence in the program is not updated.
Resource Description
C
, Logic Functions Command Reference Provides detailed information on the logic functions.
D
, Function Blocks Command Reference Provides detailed information on the function blocks.