Lenze PLC Designer ApplicationTemplate (PLC Designer R3-x) User Manual

Page 5

Advertising
background image

Lenze · ApplicationTemplate · 1.3 EN - 04/2013

5

Contents

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

12.4 Recipe manager _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

142

12.4.1 Precondition _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

143

12.4.2 Creating the recipe definition _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

143

12.4.3 Recipe definition - assigning variables _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

144

12.4.4 Inserting recipes into a recipe definition _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

145

12.4.5 Managing recipes with RecipeManCommands _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

146

12.4.5.1

Create Recipe _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

146

12.4.5.2

ReadAndSaveRecipeAs _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

147

12.4.5.3

LoadFromAndWriteRecipe _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

148

12.4.5.4

WriteRecipe _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

149

12.4.5.5

ReadRecipe _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

150

12.4.5.6

GetRecipeCount _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

151

13

Application example: Flying saw _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

152

13.1 Preparation: Modularising the automation system into subfunctions _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

152

13.1.1 Identifying subfunctions of the machine structure _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

153

13.1.2 Representing subfunctions of the machine structure as machine modules _ _ _ _ _ _ _ _

153

13.1.3 Representing machine modules in a tree structure _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

153

13.2 Mapping the actual machine structure in the »PLC Designer« _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

154

13.2.1 Device structure: Adding master and slave _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

154

13.2.2 Setting the cycle time _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

155

13.3 Creating and integrating machine modules _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

155

13.3.1 Creating machine modules _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

155

13.3.2 Integrating machine modules in the machine structure tree _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

157

13.3.3 Managing module applications of the machine modules _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

158

13.3.4 Inserting an axis into the module application _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

159

13.3.5 Assigning the module application to the tasks _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

159

13.4 Setting up communication between master modules and slave modules _ _ _ _ _ _ _ _ _ _ _ _ _ _

161

13.5 Application example: Extending the visualization _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

163

13.6 State machine _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

166

13.6.1 Controlling the state transition in the machine control module _ _ _ _ _ _ _ _ _ _ _ _ _ _

166

13.6.2 Controlling state transitions in the slave modules _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

168

13.7 Manual jog of the axes _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

169

13.8 Error handling: Configuring the error handling _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

170

Your opinion is important to us _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

176

Advertising