
246
Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
Chapter 12 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 the Connected Components Workbench software.
Recipe Function (RCP) Block
The RCP function block allows a user program to read variable values from an existing recipe
data file that 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
the Connected Components Workbench software. Each Recipe set can contain up to
50 recipe files or variations. Filenames for recipe files should not exceed 30
characters.
Table 61 - RCP Input and Output Parameters
Parameter
Parameter
Type
Data Type
Description
Enable
INPUT
BOOL
Recipe read/write function enable. If Rising Edge (Enable
is triggered from “low” to “high”), starts recipe function
block and the precondition is that last operation is
completed.
RWFlag
INPUT
BOOL
TRUE:
Recipe write data variables to recipe files into the
microSD card.
FALSE:
Recipe reads saved data variables from the microSD card
and update these variables accordingly.
CfgId
INPUT
USINT
Recipe set number (1…10).
RcpName
INPUT
STRING
Recipe data filename (maximum 30 characters).
Status
OUTPUT
USINT
Current state of Recipe function block.
ErrorID
OUTPUT
UDINT
Detailed error ID information if RCP read/write fails.
RCP
Enable
RWFlag
CfgId
Status
ErrorID
RcpName
Содержание 2080-L50E-24AWB
Страница 14: ...14 Rockwell Automation Publication 2080 UM002N EN E November 2022 Notes ...
Страница 54: ...54 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 4 Wire Your Controller Notes ...
Страница 128: ...128 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 7 Program Execution in Micro800 Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 8 EtherNet IP Network Notes ...
Страница 198: ...198 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 9 Motion Control Notes ...
Страница 232: ...232 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 11 Controller Security Notes ...
Страница 260: ...260 Rockwell Automation Publication 2080 UM002N EN E November 2022 Chapter 12 Using microSD Cards Notes ...
Страница 266: ...266 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix A Modbus Mapping for Micro800 Notes ...
Страница 275: ...Rockwell Automation Publication 2080 UM002N EN E November 2022 275 Appendix B Quickstarts 10 Click Finish to complete ...
Страница 332: ...332 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix E PID Function Blocks Notes ...
Страница 352: ...352 Rockwell Automation Publication 2080 UM002N EN E November 2022 Appendix G Connect to Networks using DF1 Notes ...
Страница 388: ...388 Rockwell Automation Publication 2080 UM002N EN E November 2022 Index Notes ...