Istpid
Istpid
Istpid
EIO0000000195 06/2015
SoMachine
Packaging Application Functions
Packaging Library Guide
06/2015
EIO0000000195.08
www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or technical
characteristics of the performance of the products contained herein. This documentation is not
intended as a substitute for and is not to be used for determining suitability or reliability of these
products for specific user applications. It is the duty of any such user or integrator to perform the
appropriate and complete risk analysis, evaluation and testing of the products with respect to the
relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or
subsidiaries shall be responsible or liable for misuse of the information contained herein. If you
have any suggestions for improvements or amendments or have found errors in this publication,
please notify us.
No part of this document may be reproduced in any form or by any means, electronic or
mechanical, including photocopying, without express written permission of Schneider Electric.
All pertinent state, regional, and local safety regulations must be observed when installing and
using this product. For reasons of safety and to help ensure compliance with documented system
data, only the manufacturer should perform repairs to components.
When devices are used for applications with technical safety requirements, the relevant
instructions must be followed.
Failure to use Schneider Electric software or approved software with our hardware products may
result in injury, harm, or improper operating results.
Failure to observe this information can result in injury or equipment damage.
© 2015 Schneider Electric. All rights reserved.
2 EIO0000000195 06/2015
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
About the Book. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Part I Packaging Library System Requirements . . . . . . 17
Chapter 1 System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Packaging System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Function Block Location in the Packaging Library . . . . . . . . . . . . . . . . 23
Part II PickAndPlace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Chapter 2 MoveJog: Manual Control of a Single Axis in Different
Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Software Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2.3 Function Block Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
MoveJog Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Structured Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Input/Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Output Pin Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
2.5 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Function Block Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Quick Commissioning Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Chapter 3 XYPickAndPlace: Moving X- and Y-Axis in a Plane
Coordinate System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
EIO0000000195 06/2015 3
3.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Software Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
3.3 Function Block Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
XYPickAndPlace Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Axis Movement: General Description. . . . . . . . . . . . . . . . . . . . . . . . . . 69
Axis Movement: Non-Optimized Mode Without Approach Point . . . . . 71
Axis Movement: Optimized Mode Without Approach Point . . . . . . . . . 72
Axis Movement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Function Block Operation: Semi-Auto Mode . . . . . . . . . . . . . . . . . . . . 74
Function Block Operation: Auto Mode . . . . . . . . . . . . . . . . . . . . . . . . . 76
3.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Detailed Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Input: i_stXYPara . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Input: i_stPItPara . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Input: i_xShiftFrstY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Input: i_uiStepNb . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Input: i_uiNbLayr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Input: i_stXYPara.udiApprDist . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Input/Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
3.5 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Function Block Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Quick Commissioning Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Part III TensionControl . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Chapter 4 DigitalTensionControl: Controlling Consistent Film
Tension Between Two Digital Sensors . . . . . . . . . . . . 103
4.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Functional Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Software Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4.3 Function Block Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
DigitalTensionControl Function Blocks . . . . . . . . . . . . . . . . . . . 114
4 EIO0000000195 06/2015
4.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Input: i_stDiaActl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Input: i_stUnwd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Input/Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Output Pin Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
4.5 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Function Block Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Quick Commissioning Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Chapter 5 AnalogTensionControl: Controlling Consistent Film
Tension Depending on Analog Sensor Feedback. . . . 135
5.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
5.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Software Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
5.3 Function Block Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
AnalogTensionControl Function Blocks . . . . . . . . . . . . . . . . . . . . 144
5.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Input/Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Output Pin Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
5.5 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Function Block Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Quick Commissioning Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
Part IV TemperatureControl . . . . . . . . . . . . . . . . . . . . . . . . 157
Chapter 6 TemperatureControl: Monitoring and Controlling of
Temperature-Dependent Packaging Processes . . . . . 159
6.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
6.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Software Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
EIO0000000195 06/2015 5
6.3 Function Block Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
TemperatureControl Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
6.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
Input: i_stPid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Input: i_stTempCtrl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Output: q_sAttnStat. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Output: q_stPid . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
6.5 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
Function Block Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
Quick Commissioning Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
Internal Process Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Part V LateralPositionControl . . . . . . . . . . . . . . . . . . . . . 191
Chapter 7 LateralPositionControl: Controlling Correct Lateral
Film Position with Two Digital Sensors . . . . . . . . . . . . 193
7.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Functional Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
7.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
Software Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
7.3 Function Block Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
LateralPositionControl Function Block . . . . . . . . . . . . . . . . . . . 199
Automatic Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
Managing Detected Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
7.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
7.5 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Function Block Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
Quick Commissioning Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Commissioning Procedure in Manual Mode . . . . . . . . . . . . . . . . . . . . 214
Commissioning Procedure in Auto Mode With Symmetric Sensors . . 215
Commissioning Procedure in Auto Mode and Left Placed Sensors. . . 217
Commissioning Procedure in Auto Mode and Right Placed Sensors . 219
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
6 EIO0000000195 06/2015
Part VI RotaryKnife . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
Chapter 8 RotaryKnife_Motion: Synchronization of a Linear
Axis and a Rotary Axis to Perform On The Fly
Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
8.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
8.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230
Software Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
8.3 Function Block Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
RotaryKnife_Motion Function Block . . . . . . . . . . . . . . . . . . . . . . . 235
8.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Output Pin Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Input/Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Structured Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
8.5 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Operating Mode 0: Continuous Product . . . . . . . . . . . . . . . . . . . . . . . 252
Operating Mode 1: Continuous Product with Mark Compensation . . . 254
Operating Mode 2: Non Continuous Product (Cut on Mark) . . . . . . . . 258
Selection of the Capture Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
8.6 Start, Stop and Starting Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
Start and Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Starting Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Cold Start. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Warm Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
8.7 Special Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
Immediate Cut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Offset Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
Oblique Cut . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
Shift Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
8.8 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
EIO0000000195 06/2015 7
Part VII FlyingShear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
Chapter 9 FlyingShear_Motion: Synchronization of 2 Linear
Axis to Perform On The Fly Operations . . . . . . . . . . . . 295
9.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Functional Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
9.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Hardware and Software Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 299
9.3 Function Block Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
FlyingShear_Motion Function Block . . . . . . . . . . . . . . . . . . . . . . . 300
9.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
9.5 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
9.6 Start, Stop and Starting Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
Start, Stop and Starting Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
9.7 Special Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Special Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Interruption of the Synchronous Phase . . . . . . . . . . . . . . . . . . . . . . . . 307
9.8 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
Part VIII GroupingUngrouping . . . . . . . . . . . . . . . . . . . . . . 313
Chapter 10 Grouping - Ungrouping: Synchronization of Linear
Axes to Organize Products on a Conveyor . . . . . . . . . 315
10.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Functional Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318
10.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Software Architecture. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
Chapter 11 GroupingAccumulator_Motion . . . . . . . . . . . . . . . . . 331
11.1 Function Block Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
GroupingAccumulator_Motion Function Block . . . . . . . . . . . . . . 332
8 EIO0000000195 06/2015
11.2 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
Output Pin Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
Input/Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
Structured Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
Chapter 12 GroupingStripper_Motion . . . . . . . . . . . . . . . . . . . . 341
12.1 Function Block Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
GroupingStripper_Motion Function Block . . . . . . . . . . . . . . . . . 342
12.2 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Output Pin Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
Input/Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Structured Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Chapter 13 Operation Description . . . . . . . . . . . . . . . . . . . . . . . . . . 355
13.1 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
General Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
Geared Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Triggered Timed Pulsed Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Periodic Geared Pulsed Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Triggered Geared Pulsed Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
13.2 Start, Stop and Special Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Start and Resume Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
Stop and Resume Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
Cold Start - GroupingAccumulator_Motion . . . . . . . . . . . . . . . . . 365
Cold Start - GroupingStripper_Motion . . . . . . . . . . . . . . . . . . . . 368
Warm Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Special Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
Chapter 14 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . 375
Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Part IX Clamping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Chapter 15 Clamping_Motion: Logical Sequence of Product
Clamping with Torque Limitation . . . . . . . . . . . . . . . . . 381
15.1 Functional and Machine Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
Functional Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
15.2 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
Software Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
EIO0000000195 06/2015 9
15.3 Function Block Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
Clamping_motion Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . 386
15.4 Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Input Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389
Input/Output Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 391
Structured Parameter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
15.5 Operating Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
Selection of the Capture Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394
15.6 Quick Reference Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Visualization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 405
10 EIO0000000195 06/2015
Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with the device
before trying to install, operate, or maintain it. The following special messages may appear
throughout this documentation or on the equipment to warn of potential hazards or to call attention
to information that clarifies or simplifies a procedure.
EIO0000000195 06/2015 11
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by qualified
personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of
the use of this material.
A qualified person is one who has skills and knowledge related to the construction and operation
of electrical equipment and its installation, and has received safety training to recognize and avoid
the hazards involved.
WARNING
UNGUARDED EQUIPMENT
Do not use this software and related automation equipment on equipment which does not have
point-of-operation protection.
Do not reach into machinery during operation.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
This automation equipment and related software is used to control a variety of industrial processes.
The type or model of automation equipment suitable for each application will vary depending on
factors such as the control function required, degree of protection required, production methods,
unusual conditions, government regulations, etc. In some applications, more than one processor
may be required, as when backup redundancy is needed.
Only you, the user, machine builder or system integrator can be aware of all the conditions and
factors present during setup, operation, and maintenance of the machine and, therefore, can
determine the automation equipment and the related safeties and interlocks which can be properly
used. When selecting automation and control equipment and related software for a particular
application, you should refer to the applicable local and national standards and regulations. The
National Safety Council’s Accident Prevention Manual (nationally recognized in the United States
of America) also provides much useful information.
In some applications, such as packaging machinery, additional operator protection such as point-
of-operation guarding must be provided. This is necessary if the operator’s hands and other parts
of the body are free to enter the pinch points or other hazardous areas and serious injury can occur.
Software products alone cannot protect an operator from injury. For this reason the software
cannot be substituted for or take the place of point-of-operation protection.
12 EIO0000000195 06/2015
Ensure that appropriate safeties and mechanical/electrical interlocks related to point-of-operation
protection have been installed and are operational before placing the equipment into service. All
interlocks and safeties related to point-of-operation protection must be coordinated with the related
automation equipment and software programming.
NOTE: Coordination of safeties and mechanical/electrical interlocks for point-of-operation
protection is outside the scope of the Function Block Library, System User Guide, or other
implementation referenced in this documentation.
CAUTION
EQUIPMENT OPERATION HAZARD
Verify that all installation and set up procedures have been completed.
Before operational tests are performed, remove all blocks or other temporary holding means
used for shipment from all component devices.
Remove tools, meters, and debris from equipment.
Failure to follow these instructions can result in injury or equipment damage.
Follow all start-up tests recommended in the equipment documentation. Store all equipment
documentation for future references.
Software testing must be done in both simulated and real environments.
Verify that the completed system is free from all short circuits and temporary grounds that are not
installed according to local regulations (according to the National Electrical Code in the U.S.A, for
instance). If high-potential voltage testing is necessary, follow recommendations in equipment
documentation to prevent accidental equipment damage.
Before energizing equipment:
Remove tools, meters, and debris from equipment.
Close the equipment enclosure door.
Remove all temporary grounds from incoming power lines.
Perform all start-up tests recommended by the manufacturer.
EIO0000000195 06/2015 13
OPERATION AND ADJUSTMENTS
The following precautions are from the NEMA Standards Publication ICS 7.1-1995 (English
version prevails):
Regardless of the care exercised in the design and manufacture of equipment or in the selection
and ratings of components, there are hazards that can be encountered if such equipment is
improperly operated.
It is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe
operation. Always use the manufacturer’s instructions as a guide for functional adjustments.
Personnel who have access to these adjustments should be familiar with the equipment
manufacturer’s instructions and the machinery used with the electrical equipment.
Only those operational adjustments actually required by the operator should be accessible to
the operator. Access to other controls should be restricted to prevent unauthorized changes in
operating characteristics.
14 EIO0000000195 06/2015
About the Book
At a Glance
Document Scope
This document describes the functions of the Packaging Library.
Validity Note
This document has been updated with the release of SoMachine 4.1 SP1.2.
WARNING
LOSS OF CONTROL
The designer of any control scheme must consider the potential failure modes of control paths
and, for certain critical control functions, provide a means to achieve a safe state during and
after a path failure. Examples of critical control functions are emergency stop and overtravel
stop, power outage and restart.
Separate or redundant control paths must be provided for critical control functions.
System control paths may include communication links. Consideration must be given to the
implications of unanticipated transmission delays or failures of the link.
Observe all accident prevention regulations and local safety guidelines.1
Each implementation of this equipment must be individually and thoroughly tested for proper
operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
1For additional information, refer to NEMA ICS 1.1 (latest edition), "Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control" and to NEMA ICS 7.1 (latest
edition), "Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems" or their equivalent governing your particular location.
EIO0000000195 06/2015 15
WARNING
UNINTENDED EQUIPMENT OPERATION
Only use software approved by Schneider Electric for use with this equipment.
Update your application program every time you change the physical hardware configuration.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
16 EIO0000000195 06/2015
SoMachine
System Requirements
EIO0000000195 06/2015
Part I
Packaging Library System Requirements
EIO0000000195 06/2015 17
System Requirements
18 EIO0000000195 06/2015
SoMachine
System Requirements
EIO0000000195 06/2015
Chapter 1
System Requirements
System Requirements
At a Glance
This chapter describes the system requirements for the Packaging Library function blocks.
EIO0000000195 06/2015 19
System Requirements
Overview
This chapter describes the hardware and the software requirements, and user interface
compatibility for packaging library functions.
For environments, refer to individual function block chapters.
System Requirements
This table describes the system requirements for the following application function blocks:
20 EIO0000000195 06/2015
System Requirements
Communication Interface
This table describes the communication interface requirements for the following application
function blocks:
NOTE: The LMC078 Motion Controller is using the third generation of Sercos.
User Interface
All parameters can be supplied and modified using Magelis HMI which can be used optionally.
EIO0000000195 06/2015 21
System Requirements
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify the SoMachine libraries contained in your program are the correct version after updating
SoMachine software.
Verify that the library versions updated are consistent with your application specifications.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
WARNING
UNINTENDED MACHINE OPERATION
Do not use the EN/ENO functionality defined by IEC 61131-3 to control the behavior of the
Application Function blocks.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
NOTE: Verify that the EN/ENO option is disabled in the compiler options menu of SoMachine.
22 EIO0000000195 06/2015
System Requirements
EIO0000000195 06/2015 23
System Requirements
24 EIO0000000195 06/2015
SoMachine
PickAndPlace
EIO0000000195 06/2015
Part II
PickAndPlace
PickAndPlace
EIO0000000195 06/2015 25
PickAndPlace
26 EIO0000000195 06/2015
SoMachine
MoveJog
EIO0000000195 06/2015
Chapter 2
MoveJog: Manual Control of a Single Axis in Different Modes
EIO0000000195 06/2015 27
MoveJog
Section 2.1
Functional and Machine Overview
28 EIO0000000195 06/2015
MoveJog
Functional Overview
Functional Description
The MoveJog function block controls a single axis while operating in Manual mode.
EIO0000000195 06/2015 29
MoveJog
30 EIO0000000195 06/2015
MoveJog
Machine Overview
Machine View
EIO0000000195 06/2015 31
MoveJog
Section 2.2
Architecture
Architecture
32 EIO0000000195 06/2015
MoveJog
Hardware Architecture
EIO0000000195 06/2015 33
MoveJog
Software Architecture
DataFlow Overview
34 EIO0000000195 06/2015
MoveJog
Section 2.3
Function Block Description
EIO0000000195 06/2015 35
MoveJog
Pin Diagram
36 EIO0000000195 06/2015
MoveJog
NOTE: Axis must be homed using Homing mode before the MoveJog function block can be
used in Position Mode.
Homing Mode: after a start Homing command, the axis moves according to the Homing method
selected.
NOTE: Select correct Homing method and parameter for the application. Improper setup or
cabling may cause unintended equipment action.
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that all configuration parameters are correct and validate cabling before commissioning.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000000195 06/2015 37
MoveJog
Operating Modes
38 EIO0000000195 06/2015
MoveJog
This figure shows the timing diagram for MoveJog function block in Speed Mode:
EIO0000000195 06/2015 39
MoveJog
If both the direction inputs i_xJogFwd and i_xJogRev are TRUE at same time then the axis does
not move and the function block displays a detected error. The detected error is reset only when
one or both of the direction inputs is FALSE and rising edge of i_xAlrmRst is given to function
block as shown in cycle 4 in the timing diagram figure below.
This figure shows the timing diagram for the MoveJog function block in Position Mode:
40 EIO0000000195 06/2015
MoveJog
EIO0000000195 06/2015 41
MoveJog
Section 2.4
Pin Description
Pin Description
42 EIO0000000195 06/2015
MoveJog
EIO0000000195 06/2015 43
MoveJog
44 EIO0000000195 06/2015
MoveJog
EIO0000000195 06/2015 45
MoveJog
Structured Parameter
i_stHmngPara
This table describes the mandatory parameters for the i_stHmngPara inputs of the MoveJog
function block:
uiHmngMode
This table describes the methods supported by the MoveJog function block:
46 EIO0000000195 06/2015
MoveJog
EIO0000000195 06/2015 47
MoveJog
48 EIO0000000195 06/2015
MoveJog
EIO0000000195 06/2015 49
MoveJog
Notifications
Detected Notification
Alarm ID
0 Okay
1 Internal function block detected alarm
10 Detected Axis alarm
30 PLCopen function block detected alarm
101 Invalid Acceleration Parameter
102 Invalid Deceleration Parameter
103 Invalid Velocity Parameter
105 Invalid Target Position Parameter
350 Invalid Operation Mode parameter
351 Invalid Absolute Position Parameter
352 Invalid Homing Mode Parameter
353 Invalid Reference Searching Velocity Parameter
354 Invalid Reference Out Velocity Parameter
355 Invalid Maximum Distance Parameter
356 Invalid Distance from Reference Parameter
357 Jog Positive and Jog Negative are Active
358 Positive Limit Switch Active
359 Negative Limit Switch Active
Alarm message:
q_sAlrmMsge: Axis not Homed! Position Mode not Allowed
50 EIO0000000195 06/2015
MoveJog
Section 2.5
Quick Reference Guide
EIO0000000195 06/2015 51
MoveJog
Visualization
This figure shows the visualization of the MoveJog function block:
52 EIO0000000195 06/2015
MoveJog
Configuration Procedure
This table explains the procedure to configure the MoveJog function blocks:
Step Action
1 Add the supporting Packaging Library into the application program.
2 Configure the axis on CANopen Master.
3 Enter all parameters in controller configuration.
4 Use MC_Power_LXM for powering up the drive and MC_Reset_LXM for
resetting an axis error (both included in Lexium library based on PLCopen).
5 Load the MoveJog function application on controller.
6 Power on the axis.
7 Enable MC_Power_CAN and MoveJog function blocks and enter all parameters
as per requirements within range in the following tables.
8 In Speed mode, directly give the jog command for movement.
9 For Position mode, first complete the homing operation of axis in homing mode.
10 Start the FB.
EIO0000000195 06/2015 53
MoveJog
NOTE: The above values were tested in laboratory conditions and are for illustrative purposes
only. Appropriate values should be entered as per the actual machine setup.
NOTE: The above values were tested in laboratory conditions and are for illustrative purposes
only. Appropriate values should be entered as per the actual machine setup.
54 EIO0000000195 06/2015
MoveJog
NOTE: The above values were tested in laboratory conditions and are for illustrative purposes
only. Appropriate values should be entered as per the actual machine setup.
EIO0000000195 06/2015 55
MoveJog
Troubleshooting
Troubleshooting
This table shows some general issues and their solutions:
56 EIO0000000195 06/2015
MoveJog
EIO0000000195 06/2015 57
MoveJog
58 EIO0000000195 06/2015
SoMachine
XYPickAndPlace
EIO0000000195 06/2015
Chapter 3
XYPickAndPlace: Moving X- and Y-Axis in a Plane Coordinate System
EIO0000000195 06/2015 59
XYPickAndPlace
Section 3.1
Functional and Machine Overview
60 EIO0000000195 06/2015
XYPickAndPlace
Functional Overview
Functional Description
XYPickAndPlace function is required in the consumer products industry for a wide variety of
product transfer applications. The machine basically takes a product or products from machines
such as wrappers, cartoners or fillers, and stacks them into a case, which is then ready for
palletizing or shipment.
The function block is used to reduce process time, increase productivity and efficiency in
packaging.
NOTE: Z Axis Operation is not controlled by the function block.
EIO0000000195 06/2015 61
XYPickAndPlace
The Shift (Skip) Position is applicable only in the Semi-Auto Mode. This option is not allowed in
Auto Mode.
In Semi Auto Mode the trigger for each cycle is done by the rising edge of the i_xExe, but the
parameter change is done only with the i_xEn; this is to avoid parameter change during the
cycle.
New cycle is started once all the boxes (box shifting is counted) in the current cycle are placed
as per the defined matrix. The message "Layer Completed with Skipped Box" is then displayed.
Presently done: Skipped box can be either manually placed (by operator) or a new semi-
automatic cycle can be started by resetting the Box Count i_xBoxCntRst input and giving
respective skip number through i_uiStepNb to directly reach the box which needs to be
placed (Box or any obstacle on the way to reach this previously skipped box position is not
considered in this FB since Z axis is not controlled).
If function block is disabled and enabled and the parameters (Direction of Placing, Number of
elements in X and Y, Target, Approach and Start Position) are changed, then the box count is
reset and a fresh cycle is started. If no parameter is changed, then old cycle is continued.
Direction of Placing, Number of elements in X and Y, Target, Approach and Start Position
cannot be changed when a cycle is running. New values are affected only on the Rising edge
of the i_xEn (FB enable).
Functional View
62 EIO0000000195 06/2015
XYPickAndPlace
Machine Overview
Machine View
EIO0000000195 06/2015 63
XYPickAndPlace
Section 3.2
Architecture
Architecture
64 EIO0000000195 06/2015
XYPickAndPlace
Hardware Architecture
EIO0000000195 06/2015 65
XYPickAndPlace
Software Architecture
DataFlow Overview
66 EIO0000000195 06/2015
XYPickAndPlace
Section 3.3
Function Block Description
EIO0000000195 06/2015 67
XYPickAndPlace
Pin Diagram
The XYPickAndPlace function block encapsulates all necessary functions for controlling the
position of two axes in the XY plane.
68 EIO0000000195 06/2015
XYPickAndPlace
At a Glance
The axis are moved in a coordinated linear movement by calculating the ratio of distances travelled
in the X axis and Y axis. The axis with the shorter move is multiplied by this ratio so that the axes
move with the same ratio of velocity, acceleration and deceleration at any point in time.
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that all configuration parameters are correct and validate cabling before commissioning.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000000195 06/2015 69
XYPickAndPlace
70 EIO0000000195 06/2015
XYPickAndPlace
Description
The non-optimized mode without approach point is selected when i_byAxisMovSel input is 0.
In this mode, if the calculated Acceleration and Deceleration of the short distance move is less than
the lower limit of 30 and 750 respectively, then the Acceleration and Deceleration is set to 30 and
750 and an alarm message of "Non Optimized Mode" is ON and the straight line trajectory is not
assured.
NOTE:
All calculations are done before the movement of the axes. The mode selection needs to be
done prior to the start of the axis movement.
In this Mode, the user needs to select the appropriate Acceleration and Deceleration to prevent
from going below the limit required to achieve straight line trajectory.
Axis Movement
EIO0000000195 06/2015 71
XYPickAndPlace
Description
For axis movement, optimized mode without approach point is selected when i_byAxisMovSel
input is 1.
In this mode, if the short distance movement axis calculated acceleration and deceleration is less
than the lower limit of 30 and 750 respectively then acceleration and deceleration of a long distance
movement axis is increased accordingly to achieve the straight line trajectory.
During this Alarm message "Auto Correction ON" is ON.
Axis Movement
NOTE:
All the calculations are done before the movement of the axes. The mode selection needs to be
done prior to the start of the axis movement.
In this mode, the user must set the Maximum Acceleration (diAccMax) and Maximum
Deceleration (diDecMax) so that the calculated Acceleration and Acceleration (of the longer
axis) stays within the acceptable operating limits of the machine.
In this scenario, the alarm message " Auto Correction On with Acc / Dec Limited" is set and the
straight line trajectory can not be assured.
In this mode, there is always a movement in X- and in Y- direction and accordingly delta X and
delta Y cannot be zero.
72 EIO0000000195 06/2015
XYPickAndPlace
Axis Movement
EIO0000000195 06/2015 73
XYPickAndPlace
Description
In Semi-Automatic mode (i_xAutoMode=FALSE), after enabling i_xEn input, the function block
is activated and the structure parameters are validated. After enabling the function block, the first
rising edge of the i_xExe input moves the axis to XYPara.diPosStrtX and
XYPara.diPosStrtY.
Approach Distance
If the approach distance is greater or equal to the target position, then the rising edge of i_xExe
moves the axis to the target positions with XYPara.udiApprVel, XYPara.udiApprAcc and
XYPara.udiApprDec from the start position.
If the approach distance is less than the target position then the rising edge of i_xExe moves the
axis to the target positions with XYPara.udiTrgtVel, XYPara.udiTrgtAcc and
XYPara.udiTrgtDec from the start position.
When the axis is at the end position, the rising edge of i_xExe moves the axis to
XYPara.diPosStrtX and XYPara.diPosStrtY.
NOTE: Movement from the start position to the end position or vice versa happens only on the
rising edge of i_xExe input.
NOTE: Improper setup of acceleration, deceleration, speed parameters, or the approach point is
too close to the target position may cause a position overshoot.
WARNING
TARGET POSITION OVERSHOOT
Verify and validate that the parameters of acceleration, deceleration, speed and approach
distance are correct before executing the function.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
74 EIO0000000195 06/2015
XYPickAndPlace
Timing Chart
This figure shows a timing chart in the Semi-Auto mode:
EIO0000000195 06/2015 75
XYPickAndPlace
Description
In Automatic mode (i_xAutoMode = TRUE), after enabling i_xEn input, the function block is
activated and the structure parameters are validated. In Auto mode, i_xExe input must be TRUE.
After enabling the function block, the first rising edge of the i_xMoveStrt input moves the axis
from any position to XYPara.diPosStrtX and XYPara.diPosStrtY.
Approach Distance
If the approach distance is greater or equal to the target position then a rising edge of
i_xMoveStrt moves the axis to the target positions with XYPara.udiApprVel,
XYPara.udiApprAcc and XYPara.udiApprDec from the start position.
If the approach distance is less than the target position then a rising edge of i_xMoveStrt moves
the axis to the target positions with XYPara.udiTrgtVel, XYPara.udiTrgtAcc and
XYPara.udiTrgtDec from the start position.
When the axis is at the end position, the rising edge of the i_xMoveStrt moves the axis to
XYPara.diPosStrtX and XYPara.diPosStrtY.
NOTE: Movement from the start position to the end position or vice versa happens only on a rising
edge of the i_xMoveStrt input. During this movement, the i_xExe input must be TRUE.
NOTE: When i_xExe is FALSE while the axis is in motion, the axis stops after completing the
current operation.
NOTE: Improper setup or cabling may cause unintended equipment action.
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that all configuration parameters are correct and validate cabling before commissioning.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
76 EIO0000000195 06/2015
XYPickAndPlace
Timing Chart
This figure shows a timing chart in Auto mode:
EIO0000000195 06/2015 77
XYPickAndPlace
Section 3.4
Pin Description
Pin Description
78 EIO0000000195 06/2015
XYPickAndPlace
EIO0000000195 06/2015 79
XYPickAndPlace
80 EIO0000000195 06/2015
XYPickAndPlace
Input: i_xExe
Rising edge enables the selected operating mode (Auto / Semi-Auto).
In Auto mode, i_xExe must be TRUE for mode operation. If falling edge of i_xExe is detected
during axis movement, the current operation will be executed and the operation will be stopped.
In Semi-Auto mode, rising edge of i_xExe is required in each cycle to move the axis from start
position to target position or vice versa.
NOTE: After enabling the function block in Semi-Auto mode, the first i_xExe trigger will move the
axis to start position.
Input: i_xMoveStrt
In Auto mode, if i_xExe is TRUE, the function block waits for i_xMoveStrt rising edge to move
the axis to i_stXYPara.diPosStrtX or i_stXYPara.diPosStrtY.
NOTE: i_xMoveStrt input is not applicable in Semi-Automatic mode. After enabling the function
block in Auto mode, the i_xExe trigger is required to select the Auto mode and the first
i_xMoveStrt trigger will move the axis to the start position
EIO0000000195 06/2015 81
XYPickAndPlace
Input: i_stXYPara
82 EIO0000000195 06/2015
XYPickAndPlace
NOTE: All values for distance, velocity and deceleration/acceleration are depending on the amount
of pulses per one motor revolution. According to this the minimum/maximum values are given by
the following equations:
Acceleration /*min*/= (30 * Motor pulses per revolution)/60
Acceleration /*max*/= (3000000 * Motor pulses per revolution)/60
Deceleration /*min*/= (750 * Motor pulses per revolution)/60
Deceleration /*max*/= (3000000 * Motor pulses per revolution)/60
NOTE: xCyclEnd input status is only latched into internal bit of function block when box count is
0 (q_uiBoxCnt = 0) and can be considered as initial instantiation of the function block. That
means, internal bit is NOT changed during power cycle or disabling of the function block.
EIO0000000195 06/2015 83
XYPickAndPlace
Axis Movement
This figure shows axis movement with udiApprDist:
WARNING
UNINTENDED EQUIPMENT OPERATION
Verify that all configuration parameters are correct and validate cabling before commissioning.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
84 EIO0000000195 06/2015
XYPickAndPlace
Input: i_stPItPara
Pallet Parameters
This figure shows the different pallet parameters:
EIO0000000195 06/2015 85
XYPickAndPlace
Input: i_xShiftFrstY
Description
The i_xShiftFrstY input determines whether the boxes are placed first in Y axis by setting this
input to TRUE.
As this priorization for the Y axis can only be accepted at the beginning of an empty pallet layer,
following pre-conditions need to be fulfilled:
1. X and Y axis are at the start (pick) position.
2. The box count of the actual layer is zero (q_uiBoxCnt = 0)
After both conditions have been met a rising edge on i_xExe is required to enable this setting.
86 EIO0000000195 06/2015
XYPickAndPlace
EIO0000000195 06/2015 87
XYPickAndPlace
Input: i_uiStepNb
Description
The i_uiStepNb input refers to the number of positions to be shifted with reference to the last
placed box.
88 EIO0000000195 06/2015
XYPickAndPlace
Input: i_uiNbLayr
Description
The i_uiNbLayr input refers to the number of layers to be executed.
This figure shows 4 layers:
NOTE: When layer is completed with skipping, an alarm message "Layer completed with skipping"
will be displayed. Empty space of the layer can be filled manually.
EIO0000000195 06/2015 89
XYPickAndPlace
Input: i_stXYPara.udiApprDist
Description
The approach distance is the distance for which the axes will travel with Target Velocity (usually
less velocity than the i_stXYPara.udiApprVel), Target Acceleration and Target Deceleration.
90 EIO0000000195 06/2015
XYPickAndPlace
EIO0000000195 06/2015 91
XYPickAndPlace
92 EIO0000000195 06/2015
XYPickAndPlace
EIO0000000195 06/2015 93
XYPickAndPlace
Notifications
Alert Messages
94 EIO0000000195 06/2015
XYPickAndPlace
Section 3.5
Quick Reference Guide
EIO0000000195 06/2015 95
XYPickAndPlace
Visualization
This figure shows a visualization of the XYPickAndPlace function block:
96 EIO0000000195 06/2015
XYPickAndPlace
Process Description
This table describes the quick commissioning procedure for the XYPickAndPlace function block:
Step Action
1 Add following supporting libraries into the application program:
Packaging Library
Parameterizing
This table lists the input parameters to be entered:
EIO0000000195 06/2015 97
XYPickAndPlace
NOTE: The above values were tested in laboratory conditions and are for sample only. Appropriate
values should be entered as per the actual machine setup.
98 EIO0000000195 06/2015
XYPickAndPlace
Troubleshooting
Troubleshooting
This table describes some general issue and their solutions:
EIO0000000195 06/2015 99
XYPickAndPlace
NOTE: The function block is based on the standard PLCopen library, relying mainly on SDO
communications of CANopen.
Part III
TensionControl
TensionControl
Chapter 4
DigitalTensionControl: Controlling Consistent Film Tension Between Two Digital Sensors
Overview
This chapter describes the following function blocks:
DigitalTensionControlATV
DigitalTensionControlATV_Motion
Section 4.1
Functional and Machine Overview
Functional Overview
The function block can be used for both modes, namely slave driven through surface roller and
slave driven axially.
Applications
The function block is applicable for:
Horizontal bagging machine
Vertical bagging machine
Labeling machine
Functional View
Machine Overview
Purpose
During the film unwinding operation, the arm tends to go towards the SensorArmDown sensor
located at down position (see the machine view figure). The goal of this application function block
template is to maintain the tension of the film between two limits, and this is achieved by controlling
the position of the tension arm.
Sychronization Process
This application function block provides the synchronization between a slave axis (typically the film
roller "machine view figure: motor M1") and a master axis (the pulling film or feeder "machine view
figure: motor M2) with the help of digital sensors. Based on digital sensor inputs, the angular
velocity will be varied to maintaining the position of the tension arm between the two sensors.
This application function block commands the speed of an axis as slave coupled to a master axis.
The master axis can be a physical or virtual axis.
Machine View
Section 4.2
Architecture
Architecture
Hardware Architecture
Environment
Based on the axes configuration the DigitalTensionControlATV has the following types of
architecture:
Axial Driven
The slave axis is driven directly from the axis.
Surface Driven
The slave axis is driven directly from the surface.
NOTE: The function block is applicable only for Altivar drives as slave.
Software Architecture
DataFlow Overview
Section 4.3
Function Block Description
Operating Modes
The function block works in two different modes:
Slave driven through surface roller
Slave driven axially
Section 4.4
Pin Description
Pin Description
Input: i_rSpdGdnt
Slave Axis Speed increase or decrease are calculated based on this value. The Speed correction
is done only if the sensor is active for 60 seconds.
Example:
1000 RPM needs to be decreased or increased according the sensor arm position. For details,
refer below for i_dwCycl description.
Input: i_dwCycl
For effective speed correction, this input should be same as the Target cycle time. This parameter
decides the speed correction per scan.
Example:
i_rSpdGdnt = 1000 RPM and i_dwCycl = 10 ms, then Speed Correction = (1000/60000)*10 =
0.166 revolutions will be added or subtracted from the slave speed.
Input: i_stDiaActl
Description
This structure is used for the diameter calculation.
When the machine is started with a new film roll, its actual diameter needs to be entered in
i_stDiaActl.rDia and i_stDiaActl.xDiaSet needs to be set TRUE.
Then initially, the slave will start with the speed as per the entered diameter.
Speed ratio (i_stDiaActl.rSpdRto) is the gearing factor for the slave motor. If gear is not used,
set the i_stDiaActl.rSpdRto to 1.0.
NOTE: Whenever the slave speed (actual speed of the drive) is below i_stDiaActl.rSpdMin
and actual Line speed is below i_stDiaActl.rLineSpdMin, then the actual diameter
calculation will stop.
Mathematical Background
Example
If the line speed is 50 % (250 m/min) of the maximum speed (500 m/min), the minimum diameter
is 10 % (100 mm of the maximum diameter (1000 mm) and the un-winder speed is 40 % (636.94
RPM) of the maximum un-winder speed (1592.35 RPM))
Un-winder speed (Max) = (1* 500*1000) / (3.14* 100) = 1592.35 RPM.
Where Speed Ratio = 1, Line Speed (Max) = 500 m/min, Minimum Diameter = (100 mm).
Then the actual diameter value can be calculated as:
Diameter Actual (%) = (50*10)/40= 12.5% of the maximum diameter.
Diameter Actual (mm) = (250)/(3.14*636.94) = 0.125 m = 125 mm
NOTE: i_rLineSpdMax structure parameter is common for surface and axial mode, other
structure parameters of i_stDiaActl are used only for the axial driven mode. The reset of the
diameter calculation in axial driven mode is mandatory in case the film reel is changed. This will be
executed by resetting the internal state machine of the function block by disabling and enabling the
function block.
Structured Parameters
NOTE: The axis status of the drives can be read via using PLCopen FB (MC_ReadStatus_ATV
& MC_ReadStatus_LXM or MC_ReadStatus). Before starting the machine in axial driven mode,
actual diameter value of unwinder roll (i_stDiaActl.rDia) must be passed to the function block
and this value will be accepted only on the rising edge of i_stDiaActl.xDiaSet.
If the real diameter of the roll is much greater than the parameter setting more material might be
unwound after first cycles and film tension may be too low.
If the real diameter of the roll is much smaller than the parameter setting less material might be
unwound after first cycles and film tension may be too high.
The film might tear or the tension arm might be pulled by the tightened film into its mechanical end
position.
NOTICE
INCORRECT DIAMETER SETTINGS
Be sure that the actual diameter value of the un-winder roll is established (i_stDiaAct1.rDia)
before starting the machine in axial driven mode.
Failure to follow these instructions can result in equipment damage.
Input: i_stUnwd
Description
This structure is used for setting the following unwinding parameters:
acceleration time (i_stUnwd.diAcc)
deceleration time (i_stUnwd.diDec)
unwinder minimum diameter (i_stUnwd.rUnwdDiaMin) to initiate notification
time for detecting the film end (i_stUnwd.dwFilmTimeEnd) when the sensor arm is down
The speed ratio (i_rSpdRto) is the ratio to calculate the slave speed in surface driven mode.
Mathematical Background
Structured Parameters
NOTE: i_stUnwd.diAcc and i_stUnwd.diDec scaling factor (X) is in the drive parameter
setting. Factory setting is 0.1. If i_stUnwd.diAcc is 100 s, then drive interpreted time is 10 s.
NOTE: The Master’s line speed is always interpreted as absolute value. The direction of rotation
for the Slave will not be changed by inverting the line speed of the Master.
Output: q_xFilmEnd
If the line speed is above dead band and if down sensor remains sensed for a predefined time
(i_stUnwd.dwFlmTimeEnd), then the output (q_xFlmEnd) is set TRUE.
NOTE: DeadBand has a constant value of 1.3 m/min in the function block. When the i_xSenDown
is FALSE, the q_sErrMsge will be reset.
Notifications
Alarm Messages
The following alarm message will be displayed as and when required:
"SLAVE POSITIVE FREQ LIMIT REACHED" - When the slave frequency reaches the maximum
frequency set in the drive.
"SLAVE MINIMUM FREQ LIMIT REACHED" - When the slave frequency reaches the minimum
frequency set in the drive.
"DIAMETER SETTING REQUIRED OR MINIMUM DIAMETER REACHED" - When internal
diameter is less than minimum diameter or diameter setting is not done.
Section 4.5
Quick Reference Guide
Visualization
This figure shows the HMI visualization for DigitalTensionControl function block:
NOTE: The calculation of the remaining, actual diameter of the unwinding film reel works sensor-
less and based therefore on a mathematical model.
Due to this the following factors describe the limiting effects on reliable results:
The calculation requires a constant line speed of the film. If the digital tension control function
block is operated in intermittent mode no accurate values can be evaluated.
In addition to a constant line speed a continuous movement of the unwinding Variable Speed
Drive (VSD) is necessary. As long as the VSD goes into standstill or a setpoint speed close to
0 Hz (high motor slip on asynchronous machines) during operation is caused to regulate the
tension, no appropriate value can be calculated.
The first calculation of diameter results will be provided after the speed of the VSD has been
monitored and averaged over a certain period. How long this period will last depends on the
mechanical parameters (film reel diameter plus motor/gearbox configuration) and cannot be
given in an absolute time frame in general.
Commissioning Procedure
This table describes the commissioning procedure for the DigitalTensionControl function
block:
Step Action
1 Add the supporting libraries into the application program:
Load the Packaging Library for using the DigitalTensionControl
function block in your application.
2 Select the unwinding type:
Surface driven (Surface Drv)
Axial driven (Axial Drv)
Input Description
i_xEn Enable or disable the function block
i_xSenUp Sensor arm up sensor is to be connected here.
i_xSenDown Sensor arm down sensor is to be connected here.
i_rMotRollDia The motor roll diameter in terms of millimeter
i_rSpdGdnt The parameter with which the slave speed will be
corrected to maintain the constant tension on the Film.
Example:
i_rSpdGdnt is 1000 RPM and i_dwCycl is 10 ms,
then Speed Correction = (1000 /60000)*10 => 0.166
revolutions will be added to or subtracted from the
slave speed as per SensorArmUp or SensorArmDown
signal.
i_dwCycl Target execution time for speed correction
i_rLineSpd Actual line speed of machine in meters per minute
i_xSurfMode If TRUE then Surface Driven mode is selected
i_stUnwd.rSpdRto Ratio to calculate slave speed
i_stUnwd.diAcc Acceleration time for the slave
i_stUnwd.diDec Deceleration time for the slave
i_stUnwd.rUnwdDiaMin Minimum diameter to raise notification
i_stUnwd.dwFilmTimeEnd Wait time for film end notification
i_stDiaActl.rLineSpdMax Maximum line speed limit
Input Description
i_xEn Enable or disable the function block
i_xSenUp Sensor arm up sensor is to be connected here.
i_xSenDown Sensor arm down sensor is to be connected here.
i_rSpdGdnt The parameter with which the slave speed will be
corrected to maintain the constant tension on the film
i_dwCycl Target execution time for speed correction
i_rLineSpd Actual line speed of machine in meters per minute
i_xSurfMode If FALSE then Axial Driven mode is selected.
i_stUnwdr.rSpdRto Ratio to calculate slave speed
i_stUnwd.diAcc Acceleration time for the slave
i_stUnwd.diDec Deceleration time for the slave
i_stUnwd.rUnwdDiaMin Minimum diameter to raise notification
i_stUnwd.dwFilmTimeEnd Wait time for film end notification
i_stDiaActl.rDiaMin Minimum diameter value
i_stDiaActl.rDiaMax Maximum diameter value
i_stDiaActl.xDiaSet To set the diameter initially
i_stDiaActl.rDia Set diameter value
i_stDiaActl.rSpdMin Minimum slave speed to calculate diameter
i_stDiaActl.rLineSpdMin Minimum line speed to calculate diameter
i_stDiaActl.rLineSpdMax Maximum line speed limit
Input Description
i_xEn TRUE
i_xSenUp TRUE
i_xSenDown FALSE
i_rMotRollDia 200.00 mm
i_rSpdGdnt 100.00 RPM
i_dwCycl 10 ms
i_xSurfMode TRUE
i_stUnwd.rSpdRto 5
i_stUnwd.diAcc 100 s
i_stUnwd.diDec 100 s
i_stUnwd.rUnwdDiaMin 100.00 mm
i_stUnwd.dwFilmTimeEnd 10000 ms
i_stDiaActl.rLineSpdMax 300.00 m/min
i_stDiaActl.rLineSpdMin 10.00 m/min
NOTE: The above values were tested in laboratory conditions and are for sample only. Appropriate
values should be entered as per the actual machine setup.
Input Description
i_xEn TRUE
i_xSenUp TRUE
i_xSenDown FALSE
i_rMotRollDia 200.00 mm
i_rSpdGdnt 100.00 RPM
i_dwCycl 5 ms
i_xSurfMode FALSE
i_stUnwd.rSpdRto 5
i_stUnwd.diAcc 100 s
i_stUnwd.diDec 100 s
i_stUnwd.rUnwdDiaMin 100.00 mm
i_stUnwd.dwFilmTimeEnd 10000 ms
i_stDiaActl.rLineSpdMax 300.00 m/min
i_stDiaActl.rLineSpdMin 10.00 m/min
i_stDiaActl.rDiaMin 50.00 mm
i_stDiaActl.rDiaMax 1000.00 mm
i_stDiaActl.rDiaSet TRUE
i_stDiaActl.rDia 900.00 mm
NOTE: The above values were tested in laboratory conditions and are for sample only. Appropriate
values should be entered as per the actual machine setup.
Troubleshooting
Troubleshooting
This table describes some general issues and their solutions:
Chapter 5
AnalogTensionControl: Controlling Consistent Film Tension Depending on Analog Sensor Feedback
Overview
This chapter describes the following function blocks:
AnalogTensionControlATV
AnalogTensionControlLXM_Motion
AnalogTensionControlATV_Motion
Section 5.1
Functional and Machine Overview
Functional Overview
Functional Description
Analog tension control makes use of an analog sensor to provide tension feedback to the control
system. The linear speed of the film is determined by the Master axis. Analog feedback from a film
tension sensor is used to adjust the slave axis speed to maintain the desired film tension.
Compatibility
The Function Block is applicable to the following types of packaging machines:
Vertical bagging machine
Horizontal bagging machine
Labeling machine
Functional View
The function block calculates the velocity of a feeder according to the film velocity and the dancer
position of the unwinder axis.
Depending on the machine, the motor can be located directly on the shaft of the feeder. This
means a large diameter of the roller has a low velocity, whereas a small diameter has a high
velocity.
If the diameter of the roller is not measured by using a dedicated sensor in this the average
diameter of the roller can be specified. The velocity must be completely regulated using the dancer,
from the largest diameter to the smallest diameter.
Machine Overview
Section 5.2
Architecture
Architecture
Hardware Architecture
The figure shows the hardware architecture with a Motion Controller, servo drive on CANmotion or
Sercos and a variable speed drive on CANopen.
The figure shows the hardware architecture with a Motion Controller and servor drives on
CANmotion or Sercos.
Hardware Environments
This table describes the architecture types based on the axes configuration of the AnalogTen-
sionControlATV function block:
or
analog input on drives
This table describes the architecture types based on the axis configuration of the
AnalogTensionControlATV_Motion function block:
This table describes the architecture types based on the axis configuration of the
AnalogTensionControlLXM_Motion function block:
Software Architecture
DataFlow Overview
In analog tension control, actual tension is measured by a tension sensor which is an analog input
in the form of voltage (0-10 V) or current (0-20 mA, 4-20 mA).
The function block acts as a variable gear box between master and slave axis.
Section 5.3
Function Block Description
Section 5.4
Pin Description
Pin Description
The following table describes the input pin description for motion blocks:
NOTE: Both described In/Outputs are mandatory because these inputs link the function block to
the controlled axis.
NOTE: The Master’s line speed is always interpreted as absolute value. The direction of rotation
for the Slave will not be changed by inverting the line speed of the Master.
NOTE: "Slave Maximum Frequency Reached" alarm is generated as soon as the command
frequency goes beyond the nominal frequency of the slave axis.
NOTE: The LSP and HSP of the slave axis should be taken into consideration and modified as per
the requirement of the application. It is recommended to set LSP value to 0.0 Hz.
Notifications
This table describes the detected alarm IDs and notifications of the function block:
Section 5.5
Quick Reference Guide
Visualization
This figure shows a visualization for the AnalogTensionControlATV function block:
Step Action
1 Add the Toolbox library into the application program.
2 Load the FB_PID from Toolbox library and AnalogTensionControlATV
function block in your application.
3 Verify that each CANopen Manager, Master and Slave axis have different node
numbers and same baud rate.
4 Define the different input parameters for the AnalogTensionControlATV
function block from SoMachine Visualization screen or from HMI.
Refer to:
parameterizing in fixed gear mode
parameterizing in auto gear mode
NOTE: The above values were tested in laboratory conditions and are for illustrative purposes
only. Appropriate values should be entered as per the actual machine setup.
NOTE: The above values were tested in laboratory conditions and are for illustrative purposes
only. Appropriate values should be entered as per the actual machine setup.
Troubleshooting
Troubleshooting
This table describes some general issues and their solutions:
Part IV
TemperatureControl
TemperatureControl
Chapter 6
TemperatureControl: Monitoring and Controlling of Temperature-Dependent Packaging Processes
Overview
This chapter explains the functionality and implementation of the TemperatureControl function
block in the packaging industry.
Section 6.1
Functional and Machine Overview
Functional Overview
Application
The TemperatureControl function block is applicable to the following machines:
Horizontal bagging machine
Vertical bagging machine
Functional View
Machine Overview
Section 6.2
Architecture
Architecture
Hardware Architecture
Software Architecture
Mathematical Background
The FB_PID function block operates according to the transfer function:
DataFlow Overview
Section 6.3
Function Block Description
TemperatureControl Function
Pin Diagram
Temperature Measurement
A thermocouple or a resistance thermometer (for example, Pt100) is used to measure the process
temperature. The set value for the FB_PID function block is limited by SetPoint high and low value,
and it can be ramped optionally. The control output is available in the form of an analog output and
a PWM output.
AutoTuning Algorithm
The AutoTuning algorithm is based on the Ziegler-Nichols inflectional tangent method. With this
method, the maximum response rate and dead time of the process is calculated. After calculating
the time constant, the PID parameters are calculated. There are different monitoring parameters
which conditions can be monitored as follows:
Temperature Low Low
Temperature Low
Temperature High High
Temperature High
Auto Tuning
Functional Description
AutoTuning once enabled disables the PID action or output from the Process.
A step signal is applied through AutoTuning the process value will be sampled and checked for
the steady state by comparing the process value stability within tolerance limits.
Once the process value reaches the steady state, then the dead time, delay time and the
response rate are calculated.
Based on these values the PID parameters are calculated. These PID values calculated through
AutoTuning can be accepted / rejected for executing the PID.
Digital Filter
This function incorporates the functionality of digital filter to reduce the noise at the input.
PWM
The internal PWM Heating function generates pulse width modulation output (q_xPwm) based on
the FB_PID output and FB_PID maximum limit.
This figure shows the timing diagram for the PWM Heating function block:
NOTE: If time period = 5 s and PID output is 20 % (PID high limit = 100) then the q_xPwm is high
for 1 s and low for 4 s.
Section 6.4
Pin Description
Pin Description
Input: i_stPid
Input: i_stPid
This structured input consists of PID and AutoTuning parameters. This table describes the input
details:
rKp: The proportional term of PID changes the output proportional to process error. The
proportional output is adjusted by multiplying the process error with gain Kp. The value of gain
is defined at the pin rKp.
rTn: The integral term contribution to PID output is proportional to both the magnitude of
process error and duration of process error. Integral term will sum the process error over time
(Integrate the process error).The integrated value of process error is divided by integral time.
The magnitude of integral output is adjusted by Proportional gain. The value of integral time is
defined in variable rTn.
rTv: Derivative term determines the rate of change of process error over time and multiplying
it with derivative time is the derivative output. The derivative term output is adjusted by
derivative time. The value of derivative time is defined at the pin rTv.
NOTE: The value of Td should not be less than cycletime. If it is less than cycletime then Td
value will be overwritten with the value of cycletime. Parameters uiCycl or rTargCyclTime
have an influence on the calculated results of the PID parameters. If parameters uiCycl or
rTargCyclTime will be changed afterwards a new execution of the AutoTuning process is
mandatory.
rInerWdo: If the absolute value of the process error is less than rInerWdo then integral
calculations are scaled by factor [ABS (process error value) / Inner Window]. The process error
value is the difference between the setpoint and the actual process value. If process error value
is greater than rInerWdo and less than rOterWdo, normal integral calculations are performed.
This window slows down the change in FB_PID output caused by integral part.
Process error value = Set Point - Process value
rOterWdo: If the absolute value of the process error is greater than rOterWdo, integral
calculations are stopped and integral output is held at the last value. This prevents the integral
part from winding up too high and helps to avoid overshoot and oscillation of the controlled
system.
Example: With rInerWdo=10 and rOterWdo=200.
If Setpoint=250 and Process value=100, then process error value=150 and it is within the range
mentioned by window parameters, so normal integral calculation is executed.
If Setpoint=250 and Process value=245, then process error value=5 and it is less than
rInerWdo, so integral calculation is scaled.
If Setpoint=250 and Process value=30, then process error value=220 which is above
rOterWdo, so integral calculation is hold with the previous value.
NOTE: The rInerWdo and rOterWdo parameters should not be configured to have the same
value. If these parameters values are configured equally, then the FB will generate a
configuration error. The corresponding Error ID is 16 and the notification is INVALID I WINDOW
PARAMETER.
i_xAcptPara,i_xRjctPara: These inputs are used to accept or reject the PID parameters
calculated by the AutoTuning function block. To accept the parameters, you have to enable
i_xAcptPara followed by a rising edge signal on the i_xExe pin. Then the FB_PID function
block will generate an output based on the new PID parameters.
To reject the parameters, enable the i_xRjctPara pin followed by the rising edge signal on
the i_xExe pin.The FB_PID function block will generate an output based on the PID
parameters provided by the user.
NOTE: Once the parameters are accepted, the PID function block uses the new parameters
calculated by Auto Tuning function block. After this if for any other parameter change,
execute rising edge is given then PID will use parameters provided through i_stPid.rKp,
i_stPid.rTn, i_stPid.rTv.
xOnOffCtrl
If xOnOffCtrl is true, the PID is ignored and the control output of the heater system is based on
On Off control. The Kp parameter became the hysteresis of On Off control.
An On Off control function acts like a thermostat. If the process is below the setpoint, it closes the
output contact, and the heating runs at full power. If the setpoint is reached, the power is set to 0%,
i.e switched off. If the process value now falls, when it goes below the level (setpoint minus
switching differential hysteresis), the output will be switched on again.
If a On Off control is operated in a first order process, then the heating is switched on if the actual
temperature of the system is less than the setpoint. Since there is only one component to store the
heater energy, the temperature will instantly start to rise. If the setpoint is reached, the power is set
to 0%, i.e. switched off, and the process value will not go above the setpoint.
Theoretically, the process value instantly starts to fall and after a certain time it will have fallen to
the lower switching point.
The heating is switched on again, and the process value starts to rise again. In the first order
process, the process value moves within the band defined by the switching differential. The
switching frequency is higher and the controlled becomes faster as the hysteresis is set smaller.
Input: i_stTempCtrl
Input: i_stTempCtrl
This structured input consists of function block parameters other than PID and AutoTuning:
Notifications
This structured output provides the detected alarm status of TemperatureControl function
block:
Detected Notification
Alarm ID
0 Okay
1 INTERNAL ALARM
20 INVALID CYCLETIME
115 INVALID DEADBAND VALUE
200 INVALID PID PARAMETER
202 INVALID I WINDOW PARAMETER
203 INVALID PID LIMIT PARAM
204 ALL PID PARAMETERS ARE ZERO
300 PWM TIME PERIOD INVALID
301 PWM MINIMUM ONTIME INVALID
302 PWM MAXIMUM ONTIME INVALID
310 RAMP GDNT RISE GREATER THAN SP1 OR SP2 OR EQUAL TO ZERO
311 RAMP GDNT FALL GREATER THAN SP1 OR SP2 OR EQUAL TO ZERO
320 SETPOINT HIGH LIMIT VALUE LESS THAN LOW SETPOINT
322 STARTUP TIME INVALID
323 STARTUP VALUE INVALID
331 TEMP LOWLOW VALUE INVALID
332 TEMP HIGH VALUE INVALID
Alert Messages
This structured output provides the alert status of TemperatureControl function block:
Output: q_sAttnStat
Output: q_sAttnStat
This is the string output which gives the status message of the AutoTuning process:
NOTE: If the status message is displayed as "CANCELLED" and "TIME OUT", then to restart
AutoTuning, you have to disable and enable the FB.
Output: q_stPid
Output: q_stPid
This structured output includes the PID parameters calculated by AutoTuning. The structure details
are explained in the given table:
NOTE: In the event of a detected error, the function block will be initialized. To execute the function
block again, correct the detected error and enable i_xRst.
Structure elements i_stPid.uiCycl or i_stPid.rTargCyclTime have an influence on the
calculated results of the PID parameters. If parameters uiCycl or rTargCyclTime will be
changed afterwards a new execution of the AutoTuning process is mandatory.
Section 6.5
Quick Reference Guide
Introduction
In the following figures, you will see the visualization of the function block in the software:
Commissioning Procedure
This table describes the quick commissioning procedure for the TemperatureControl function
block:
Step Action
1 Add the Packaging Library into the application program.
2 Load the TemperatureControl function block in your application.
3 Enter all parameters in the controller configuration.
4 Connect to the function block input i_rPv the variable assigned to the temperature sensor.
5 Connect the function block output q_xPwm to the variable assigned to the heater module.
6 Enable the function block with i_xEn.
7 Enable AutoTuning with parameter i_stPid.xAttn.
8 Accept all new inputs with a rising edge signal on i_xExe.
9 AutoTuning is running. The status must be verified at the output q_iAttnStat and
q_sAttnStat.
10 After AutoTuning has calculated the PID parameter (state 6), you have to accept
(i_stPid.xAcptPara) or reject (i_stPid.xRjctPara) them, followed by a rising edge
signal on the i_xExe pin.
11 Disable the parameter i_stPid.xAttn and i_stPid.xAcptPara.
12 After verification of the Auto Tuning result, use the calculated PID parameter at q_stPid as the
input parameter for i_stPid.
NOTE: For commissioning, it is helpful to use the function block visualization and also to create a
trace with the parameter i_rSp1, i_rPv, q_rAna and q_xPwm.
Parameterizing
This table lists the input parameters to be entered:
NOTE: The values above were tested under laboratory conditions and are for illustrative purposes
only. Appropriate values should be entered as per the actual machine setup.
It is important that the task cycletime is given to i_stPid.rTargCyclTime. Otherwise, the
calculation of the PID output will be imprecise (I-part).
Part V
LateralPositionControl
LateralPositionControl
Chapter 7
LateralPositionControl: Controlling Correct Lateral Film Position with Two Digital Sensors
Overview
This chapter describes the LateralPositionControl function block.
Section 7.1
Functional and Machine Overview
Functional Overview
Application
In packaging machines LateralPositionControl function block verifies the correct lateral
position of the film.
The function block is applicable to the following types of packaging machines:
Vertical bagging machine
Horizontal bagging machine
Functional View
This figure shows the LateralPositionControl function block generating digital outputs:
This figure shows the LateralPositionControl function block generating analog outputs:
Section 7.2
Architecture
Architecture
Software Architecture
DataFlow Overview
Section 7.3
Function Block Description
Pin Diagram
NOTE: The operating modes as well as the output modes can be changed on-the-fly.
Manual Inputs
In Manual mode with no detected error, manual input i_xManLeftMove is used to control the left
movement of the film. Similarly, manual input i_xManRighMove is used to control right movement
of the film.
NOTE: In Manual mode if both i_xManRighMove and i_xManLeftMove are TRUE, then
i_xManRighMove is given priority. In Automatic mode, the manual inputs are ignored and only
sensor inputs are taken into account.
Position Configuration
The function block support 3 sensor position configurations.
This figure shows symmetrically placed sensors:
Automatic Mode
De-bouncing
In Automatic mode of operation, to avoid the sensor signals bouncing due to film vibration, the
signals are continuously monitored for inactivity for a time greater than
i_stCmdPara.dwTimeWait before the position correction outputs (q_xFilmLeftMove,
q_xFilmRighMove or q_rOputAna) are activated.
This diagram shows the timing diagram for digital output:
Digital Output
While operating in Automatic mode with digital outputs, film position has to be corrected within
i_stCmdPara.dwTimePosCorr time. If correction is not achieved, the function block displays
timeout alarm. The value of i_stCmdPara.dwPosCorrTime must be set greater than zero in
Automatic mode.
In Manual mode, the i_stCmdPara.dwPosCorrTime value can be set to zero to disable the
functionality.
NOTE: The value of the i_stCmdPara.dwRampTime must be set greater than zero in Automatic
mode. If it is not configured greater than zero, then function block detects an error.
Analog Output
The analog output (q_rOputAna) from the function block follows a ramp with
i_stCmdPara.dwRampTime as the ramp time and i_stCmdPara.rOputAnaMax as maximum
attainable value. To command left movement, q_rOputAna is positive and to command right
movement, it is negative.
Description
Errors detected inside the function block are displayed at the output pin q_xAlrm.
Additionally, the notification ID will be set at the output pin q_uiAlrmld to indicate the type of error
detected.
Detected errors are acknowledged with the falling edge of i_xEn input.
An unacknowledged detected error resets all outputs.
If both sensors are inactive, so there will be right movement of the film. When the film is moving
rightwards and the right sensor signal becomes active without left sensor becoming active first.
NOTICE
MISFEEDS CAUSING MATERIAL DAMAGE
You must ensure that the sensor placement configuration matches the mechanical system.
Failure to follow these instructions can result in equipment damage.
Section 7.4
Pin Description
Pin Description
Input: CmdParameterFilmPos
This table describes the CmdParameterFilmPos structured input:
Notifications
Section 7.5
Quick Reference Guide
Visualization
This figure shows the visualization of the LateralPositionControl function block:
Step Action
1 Add the Packaging.library in the library manager.
2 Load the LateralPositionControl function block from Packaging library
included in your application.
3 Determine the type of sensor position configuration.
4 Connect the outputs to the corresponding output fields.
5 Perform a sensor input test.
6 Start the system.
Troubleshooting
Troubleshooting
This table shows some general issues and their solutions:
Part VI
RotaryKnife
RotaryKnife
Chapter 8
RotaryKnife_Motion: Synchronization of a Linear Axis and a Rotary Axis to Perform On The Fly Operations
Section 8.1
Functional and Machine Overview
Functional Overview
NOTE: Although the Rotary Knife function can be used for many different applications, the
examples shown in this document will refer to a typical cutting application.
Machine Overview
Machine View
The figure below gives an example of a Rotary Knife application. Master axis is a linear axis type
whereas the axis slave is a rotary axis.
Rotary Knife
With the application function blocks it is possible to handle Multi Blade Rotary Knife. The condition
is to have equidistant knifes.
In this case the parameter lrPeri is defined as the distance between the blades.
Note
Please also refer to:
Master Axis (see page 230)
Slave Axis (see page 231)
Cutting Tool (see page 231)
Capture Position of the Product (see page 231)
Section 8.2
Architecture
Architecture
Hardware Architecture
Master Axis
NOTE: This architecture is valid for the RotaryKnife_Motion and FlyingShear_Motion
function blocks.
The master axis moves a product forward continuously. It is an infinite axis.
The master axis can be of the following type:
servo drive (Lexium) on CANmotion or Sercos
any type of axis (Altivar or Lexium) coupled with a master encoder
virtual axis
If the master axis is not a servo drive on the same CANmotion or Sercos as the slave, then the
position of the master is determined by an encoder signal connected to the input of the Motion
Controller:
Example of a master axis controlled with an Altivar via CANopen communication protocol
Slave Axis
The slave axis has to be a servo drive on CANmotion/Sercos or stepper drive on CANmotion.
According to the length to cut (input i_lrLentoCut), the slave axis synchronizes itself with the
master, remains synchronized during the cut (or another operation) and finally returns to its resting
position (parameter lrPosRest) and/or continues with a new cut.
Synchronization may correspond to:
A positioning of the slave in relation to the master according to the cutting point. This position is
defined as position 0 of the slave.
A speed of the slave proportional to the speed of the master.
Cutting Tool
If needed, the knife starts its movement after the beginning of the synchronization phase (of the
master and the slave). It must have completed its movement before the end of synchronization
phase and return to its original position before a new cut is begun.
The movement of the cutting tool is managed by the application, rather than the
RotaryKnife_Motion/FlyingShear_Motion application function blocks. However, the
functions provide a "Beginning of Synchronization" signal (q_xInSync) which can be used by the
application to control the start of the cutting tool.
Sensor Wiring
If... Then...
the master is the encoder the sensor may be wired to a Touch Probe input
input (TP1, TP2…) of the Motion Controller. The TP inputs
have an acquisition time of 30µs.
the master is a servo drive on the sensor may be wired to one of the capture inputs
CANmotion or Sercos bus of the drive. (See configuration of capture inputs in
documentation of the drive.)
The standard inputs of the Motion Controller can also be used. In this case however, the acquisition
time is related to the cycle time of the Motion Controller.
Software Architecture
NOTICE
UNSATISFACTORY EQUIPMENT OPERATION
Set the modulo value higher than the maximum possible length to cut plus Touch Probe
distance to the synchronization point (greater than the sum of max i_lrLentoCut and
lrTpDistToSypt).
Failure to follow these instructions can result in equipment damage.
Slave:
For Rotary Knife:
The slave axis has to be configured as a rotary axis.
For Flying Shear:
The slave axis has to be configured as a linear axis.
NOTICE
UNSATISFACTORY EQUIPMENT OPERATION
Set the modulo value of the slave greater than or equal to than 2 times the distance between the
knife blades (perimeter) (greater than or equal to 2*lrPeri).
Failure to follow these instructions can result in equipment damage.
The axis type and the modulo is configured in the device configuration.
Section 8.3
Function Block Description
Pin Diagram
Phase Description
Start Phase The slave accelerates up to the master velocity to be
synchronized at the beginning of the synchronous phase.
The start phase distance on the slave is equal to:
Slave Start Phase Distance = ABS (lrPeri -lrPosRest)
The start phase distance on the master can be calculated
with the following formula:
Master Start Phase Distance = (ABS (lrPeri -
lrPosRest) / lrM) * 1.875
Synchronous Phase The cut (or the operation) is performed. The synchronous phase
always starts with position 0 of the slave.
Return Phase The slave returns, makes a half-turn before it begins a new
synchronous phase.
Depending on the length to cut and the perimeter of the Rotary Knife different cases are to be
distinguished:
At the end of the synchronous phase, the slave decelerates and enters a new synchronous phase
(see figure below).
At the end of the synchronous phase, the slave decelerates, stops at the resting position and
awaits a new cut position (see figure below).
At the end of the synchronous phase, the slave accelerates to enter a new synchronous phase as
fast as possible (see figure below).
The length to cut is equal to the perimeter of the knife (see figure below).
The distance covered by the master during this cycle corresponds to the length to cut
(i_lrLentoCut).
The distance covered by the slave during this cycle corresponds to the perimeter of the knife
(lrPeri).
Outside the synchronous phase, a backward movement of the slave is possible with the following
situations:
If the master moves backward. In this case the slave will follow the master backward and stop
at 0. Do not move the master backward to avoid this situation.
With warm start 1 to 5 outside the synchronous phase
If the slaves has to return to rest position (lrPosRest) when its position is included between
lrPosRest and lrPeri. This is to prevent the salve to cross the synchronous phase (see
figure below).
CAUTION
ASYNCHRONOUS OPERATION OF CUTTING TOOL
Use additional measures to avoid backward movement of the slave (Rotary Knife) unless the
application accounts for such motion.
Failure to follow these instructions can result in injury or equipment damage.
Section 8.4
Pin Description
Pin Description
Structured Parameter
iq_stPara
Parameters are entered to the application function block via the structure iq_stPara.
The main difference with inputs/outputs is that parameters are only refreshed after activation of the
application function block (i_xActv=TRUE). Therefore parameters are only taken into account
after a re-activation of the application function block.
Inputs - iq_stPara
NOTE: These parameters are valid for the RotaryKnife_Motion and FlyingShear_Motion
function blocks.
WARNING
UNINTENDED EQUIPMENT OPERATION
Set the modulo value of the master axis at least 25 times greater than the lrSyncPosEnd
parameter.
Verify that the modulo value of the master axis is as large as possible.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
Outputs - iq_stPara
Section 8.5
Operating Modes
Operating Modes
Overview
NOTE: This operating mode description is valid for the RotaryKnife_Motion and
FlyingShear_Motion function blocks.
Operating mode 0 is used to process products with a constant length. This distance corresponds
to the length of one process cycle and is defined via the input variable i_lrLentoCut.
The parameter i_lrLentoCut can be modified during the movement. The modification is
accepted for the next cycle.
Overview
This operating mode description is valid for the RotaryKnife_Motion and
FlyingShear_Motion function blocks.
Operating mode 1 has basically the same functionality as operating mode 0, extended with an
automatic correction of the product length, calculated from a position capture.
The product length correction is principally interesting in case of flexible product (with risk of
deformation, stretching, etc.). In this case a label or a mark is needed on the product.
The cutting condition is then related to the length to cut parameter (i_lrLentoCut) which can be
corrected according to the position captured at the time of label detection.
If a mark is detected inside the tolerance window, the measured length is used for cutting. Any
mark before the tolerance window will be ignored. If the position leaves the window without seeing
a mark, the default length is used and the output q_diTpAlrmCnt is incremented by 1.
The parameter i_lrLentoCut can be modified during the movement. The modification is
accepted for the next the cycle.
The parameter lrTpDistToSypt corresponds to the distance between the sensor for position
capture and the beginning of the synchronous phase (position 0 of the slave).
Depending upon this distance, several labels may be located between the sensor and the
beginning of the synchronous phase. Those captures are stored in a buffer. The
RotaryKnife/FlyingShear functions allow the storage of up to 15 positions. Over 15 positions an
alarm is detected.
To improve the accuracy, lrTpDistToSypt has to be reduced to a minimum. However,
depending upon the length to cut, this distance must be chosen higher than the minimum value,
calculated by the block function and given by parameter output lrTpDistToSyptMin.
A tolerance capture window, lrTpWdow, can be used to define an interval of valid position.
If... Then...
a mark is detected inside this the measured length is used for cutting. Any mark before
range, this range will be ignored.
the position leaves this range the default length is used and the output q_diTpAlrmCnt
without seeing a mark, is incremented by 1.
A maximum number of successive captures outside this range can be configured with the
parameter diTpMisdMax.
An alarm occurs if q_diTpAlrmCnt > diTpMisdMax. The slave is stopped with the ramp
lrDecStop.
The alarm counter q_diTpAlrmCnt is set back to 0 with the following conditions:
a valid capture signal before an alarm occurs
the function block is de-activated
with rising edge of input i_xAlrmRst while no alarm is active
With a rising edge of the input i_xTpUseNext the next capture signal is valid without any
consideration to the lrTpWdow and the alarm counter q_diTpAlrmCnt is set back to 0.
Overview
This operating mode description is valid for the RotaryKnife_Motion and
FlyingShear_Motion function blocks.
In the operating mode 2, the product arrives on the conveyor in a discontinuous and random way.
The size and the format can vary. The cutting condition is started exclusively by the position
capture.
The parameter lrTpDistToSypt corresponds to the distance between the sensor for position
capture and the beginning of the synchronous phase (position 0 of the slave).
Depending upon this distance, several labels may be located between the sensor and the
beginning of the synchronous phase. Those captures are stored in a buffer. The
RotaryKnife/FlyingShear functions allow the storage of up to 15 positions. In case more than 15
positions are detected an alarm will be raised.
lrTpDistToSypt has to be higher than the minimum value lrTpDistToSyptMin calculated by
the function block.
A capture ignorance window can be used to define an interval of valid position.
To be a valid mark, the position has to be greater then the last accepted mark + lrTPWdow:
position of previous + lrTpWdow.
If a mark is detected inside this range, the product length is calculated depending on this mark.
Any detection outside this range is ignored.
Mode Description
Detection with standard input The sensor is wired to a standard input. The capturing is
within the cycle of the motion controller.
Detection with fast input The sensor is wired to a Touch Probe input
TP1, TP2, … if the master is an external encoder
a capture input of a servo drive, if the master is a drive
diCptrNb i_xTpIputStd
0: Associated standard input. If input DI3 is used, then DI3 is
Capture is done with a wired to i_xTpIputStd.
standard input
1 to 2: No effect
Capture is done on Touch
Probe 1 to 2
If a Touch Probe is selected, the edge (rising edge or falling edge) has to be selected outside the
application function block.
Section 8.6
Start, Stop and Starting Modes
Overview
NOTE: This description is valid for the RotaryKnife_Motion and FlyingShear_Motion
function blocks.
The correct sequence for the application function block is as follows:
activate the application function block (i_xActv=TRUE)
start the movement (i_xExe=TRUE)
de-execute the application function block (i_xExe=FALSE)
de-activate the application function block (i_xActvFALSE)
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not send any other commands to the slave axis when it is under control of the
RotaryKnife_Motion/FlyingShear_Motion application function blocks.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
Starting Modes
Overview
NOTE: This description is valid for the RotaryKnife_Motion and the FlyingShear_Motion
function blocks.
There are 2 different types of starting modes:
Mode Description
Cold Start is the starting method automatically used for the first execution of the
application function block after activation. A cold start is necessary when there
is no context coming from a previous execution of the application function block
(No position captured inside the buffer, no shift applied, no output
information…).
Warm Start is the starting method used for a re-start of the application function block,
following a temporary interruption (with a falling edge on i_xExe), an error-
stop or an emergency stop without de-activation of the application function
block. In this case the previous context is kept and considered for the re-start
of the movement.
Cold Start
Overview
NOTE: This description is valid for the RotaryKnife_Motion and the FlyingShear_Motion
function blocks.
A cold start is the starting method used for the first execution of the
RotaryKnife_Motion/FlyingShear_Motion application function blocks after activation. In
other word a cold start is necessary when there is no context coming from a previous execution of
the application function block (No position captured inside the buffer, no shift applied, no outputs
information…).
Therefore, with the first rising edge of i_xExe after activation of the application function block
(rising edge of i_xActv) a cold start is automatically executed. Input i_uiStrtMode is ignored.
At cold start the slave moves to the rest position (lrPosRest). When the rest position has been
reached, the slave is coupled to the master (using the start phase) depending on the operating
mode (diOpMode) and the position capture buffer.
Modes Description
Operating Mode 0 the slave will start immediately the Rotary
Knife/FlyingShear profile when the master is started.
Operating Mode 1 and 2 the first product to be cut will be the first detected product.
Therefore, if the position capture sensor is placed 5
products before the cutting tool the 5 intermediates
products will not be cut.
Warm Start
Overview
NOTE: This description is valid for the RotaryKnife_Motion and the FlyingShear_Motion
function blocks.
A warm start is the starting method used for a re-start of the application function block following a
temporary interruption (with a falling edge on i_xExe), an error-stop or an emergency stop without
de-activation of the application function block.
In this case the previous context is kept (buffer is still active, shift is maintained, outputs are
relevant). Therefore in operating mode 1 and 2, the application can restart using valid positions
from the buffer.
Six warm start modes are available depending on the application requirements. For each warm
start mode there are certain conditions to be fulfilled. Warm start mode is selected with input
i_uiStrtMode.
How to select a warm start mode:
Mode Description
Warm Start 0 is the only warm start possible with a moving master.
(i_uiStrtMode=0)
has no tolerance window and can be used if warm start 1 to 5 is
not possible (if slave is outside the tolerance window…). In this
case the slave goes first to the rest position.
Warm Start 1 to 5 only possible if the master is stopped otherwise an alarm is
(i_uiStrtMode=1 to 5) created.
is mainly used when there is a mechanical constraint between
master and slave during the synchronization phase (a blade into
a metal sheet…). In case of accidental de-coupling of the master
and slave during the synchronization phase (emergency stop…)
the slave can be re-coupled with the master following different
conditions.
For warm start modes 1 to 5, output q_xPosWsRch indicates that the warm start position has been
reached. It signals to the application, that the master can be started.
If... Then...
the slave is still coupled to the master (ex: i_xExe=FALSE the slave stays coupled to the master and
with a master stopped into the synchronous phase) restarts normally.
the slave is in rest position (lrPosRest) the slave restarts with the next cycle if the
distance is long enough to accomplish the start
phase.
the slave is not coupled and not in rest position (in or out of the slave goes to rest position and restart with
the synchronous phase) the next cycle if the distance is long enough to
accomplish the start phase.
Warm start 1 allows backward movement of the slave into the synchronous phase.
WARNING
UNINTENDED EQUIPMENT OPERATION
Use warm start mode 3 or 5, if the machine design does not account for a backward movement
of the slave (Rotary Knife).
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
FlyingShear Representation
AND
slave position ≤ curve position + lrWsWdow / 2
3 2 the slave is in the synchronous phase and located the slave remains in position
outside the tolerance window defined by lrWsWdow and an alarm is produced.
slave position > curve position + lrWsWdow / 2 Troubleshooting
OR (see page 288)
slave position < curve position - lrWsWdow / 2
4 3 the slave is outside the synchronous phase the slave returns to its curve
position.
RotaryKnife Representation
Warm start 2 allows backward movement of the slave into the synchronous phase.
WARNING
UNINTENDED EQUIPMENT OPERATION
Use warm start mode 3 or 5, if the machine design does not account for a backward movement
of the slave (Rotary Knife).
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
FlyingShear Representation
AND
slave position ≥ curve position - lrWsWdow
4 3 the slave is outside the synchronous phase the slave returns to its curve
(see figure RotaryKnife, case 4) position.
NOTE: In this warm start mode, the slave can move only in the positive direction in the event of a
stop within the synchronous phase.
RotaryKnife Representation
FlyingShear Representation
AND
LREAL position ≥ curve position
2 and 3 1 the slave is in the synchronous phase and located the slave remains in position
outside the tolerance window defined by lrWsWdow and an alarm is detected.
LREAL position ≥ curve position + lrWsWdow (see Troubleshooting
figure RotaryKnife, case 1) (see page 288):
OR
LREAL position < curve position (see figure
RotaryKnife, case 3)
4 3 the slave is outside the synchronous phase (see figure the slave returns to its curve
RotaryKnife, case 4) position.
NOTE: With this warm start mode, the slave can move only in the negative direction in the event
of a stop within the synchronous phase.
RotaryKnife Representation
Warm start 4 allows backward movement of the slave into the synchronous phase.
WARNING
UNINTENDED EQUIPMENT OPERATION
Use warm start mode 3 or 5, if the machine design does not account for a backward movement
of the slave (Rotary Knife).
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
FlyingShear Representation
NOTE: In this warm start mode, the slave keeps its position shift with the master until the end of
synchronous phase in the event of a stop within the synchronous phase.
RotaryKnife Representation
FlyingShear Representation
Section 8.7
Special Modes
Special Modes
Immediate Cut
General
NOTE: This description is valid for the RotaryKnife_Motion and the FlyingShear_Motion
function blocks.
With input i_xSyncImdt it is possible to engage an immediate cut in operating mode 0.
The slave does not await the end of the cycle in progress. It begins immediately a new cycle with
the start phase. The length of this new cycle will be equal to the length lrLentoCut.
The input reacts on a rising edge and is considered only if the slave is in lrPosRest.This input
will be ignored in operating mode 1 and 2.
RotaryKnife Representation
Offset Mode
General
NOTE: This description is valid for the RotaryKnife_Motion and the FlyingShear_Motion
function blocks.
The offset mode:
allows the shift of the slave axis a certain distance (lrCamOfst) during the synchronous phase.
can only be activated when the application function block is de-activated.
When activated, the offset mode is applied at every cycle.
is activated with the parameter input xOfstMode.
does not influence the length of the process cycle.
value is defined with the parameter input lrCamOfst.
output q_xInSync is TRUE during the complete synchronous phase although slave and
master are not synchronized during the transition phase needed to apply the offset.
The start and end positions of this transition are defined by the following parameters:
lrPosOfstStrt
lrPosOfstEnd
Oblique Cut
General
NOTE: This description is valid for the RotaryKnife_Motion and the FlyingShear_Motion
function blocks.
With the parameter rm, it is possible to adjust the ratio of the position between the slave and the
master during the synchronous phase.
rm = ΔY / ΔX
This coefficient should be used in the applications, in which the paths of master and slave are not
parallel.
Irm can only be modified when the application function block is de-activated.
Irm = 1, the speed of slave and master are equal
Irm < 1, slaves moves slower than the master
Irm > 1, slave moves quicker than the master
Shift Function
General
NOTE: This description is valid for the RotaryKnife_Motion and the FlyingShear_Motion
function blocks.
The shift function allows to adjust manually the cut on the product. This shift (i_lrShift) is
applied to the master position in order to shift the starting point of cutting on the product.
NOTE:
The shift necessarily creates a variation of the i_lrLentoCut during the transition phase:
a positive shift leads to a shorter product during the transition and moves the start point of the
synchronous phase in the direction of the master movement.
a negative shift leads to a longer product during the transition and moves the start point of the
synchronous phase against the direction of the master movement.
In order to limit the i_lrLentoCut variation during the transition phase, it is possible to apply the
total shift divided into several steps.
This can be set-up with i_lrShiftStepSize.
Example
Example with a positive shift
Length to cut: i_lrLentoCut = 100
Steps 1-4 refer to figure below
Step Description
1 Length of the product = 100, the product is cut normally
i_lrShift = + 10 user units
i_lrShiftStepSize = 5 user units
NOTE: In this case the total shift will be applied in 2 steps, corresponding to 2
slave cycles.
2 Length of the product = 95, the product is shorter.
3 Length of the product = 95, the product is shorter.
The length of the product comes back to the normal length.
4 Length of the product = 100
The product is cut to the normal length but the starting point of the tool has
been shifted of 10 user units.
Start Modes
Depending on the start mode (cold start or warm start), the behavior of the shift is different:
If... Then...
the slave is restarted with a cold start the current shift is set to zero. No initial shift is applied.
the slave is restarted with a warm start the current shift is kept and is applied as soon as the
slave restarts. The positioning of the slave on the curve
(depending on i_uiStrtMode) is done with the shift.
Remarks:
The following positions and distances are not affected by the shift function:
length to cut
rest position
NOTE: i_lrShift and i_lrShiftStepSize are checked with every rising edge on i_xActv
and i_xExe. When the slave is running (AFB active) i_lrShift and i_lrShiftStepSize are
checked at every machine cycle.
Section 8.8
Quick Reference Guide
Visualization
Overview
Visualization screens are embedded in the Rotary Knife library. They allow to configure and to start
the application function block very easily and quickly.
All the inputs/outputs and all the parameters are accessible.
For more information please refer to How to Integrate the Visualization into an Application
(see page 395).
Rotary Knife template visualization
Troubleshooting
Troubleshooting
NOTE: This description is valid for the RotaryKnife_Motion and FlyingShear_Motion
function blocks.
Notification
When an alarm is detected:
the slave is stopped immediately with the deceleration ramp lrDecStop. The master and slave
synchronization is lost.
q_xAlrm is set to TRUE
q_diAlrmId display the notification number according to the table below
detected alarms have to be reset with a rising edge on the input i_xAlrmRst
NOTE: Output q_diAlrmId only displays the first detected alarm. Therefore a new problem is
reported only if the last active problem has been reset.
467 Invalid Rotary Knife slave axis configuration. Rotary Knife slave axis must be
(for Rotary Knife configured as a modulo axis.
only)
Part VII
FlyingShear
FlyingShear
Chapter 9
FlyingShear_Motion: Synchronization of 2 Linear Axis to Perform On The Fly Operations
Section 9.1
Functional and Machine Overview
Functional Overview
NOTE: Although the Flying Shear function can be used for many different applications, the
examples shown in this document refer to a typical cutting application.
Machine Overview
Machine View
The figure below gives an example of a Flying Shear application. Both master and slave axes are
linear axis types.
Note
Please also refer to:
Master Axis (see page 230)
Slave Axis (see page 231)
Cutting Tool (see page 231)
Capture Position of the Product (see page 231)
Section 9.2
Architecture
Architecture
Note
For the hardware and software architecture please refer to the Architecture chapter
(see page 229).
Section 9.3
Function Block Description
Pin Diagram
Phase Description
Start Phase The slave accelerates up to the master velocity to be synchronized
at the beginning of the synchronous phase.
The start phase distance on the slave is equal to:
Slave Start Phase Distance = ABS (lrPosRest)
The start phase distance on the master can be calculated with
the following formula:
Master Start Phase Distance = (ABS (lrPosRest) / lrM) * 1.875
Synchronous Phase The cut (or the operation) is performed. The synchronous phase
always starts at position 0 of the slave.
Return Phase The slave returns and makes a half-turn before it begins a new
synchronous phase.
According to the length to be cut and the length of the synchronous
phase, 2 cases are distinguished.
When the ratio i_lrLentoCut / lrSyncPosEnd is > 3, the slave returns, crosses its position of
origin (position 0) and stops at its resting position (lrPosRest) before it begins a new cycle.
The duration of the stop depends on the length to cut (i_lrLentoCut) and the speed of the
master.
Case 2: sequence of cuts (short cut)
When the ratio i_lrLentoCut / lrSyncPosEnd is < 3, the slave returns, crosses its position of
origin and begins a new cycle immediately.
The distance covered by the master during this cycle corresponds to the length to cut
(i_lrLentoCut).
Section 9.4
Pin Description
Pin Description
Pin Description
Notes
For the input pin description, please refer to the Input Pin Description (see page 241) of
RotaryKnife_Motion function block.
For the output pin description, please refer to the Output Pin Description (see page 244) of
RotaryKnife_Motion function block.
For input/output pin description, please refer to the Input/Output Pin Description (see page 245) of
RotaryKnife_Motion function block.
For structured parameter description, please refer to the Structured Parameter (see page 246) of
RotaryKnife_Motion function block.
Section 9.5
Operating Modes
Operating Modes
Operating Modes
Note
For the description of operating modes, please refer to the Operating Modes chapter
(see page 251).
Section 9.6
Start, Stop and Starting Modes
Note
For the descriptions of start, stop and starting modes, refer to the Start, Stop and Starting Modes
chapter (see page 262).
Section 9.7
Special Modes
Special Modes
Special Modes
Note
For the descriptions of other special modes, refer to the Special Modes chapter (see page 278).
Overview
With the input i_xSyncAbort, it is possible to prematurely interrupt the synchronous phase of the
cycle. Depending upon the length of the return path, the slave returns to its resting position
(lrPosRest) or begins a new cycle.
The input reacts on a rising edge and is considered only when the cycle is in the synchronous
phase.
Section 9.8
Quick Reference Guide
Visualization
Overview
Visualization screens are embedded in the FlyingShear library. They allow configuring and starting
the application function block easily and quickly.
All the inputs/outputs and all the parameters are accessible.
For more information please refer to How to Integrate the Visualization into an Application
(see page 395).
Flying Shear template visualization
Troubleshooting
Note
For troubleshooting, please refer to the Troubleshooting section (see page 288).
Part VIII
GroupingUngrouping
GroupingUngrouping
Chapter 10
Grouping - Ungrouping: Synchronization of Linear Axes to Organize Products on a Conveyor
Section 10.1
Functional and Machine Overview
Functional Overview
Function Description
The Grouping function blocks can be used separately or together. In combination they form an
unsteady product flow into an evenly spaced product flow. This introduces the concept of master
and slave.
Machine Overview
Machine View
General Overview:
Principle of Operation
If compartments are used on the target conveyor, the position of this conveyor at the beginning of
a movement is important for correct product placement. The parameter lrMstrOfst must be
determined once before the first start-up.
Its value remains constant if with every restart of the system a reference movement is executed:
After a system start-up, execute a reference movement of the master (target conveyor) to an
arbitrary compartment edge. The position of the target conveyor is then 0.
NOTICE
INOPERABLE EQUIPMENT
For a proper referencing in the controller configuration, set the modulo value of the target
conveyor to the value of i_lrDistTarg.
Failure to follow these instructions can result in equipment damage.
Measure the distance x as the distance from the start of delivery position to the first
compartment edge on the target conveyor (see figure Compartments on the Target Conveyor).
Calculate the lrMstrOfst as a function of x and d:
If... Then...
x>d rMsterOfst = i_lrDistTarg - x + d
x<d rMsterOfst = d - x
d = desired distance of the product from the compartment edge
When using compartments, xCmpt must be set TRUE. However this parameter is only evaluated
with a cold start. Then the virtual encoder is set to the actual position of the target conveyor minus
lrMstrOfst.
For an accumulator (if no stripper is used), only iOpMode = 2 (periodic geared pulsed mode) is
allowed.
For further information refer to Cold Start Accumulator (see page 365) and Cold Start Stripper
(see page 368).
Requirements:
The stripping conveyor must deliver each product with an accurate distance (i_lrDistTarg)
to its predecessor.
For the duration of the delivery, the stripper and the target conveyor must have exactly the same
velocity (Velocity = MasterVelocity).
To fulfill both requirements even high-dynamically, the accumulator conveyor must deliver the
products to the stripper conveyor with a distance i_lrDistTarg.
For this you can select between 4 different delivery modes (iOpMode = 0..3).
The stripper only requires the position information (where compartments are on the target
conveyor) and velocity information of the target conveyor (using a cam). Therefore, the master can
be an encoder.
For further information, refer to Curve Diagrams (see page 343), Input Pin Description
(see page 347), Output Pin Description (see page 349) and Parameter (see page 352).
The sensor becomes active with the arrival of the first product. Therefore, this sensor is relevant
only for a cold start. The parameter lrTpDistToSypt sets the distance between the touch probe
sensor (TP) and the point of delivery (SyncPt) from which a product is started to be delivered to
the following stripper and/or target conveyor. The delivery mode can be selected with iOpMode.
The sensor becomes active with every arrival of a product. The parameter lrTpDistToSypt sets
the distance between the sensor (TP) and the point of delivery (SyncPt) from which a product is
started to be delivered to the following target conveyor.
During the delivery the stripper conveyor moves synchronously with the target conveyor
(see page 384).
Up to 15 parts may be buffered between TP and SyncPt.
When the distance between the signals is greater than i_lrTpDistMin, the product detection is
accepted.
For the compartments on the target conveyor: if the signal distance is greater than i_lrDistTarg
+ i_lrTpDistMin, a compartment is left out and the product detected is delivered to a next
compartment.
By applying i_lrTpDistMin with the TP detection, the following type of grouping can be
accomplished:
Section 10.2
Architecture
Architecture
Software Architecture
All inputs/outputs for position, velocity and acceleration in user units are defined in the controller
configuration.
Example:
Gear ratio = 1: 1
1 motor revolution = 360 mm
Hardware Architecture
If the master axis is not a servo drive on the same CANmotion or Sercos as the slave, then the
position of the master is determined by an encoder signal connected to the input of the Motion
Controller:
NOTE: The TP inputs of the Controller cannot be used as they can only trigger encoder positions
(master) and not drive positions.
Set the parameter iCptrNb to 0 or 1.
The input i_xTpIputStd is unused.
The edge to be evaluated must configured directly in the Lexium drive.
Using for Sercos:
the FB_SercosWriteServiceDataAsync
Configure the parameter Cap1Config for capture unit 1, or Cap2Config for capture unit 2.
Chapter 11
GroupingAccumulator_Motion
GroupingAccumulator_Motion
Section 11.1
Function Block Description
Pin Diagram
The Accumulator function block is made up of:
Inputs and outputs (they can be changed on the fly.)
Parameters of inputs / outputs
Section 11.2
Pin Description
Pin Description
Troubleshooting
There are 2 types of notifications given on the output of the function block.
The first types of notifications come from internal (SoftMotion (SM3 library)) function blocks. These
notifications are given directly to the output q_diAlrmId. For these notifications see the
notifications list of the SoftMotion (SM3 library) function blocks.
The second types of notifications are generated by the function block itself. These notifications are
added to the global constant GC_MotionLib_ErrorOffset (standard 1000).
Structured Parameter
iq_stPara
Chapter 12
GroupingStripper_Motion
GroupingStripper_Motion
Section 12.1
Function Block Description
Pin Diagram
The Stripper function block is made up of:
Inputs and outputs (they can be changed on the fly.)
Parameters of inputs / outputs
Curve Diagrams
Trajectory for correcting the product distance:
The motion profile indicates how products are passed from the stripper to the target conveyor.
The distance of a product to its predecessor measured by the TP sensor of the stripper is
corrected. This is done so that the distance is exactly = i_lrDistTarg at the position of delivery
to the target conveyor. During the delivery (i_lrSyncLen) the stripper (slave) and the target
conveyor (master) move synchronously (Velocity = MasterVelocity). The TP sensor may have
detected another product (a maximum of 15 are possible) during this time.
Section 12.2
Pin Description
Pin Description
Troubleshooting
There are 2 types of notifications given on the output of the function block.
The first types of notifications are coming from internal used SoftMotion (SM3 library) function
blocks. These notifications are given directly to the output q_diAlrmId. For these notifications
see the notifications list of the SoftMotion (SM3 library) function blocks.
The second types of notifications are generated by the function block itself. These notifications are
added to the global constant GC_MotionLib_ErrorOffset (standard 1000).
Structured Parameter
iq_stPara
Changes of parameters are accepted with a positive edge at input i_xEn
At the same time the parameters are checked. If their values are invalid or inconsistent, an
interruption is generated which affects the outputs q_xAlrm and q_diAlrmId.
Chapter 13
Operation Description
Operation Description
Section 13.1
Operating Modes
Operating Modes
General Description
Overview
iOpMode sets how the products are passed from the accumulator to the stripper (and/or the target
conveyor).
Geared Mode
Overview
With a rising edge at i_xExe, the accumulator synchronizes with its master axis.
If i_lrProdLen or i_lrDistTarg are changed on the fly (during the movement), a (Poly5)
transition cam is used.
Overview
On a rising edge at i_xPulsIput (and i_xExe = TRUE) one product is delivered. I.e., the
accumulator is positioned i_lrProdLen forward. There is no synchronization with the master.
Repetitive pulses (rising edges at i_xPulsIput) during one cycle are ignored.
The motion of the accumulator is defined by the following parameters:
lrVelOpMode1 (velocity)
lrAccOpMode1 (acceleration)
lrDecOpMode1 (deceleration)
Overview
When i_xExe = TRUE, the accumulator executes a periodic movement. With every master period
i_lrDistTarg one product is delivered.
Setting the delivery cam.
The accumulator follows its master over an electronic cam:
X-Factor is i_lrDistTarg
Y-Factor is i_lrProdLen
Within a master period (i_lrDistTarg) the slave movement is divided into 3 phases:
acceleration phase
synchronous phase
deceleration phase
These curves can be adjusted by lrPulsSyncPhas and lrSlop. Their values must be
consistent. For further informations refer to Special Modes (see page 372).
Overview
+
On a rising edge at i_xPulsIput (and i_xExe = TRUE) one product is delivered. The
accumulator performs one motion cycle and is positioned i_lrProdLen forward. Here if iOpMode
≠ 1, the motion cycle is defined by an electronic cam.
Repetitive pulses (rising edges at i_xPulsIput) during one cycle are ignored.
The delivery movement is the same as with iOpMode = 2.
Section 13.2
Start, Stop and Special Modes
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not send any other commands to the slave axis when it is under control of the
Grouping/Ungrouping application function block.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
The start modes describe the slave behavior on a rising edge at i_xExe.
For the Accumulator, refer to Cold Start (see page 365) and Warm Start (see page 370).
For the Stripper, refer to Cold Start (see page 368) and Warm Start (see page 370).
The axes behavior when starting is dependent upon the conditions for stopping, which include:
Falling edge at input i_xEn
Falling edge at i_xExe
Detected alarm in the block function
For further details, refer to Stop and Resume Modes (see page 364).
In all 3 cases the master (target conveyor and/or stripper) must be stopped immediately.
If this is not possible, the following events may occur:
If... Then...
conveyors are within SyncPhase with a standing or moving conveyor, the product
currently being delivered may be shifted in an
undefined manner.
conveyors are outside SyncPhase at the next warm start the next product can be
pushed onto a standing master conveyor.
Take into consideration the actions and events listed in the following table for a restart.
Overview
There are 2 different cold start modes for the behavior of the accumulator (see iCsMode in the
table below).
When the cold start is finished, q_xPosStrtRchd becomes TRUE.
For further informations refer to Warm Start Modes (see page 370).
Overview
The stripper moves until the TP sensor detects a product. Then q_xPosStrtRchd becomes
TRUE.
The master (target conveyor) must wait for the arrival of the first product.
Otherwise, at the end of the cold start movement an interruption is generated.
If compartments are used, the target conveyor must wait in its start position.
Warm Start
Special Modes
lrPulsSyncPhas
The length of the synchronous phase is configured by the parameter lrPulsSyncPhas, which
represents a percentage of i_lrProdLen.
The remainder of i_lrProdLen is evenly divided between acceleration and deceleration.
Example:
lrPulsSyncPhas = 80 means that the accumulator conveyor moves synchronously (to be exact:
they have the same velocity only if lrSlop= 1) with its master for 80% of i_lrProdLen. 10% is
used for acceleration and 10% for deceleration.
lrSlop
The master/slave velocity ratio during the synchronous phase is configured with the parameter
lrSlop. The cam may then have a dwell phase. lrSlop does not affect the length of the
synchronous phase. This is set with lrPulsSyncPhas.
Examples:
lrSlop = 1 means a velocity ratio between accumulator and stripper of 1:1.
lrSlop = 2 increases this ratio to 2:1. The accumulator delivers the products to the stripper faster.
Chapter 14
Quick Reference Guide
Visualization
Overview
Visualization screens are embedded in the Packaging library. They help to configure and to start
the application function blocks easily and quickly.
All the inputs/outputs and all the parameters are accessible.
For more information please refer to How to integrate the Visualization into an Application
(see page 395).
Stripper visualization
Troubleshooting
Troubleshooting
This table describes some general issues and their solutions:
Part IX
Clamping
Clamping
Chapter 15
Clamping_Motion: Logical Sequence of Product Clamping with Torque Limitation
Section 15.1
Functional and Machine Overview
Functional Overview
CAUTION
UNITENDED EQUIPMENT OPERATION
The Clamping function works only with drives of type Lexium 05 or Lexium 32.
Failure to follow these instructions can result in injury or equipment damage.
Section 15.2
Architecture
Architecture
Software Architecture
Profile in Principle
Motion Profile
Section 15.3
Function Block Description
Pin Diagram
WARNING
UNINTENDED EQUIPMENT OPERATION
Do not send any other commands to the slave axis when it is under control of the
Clamping_Motion application function block.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
Section 15.4
Pin Description
Pin Description
Notifications
There are 2 types of notifications numbers given on the output q_diAlrmId of the function block.
The first types of notifications are coming from internal used (SoftMotion (SM3 library)) function
blocks. These notifications are given directly to the output q_diAlrmId. For these notifications
see the list of notifications of the SoftMotion (SM3 library) function blocks.
The second types of notifications are generated by the function block itself. These notifications are
added to the global constant GC_MotionLib_ErrorOffset (standard 1000).
Structured Parameter
iq_stPara
If no product detection is used, then due to movement behavior, the parameters have to fulfil the
following formulas:
lrPosNear - lrPosOpen < lrVelLow² / (2 * lrAccHigh)
lrPosBhnd - lrPosOpen < lrVelLow² / (2* lrAccHigh)
Section 15.5
Operating Mode
Operating Mode
Overview
According to the architecture and the precision requirements of the application, several capture
modes are possible:
Section 15.6
Quick Reference Guide
Visualization
Overview
Visualization screens are in the Clamping folder. They help to configure and start the application
function block easily and quickly. All the inputs/outputs and all the parameters are accessible.
How to start the visualization is described in the following.
Step Action
1 In the Tools Tree right click Application.
2 Select Add Object.
3 Select the Visualization object and give it a name (e.g., MyVisualization) and press Add.
Result: The visualization and the Visualization Manager are added to the project.
4 In the screen of MyVisualization add a new frame by selecting Frame in the toolbox. Drag the
Frame onto the visualization screen.
Result: The Frame Configuration window appears.
Step Action
5 Select for the visualization ClampingVis and move it with the Add button and press OK.
Step Action
6 To avoid deformation of the visualization, set the scale type in the properties of the frame to FIXED.
To connect the visualization to the project set 3 references to the instances of your project:
refClampingFb -> the instance of the function block Clamping_Motion.
refClampingParam -> the instance of the structure which is connected to the input iq_stPara
of the clamping instance.
refTeachParam -> the instance of the variable which is connected to the input
iq_iTeachPara of the clamping instance.
Glossary
A
AFB
(application function block)
analog output
Converts numerical values within the logic controller and sends out proportional voltage or current
levels.
C
CANmotion
A CANopen-based motion bus with an additional mechanism that provides synchronization
between the motion controller and the drives.
CANopen
An open industry-standard communication protocol and device profile specification (EN 50325-4).
closed loop
A closed loop control is a motion control system that used both positional feedback and velocity
feedback to generate a correction signal. It does this by comparing its position and velocity to the
values of specified parameters. The devices providing the feedback are typically encoders,
resolvers, LVTDs, and tachometers.
See also: open loop
closing on stack
process of filling the grab with bulk cargo
configuration
The arrangement and interconnection of hardware components within a system and the hardware
and software parameters that determine the operating characteristics of the system.
E
EEPROM
(electrically erasable programmable read-only memory) A type of non-volatile memory to store
required data even when power is removed.
element
The short name of the ARRAY element.
equipment
A part of a machine including sub-assemblies such as conveyors, turntables, and so on.
F
FB
(function block) A convenient programming mechanism that consolidates a group of programming
instructions to perform a specific and normalized action, such as speed control, interval control, or
counting. A function block may comprise configuration data, a set of internal or external operating
parameters and usually 1 or more data inputs and outputs.
function
A programming unit that has 1 input and returns 1 immediate result. However, unlike FBs, it is
directly called with its name (as opposed to through an instance), has no persistent state from one
call to the next and can be used as an operand in other programming expressions.
Examples: boolean (AND) operators, calculations, conversions (BYTE_TO_INT)
H
HMI
(human machine interface) An operator interface (usually graphical) for human control over
industrial equipment.
HSP
(high speed) The motor frequency at maximum reference of a drive.
I
ID
(identifier/identification)
input/output
The index of the ARRAY.
K
Kp
The proportional gain parameter of a PID controller.
L
LSP
The motor frequency at minimum reference of a drive.
M
machine
Consists of several functions and/or equipment.
master/slave
The single direction of control in a network that implements the master/slave mode.
ms
(millisecond)
N
node
An addressable device on a communication network.
O
open loop
Open loop control refers to a motion control system with no external sensors to provide position or
velocity correction signals.
See also: closed loop.
OTB
(optimized terminal block) Used in the context of STB I/O distributed modules.
P
pallet
A portable platform, which is used for storing or moving goods.
PID
(proportional, integral, derivative) A generic control loop feedback mechanism (controller) widely
used in industrial control systems.
PLCopen
The standard that brings efficiency, flexibility, and manufacturer independence to the automation
and control industry through the standardization of tools, libraries, and modular approaches to
software programming.
program
The component of an application that consists of compiled source code capable of being installed
in the memory of a logic controller.
protocol
A convention or standard definition that controls or enables the connection, communication, and
data transfer between 2 computing system and devices.
Pt100/Pt1000
(platinum 100/1000) Resistance thermometers, also referred to as resistance temperature
detectors, are sensors used to measure temperature by correlating electrical resistance with
temperature. As the temperature changes, the resistance to an electrical current passing through
them predictably changes likewise. They are characterized by their nominal resistance R0 at a
temperature of 0 ° C.
Pt100 (R0 = 100 Ω)
Pt1000 (R0 = 1 kΩ)
PWM
(pulse width modulation) A fast output that oscillates between off and on in an adjustable duty
cycle, producing a rectangular wave form (though you can adjust it to produce a square wave). The
PTO is well adapted to simulate or approximate an analog output in that it regulates the voltage of
the output over its period making it useful in light dimming or speed control applications, among
others.
R
RPM
(revolutions per minute)
run
A command that causes the controller to scan the application program, read the physical inputs,
and write to the physical outputs according to solution of the logic of the program.
S
scan
A function that includes:
reading inputs and placing the values in memory
executing the application program 1 instruction at a time and storing the results in memory
using the results to update outputs
SDO
(service data object) A message used by the field bus master to access (read/write) the object
directories of network nodes in CAN-based networks. SDO types include service SDOs (SSDOs)
and client SDOs (CSDOs).
Sercos
(serial real-time communications system) A digital control bus that interconnects, motion controls,
drives, I/Os, sensors, and actuators for numerically controlled machines and systems. It is a
standardized and open controller-to-intelligent digital device interface, designed for high-speed
serial communication of standardized closed-loop real-time data.
setpoint
In a PID controller, the target value set by the user. The main objective of the PID controller is to
ensure that the process value reaches the setpoint.
See also process value.
STOP
A command that causes the controller to stop running an application program.
T
task
A group of sections and subroutines, executed cyclically or periodically for the MAST task or
periodically for the FAST task.
A task possesses a level of priority and is linked to inputs and outputs of the controller. These I/O
are refreshed in relation to the task.
A controller can have several tasks.
TP
(touch probe) A position capture that is triggered by a fast input signal (quick sensor). On the rising
edge of the touch probe input, the position of an encoder is captured.
For example, this is used for packaging machines to capture the position of a printmark on a film
to cut on the same position.
V
variable
A memory unit that is addressed and modified by a program.
VSD
(variable speed drive) An equipment that makes a variable and regulates the speed and rotational
force, or torque output, of an electric motor.
Index
A P
AnalogTensionControlATV, 135 Packaging
AnalogTensionControlATV_Motion, 135 AnalogTensionControlATV, 135
AnalogTensionControlLXM_Motion, 135 AnalogTensionControlATV_Motion, 135
AnalogTensionControlLXM_Motion, 135
Clamping_motion, 381
C DigitalTensionControlATV, 103
Clamping_motion, 381 DigitalTensionControlATV_Motion, 103
FlyingShear_Motion, 295
function block location in the Packaging li-
D brary, 23
DigitalTensionControlATV, 103 grouping - ungrouping, 315
DigitalTensionControlATV_Motion, 103 GroupingAccumulator_Motion, 331
GroupingStripper_Motion, 341
LateralPositionControl, 193
F MoveJog, 27
FlyingShear_Motion, 295 RotaryKnife_Motion, 225
system requirements, 20
TemperatureControl, 159
G XYPickAndPlace, 59
grouping - ungrouping, 315
GroupingAccumulator_Motion, 331
GroupingStripper_Motion, 341
R
RotaryKnife_Motion, 225
L
LateralPositionControl, 193
S
system requirements, 20
M
material movement, 25
T
MoveJog, 27 TemperatureControl, 159
X
XYPickAndPlace, 59