Rockwell Automation Publication 2080-UM002L-EN-E - November 2021
171
Chapter 10 Using microSD Cards
Table 40 - 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.
Table 41 - RCP Function Block Status
Status Code
Description
0
Recipe Idle status.
1
Recipe Busy status.
2
Recipe Complete Succeed status.
3
Recipe Complete Error status.
Table 42 - RCP Function Block Errors
Error ID
Error Name
Description
0
RCP_ERR_NONE
No error.
1
RCP_ERR_NO_SDCARD
microSD card is absent.
2
RCP_ERR_DATAFILE_FULL
Recipe files exceed maximum number of files per recipe set
folder.
3
RCP_ERR_DATAFILE_ACCESS
Error to access recipe data file in microSD card.
4
RCP_ERR_CFG_ABSENT
Recipe configuration file is absent.
5
RCP_ERR_CFG_ID
Configure ID is absent in recipe configuration file.
6
RCP_ERR_RESOURCE_BUSY
The Recipe operation resource linked to this Recipe ID is used by
another function block operation.
7
RCP_ERR_CFG_FORMAT
Recipe configuration file format is invalid.
8
RCP_ERR_RESERVED Reserved.
9
RCP_ERR_UNKNOWN
Unspecified error has occurred.
10
RCP_ERR_DATAFILE_NAME
Recipe data file name is invalid.
11
RCP_ERR_DATAFOLDER_INVALID
Recipe dataset folder is invalid.
12
RCP_ERR_DATAFILE_ABSENT
Recipe data file is absent.
13
RCP_ERR_DATAFILE_FORMAT
Recipe data file contents are wrong.
14
RCP_ERR_DATAFILE_SIZE
Recipe data file size is too big (>4K).
IMPORTANT
File access error will be returned during RCP function block execution when
card is full.
Содержание Allen-Bradley Micro850
Страница 12: ...12 Rockwell Automation Publication 2080 UM002L EN E November 2021 Preface Notes ...
Страница 36: ...36 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 2 About Your Controller Notes ...
Страница 44: ...44 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 3 Install Your Controller Notes ...
Страница 120: ...120 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 7 Motion Control Notes ...
Страница 156: ...156 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 9 Controller Security Notes ...
Страница 184: ...184 Rockwell Automation Publication 2080 UM002L EN E November 2021 Chapter 10 Using microSD Cards Notes ...
Страница 226: ...226 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix C Quickstarts 10 Click Finish to complete ...
Страница 248: ...248 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix C Quickstarts Notes ...
Страница 262: ...262 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix D User Interrupts Notes ...
Страница 272: ...272 Rockwell Automation Publication 2080 UM002L EN E November 2021 Appendix E Troubleshooting Notes ...