Specifications
17 – Configuring Recipes
372 R400
For a Free Format report, you use the Read from File statement (see “R (Read
From File)” on page 291) with the following parameters:
• No = 146 (the file number of the Recipe table file)
• Rec_No = recipe number
• Offset = word offset of field
• Print_Format = a format descriptor (for details of the available descriptors,
see “F (Fetch From Point)” on page 283)
• Type = data type of the field
Example To read the scale field (word offset 117) from recipe no. 3 into Free Format
variable no 999, the Free Format report entry would be:
R 999 146 3 117 I3 I2
Word Offset Field Description Data Type
1 Recipe title A70
106 Bit 15 Chained to previous recipe (1=chained) I15.1
106 Bit 14 Chained to next recipe (1=chained) I14.1
107 Scale (0-100) I2
108 Unit A2
114 Day of last load I2
115 Time of last load RL
117 Scale of last load I2
118 Unit of last load A2
125 Ingredient 1 point ID (repeated for the 30
ingredients at an increment of 19 i.e. word 143
for ingredient 2)
A14
695 Ingredient 1 description (repeated for the 30
ingredients at an increment of 20 i.e. word 715
for ingredient 2)
A20
1295 Bit 0 Ingredient 1 scaled (1=scaled) (repeated for the
30 ingredients i.e. word 1295 bit 1 for ingredient
2)
I0.1
1297 Ingredient 1 master value (repeated for the 30
ingredients i.e word 1299 for ingredient 2)
RL
Table 17.1 Recipe Table Field Details
plscpcg.book Page 372 Monday, May 28, 2001 10:11 AM