Recipe directory structure, Recipe configuration and retrieval, Recipe function (rcp) block – Rockwell Automation 2080-LC20-20QBBR Micro820 20-point Programmable Controllers User Manual User Manual
Page 92

84
Rockwell Automation Publication 2080-UM005A-EN-E - December 2013
Chapter 9
Using microSD Cards
Recipe Directory Structure
Recipe Configuration and Retrieval
You can retrieve recipe files from the microSD card using a card reader or by
uploading and downloading the recipe sets through Connected Components
Workbench.
Recipe Function (RCP) Block
The RCP function block allows a user program to read variable values from an
existing recipe data file which is in the recipe folder of the microSD card and
update run-time global or local variable values in the controller. The RCP
function block also allows the user program to write run-time global or local
variable values from smaller controller into the recipe data file in the microSD
card.
On first execution of RCP, it creates the RECIPE folder under the
current project directory on the microSD card.
It also creates 10 subdirectories for each recipe set with a name
following the CfgID input value (1…10) . If the CfgID value is 1,
then the subfolder Rcp_Id01 is created.
Recipe files are then created/written into the folder, with file
names that correspond to the input value of RcpName parameter
for the RCP function block, as configured in Connected Components
Workbench. Each Recipe set can contain up to 50 recipe files or
variations. Filenames for recipe files should not exceed 30
characters.
RCP
Enable
RWFlag
CfgId
Status
ErrorID
RcpName
- 2080-LC20-20AWBR Micro820 20-point Programmable Controllers User Manual 2080-LC20-20QWBR Micro820 20-point Programmable Controllers User Manual 2080-LC20-20AWB Micro820 20-point Programmable Controllers User Manual 2080-LC20-20QBB Micro820 20-point Programmable Controllers User Manual 2080-LC20-20QWB Micro820 20-point Programmable Controllers User Manual