Recipe – Rockwell Automation 2080-LC20-20QBBR Micro820 20-point Programmable Controllers User Manual User Manual

Page 91

Advertising
background image

Rockwell Automation Publication 2080-UM005A-EN-E - December 2013

83

Using microSD Cards Chapter 9

Recipe

Micro820 controllers support the Recipe feature and allows users to store and
load a list of data to and/or from recipe data files using the RCP instruction. It
also allows users to download, upload, and delete Recipe data on the microSD
card through Connected Components Workbench.

A maximum number of 10 recipe sets is supported for a Micro820 program. Each
recipe can contain up to 128 variables, with a maximum of four (4) data string
variables per recipe. String variables can have a maximum of 252 characters.
Variations of the recipe are stored in separate files with unique file names. For
more information on how recipes are stored on the microSD card, see the

Recipe

Directory Structure on page 84

.

REAL

32-bit floating point value -3.40282347E+38, +3.40282347E+38

LREAL

64-bit floating point value -1.7976931348623157E+308,

+1.7976931348623157E+308

STRING

(2)

character string

(1 byte per character)

'"Rotation Speed"

DATE

(1)

Unsigned 32-bit

integer value

1234567

(Date variables are stored as 32-bit words, a

positive number of seconds beginning at

1970-01-01 at midnight GMT.)

TIME

(1)

Unsigned 32-bit

integer value

1234567

(Time variables are stored as 32-bit words, positive

number of milliseconds.)

(1) BOOL, DATE, TIME data variables are presented in decimal digital format in the microSD Card. Users have the

option to convert this format to a more friendly format. For example, use ANY_TO_STRING function block to
convert BOOL data type (0, 1) to FALSE or TRUE. You can similarly do the same for DATE and TIME data types.
DATE data type is presented in differential decimal digital value between system baseline time (1970/01/
01,00:00:00) and current date value. Unit is millisecond.
Time should be absolute time value. Unit is second.

(2) String data variables are enclosed in double quotation marks in the datalog file.

The example below shows DSET1 using string variables and DSET2 using integers.

Supported Data Types for Datalog and Recipe Function Blocks

Data Type

Description

Example format in output
datalog file

Recipe Specifications

Attribute

Value

Maximum number of recipe sets

10

Recipe sets are stored in 10 directories

(Rcp_Id01...Rcp_Id10) with a maximum number

of 50 recipe files in each directory.

Maximum number of recipes

in each set

50

Maximum number of variables

per recipe

128

Configured in Connected Components

Workbench software.

Maximum bytes per recipe file

4 KB

Advertising