Generate function block code, Generate function block code -10 – Rockwell Automation 1753-PCS-PAR Using RSLogix Guard PLUS! with GuardPLC Controllers User Manual
Page 96
Publication 1753-PM001A-EN-P - November 2005
8-10 Create User-Defined Function Blocks
Generate Function Block
Code
When you complete your function block logic, you must compile that
logic into code the controller can execute. In the Program
Management Window, expand the project. Right-click the Resource
and choose Code Generation.
The software compiles your function block logic and generates the
files that you download to the controller.
IMPORTANT
You should save before every Code Generate. A save
is required for any change to the function block
page.
Any time a change is made, the number of changes
displayed on the function block menu bar
increments.
When the save is complete, the menu bar displays
unchanged.
IMPORTANT
When the code generator compiles logic, it also
takes into consideration the settings you specified in
the Hardware Management Window. If you change
these settings and want the changes to take effect,
you must compile and download the project again.