Lenze EVS93xx User Manual

Page 1
Manual
Prepared Solutions
Cross Cutter
9300 Servo PL
/ ECSxA
Page 2
Important note:
This software is supplied to the user as described in this document. All risks resulting from its quality or use remain the responsibility of the user. The user must provide all safety measures protecting against possible maloperations.
We do not take any liability for direct or indirect damage, e.g. profit loss, order loss or any loss regarding business.
© 2006 Lenze Drive Systems GmbH
No part of this documentation may be reproduced or made available to third parties without written consent from Lenze Drive Systems GmbH.
All indications given in this documentation have been carefully selected and comply with the hardware and software described. Nevertheless, deviations cannot be ruled out. We do not take any responsibility or liability for damages which might possibly occur. Required corrections will be made in the following editions.
All product names mentioned in this documentation are trademarks of their corresponding owners.
Page 3
Cross Cutter

Contents

1 Preface and general information.................................................................................................................................1-1
1.1 Version info............................................................................................................................................................1-1
1.2 Scope of supply .....................................................................................................................................................1-2
1.3 General information about the prepared solution .................................................................................................. 1-4
1.4 Functional range and variants ............................................................................................................................... 1-5
1.4.1 Parameterisable variant ................................................................................................................................ 1-6
1.4.2 Programmable variant................................................................................................................................... 1-8
1.5 Conventions used ................................................................................................................................................ 1-10
2 Features of the "Cross Cutter" prepared solution....................................................................................................2-1
2.1 General features of the "Cross Cutter" prepared solution...................................................................................... 2-1
2.2 Structure and functional principle .......................................................................................................................... 2-2
2.2.1 Typical structure of a cross-cutter application............................................................................................... 2-2
2.2.2 Typical motion profiles ..................................................................................................................................2-3
2.2.3 Example applications of the "Cross Cutter" prepared solution...................................................................... 2-9
2.3 Functional application criteria for the parameterisable variant............................................................................. 2-10
2.4 Machine parameters ............................................................................................................................................ 2-15
2.5 Basic features ...................................................................................................................................................... 2-17
2.5.1 Reposition unlocked drive to motion profile ................................................................................. 2-17
2.5.2 Cross-cutter operating modes..................................................................................................................... 2-20
2.5.3 ManualJog................................................................................................................................................... 2-42
2.5.4 Following error monitoring........................................................................................................................... 2-45
2.5.5 Homing........................................................................................................................................................ 2-46
2.5.6 Simple positioning....................................................................................................................................... 2-57
2.5.7 Length-controlled or mark-controlled operation ..........................................................................................2-61
2.5.8 Adjustable compensation speed for mark correction .................................................................................. 2-63
2.5.9 Mark window ............................................................................................................................................... 2-67
2.5.10 Manual X trimming ...................................................................................................................................... 2-72
2.5.11 Reject gate control ...................................................................................................................................... 2-78
2.5.12 Calculating the print-mark-sensor distance................................................................................................. 2-81
2.5.13 Print-mark register....................................................................................................................................... 2-85
2.5.14 Torque precontrol........................................................................................................................................ 2-87
2.5.15 Evaluation of absolute value encoders at load and drive end..................................................................... 2-91
2.5.16 Evaluation of the master value signal .........................................................................................................2-95
3 Installing and starting up the "CrossCutter" prepared solution............................................................................3-97
3.1 Required components.......................................................................................................................................... 3-97
3.2 Installing the Cross Cutter prepared solution....................................................................................................... 3-98
3.3 Hardware structure .............................................................................................................................................. 3-98
3.3.1 Wiring the control terminals......................................................................................................................... 3-99
3.4 Setting the parameters of the prepared solution................................................................................................ 3-101
3.4.1 Control/Status interface with master control .............................................................................................3-101
3.4.2 Preparing for installation and start-up: Generating profile data................................................................. 3-107
3.4.3 Downloading the CrossCutter_V0005 program ........................................................................................3-117
3.4.4 Online start-up with GDC .......................................................................................................................... 3-123
3.4.5 Starting up length-controlled operation ..................................................................................................... 3-135
3.4.6 Starting up mark-controlled operation....................................................................................................... 3-142
4 Functions..................................................................................................................................................................4-150
4.1 State machine.................................................................................................................................................... 4-150
4.2 Conditions for state change ............................................................................................................................... 4-151
4.3 "StandBy" state.................................................................................................................................................. 4-152
4.4 "ManualJog" state.............................................................................................................................................. 4-152
4.5 "Homing" state ................................................................................................................................................... 4-152
4.6 "Positioning" state.............................................................................................................................................. 4-152
4.7 "Cam" state........................................................................................................................................................ 4-152
4.8 "Trouble" state ...................................................................................................................................................4-152
5 Program expansions....................................................................................................................................................5-1
5.1 Task management ................................................................................................................................................. 5-1
5.2 UserErrors PRG..................................................................................................................................................... 5-2
Prepared Solution Servo PLC / ECSxA 1.1 EN I
Page 4
Cross Cutter
Contents
5.3 CrossCutterInterfaces PRG ................................................................................................................................... 5-2
6 Appendix.......................................................................................................................................................................6-1
6.1 Global variables ..................................................................................................................................................... 6-1
6.1.1 VarCrossCutterBasics................................................................................................................................... 6-1
6.1.2 VarCrossCutterMotionProfileCalculation....................................................................................................... 6-2
6.1.3 VarCrossCutterMuliplexer........................................................................................................................... 6-14
6.1.4 VarCrossCutterPieceCounter...................................................................................................................... 6-15
6.1.5 VarCrossCutterProfileHandling................................................................................................................... 6-16
6.1.6 VarCrossCutterRejectGate .........................................................................................................................6-18
6.1.7 VarCrossCutterTPHandling......................................................................................................................... 6-19
6.1.8 VarCrossCutterTrouble ............................................................................................................................... 6-21
6.1.9 VarCrossCutterXAxisTrimming ................................................................................................................... 6-22
6.1.10 VarBasicOperation...................................................................................................................................... 6-23
6.1.11 VarCamControl ...........................................................................................................................................6-25
6.1.12 VarHoming .................................................................................................................................................. 6-26
6.1.13 VarManualJog............................................................................................................................................. 6-28
6.1.14 VarPositioning............................................................................................................................................. 6-29
6.1.15 VarStateMachine......................................................................................................................................... 6-31
6.1.16 VarTorquePrecontrol................................................................................................................................... 6-32
6.1.17 VarTrouble ..................................................................................................................................................6-33
6.1.18 VarVertShaftExtPosition.............................................................................................................................. 6-34
6.1.19 VarVertShaftExtVelocity.............................................................................................................................. 6-34
6.1.20 VarVirtualMaster .........................................................................................................................................6-36
6.1.21 VarXTouchProbeSynchronisation............................................................................................................... 6-37
6.1.22 VarYStretchCompress ................................................................................................................................6-38
6.1.23 VarYTouchProbeSynchronisation............................................................................................................... 6-38
6.2 Prepared solution codes ...................................................................................................................................... 6-39
6.2.1 Table of application codes ..........................................................................................................................6-39
6.2.2 Code initialisation values............................................................................................................................. 6-57
6.3 Error messages ................................................................................................................................................... 6-59
6.3.1 System error messages .............................................................................................................................. 6-59
6.3.2 Application error messages......................................................................................................................... 6-65
6.3.3 User-defined error messages...................................................................................................................... 6-68
6.3.4 ENUM list for error numbers .......................................................................................................................6-69
6.4 Signal flow diagram for core function................................................................................................................... 6-71
6.5 Interface signals................................................................................................................................................... 6-72
6.6 Description of the function blocks ........................................................................................................................ 6-79
6.6.1 MultiplexerInput function block.................................................................................................................... 6-79
6.6.2 MultiplexerOutput function block................................................................................................................. 6-82
6.6.3 TP_Window – Masking out mark pulses..................................................................................................... 6-85
6.6.4 XPositionTrimming function block............................................................................................................... 6-90
6.6.5 RejectGateHandling function block............................................................................................................. 6-93
6.6.6 CalcTpDistance function block.................................................................................................................... 6-95
6.6.7 CalcOffsetForShiftedTP function block ....................................................................................................... 6-97
6.6.8 CalcStartPositionOfKniveDrum function block............................................................................................ 6-99
6.6.9 CrossCutterMotionProfileCalculation function block ................................................................................. 6-100
6.6.10 TP_Register – Position tracking of mark pulses .......................................................................................6-104
6.6.11 VersionHandling function block................................................................................................................. 6-108
Prepared Solution Servo PLC / ECSxA 1.1 EN II
Page 5
Preface and general information

1 Preface and general information

1.1 Version info

Information about the prepared solution version: This documentation is valid for the Cross Cutter prepared solution, Version V1.x.
Version ID number Modifications
1.0 10/2006 ESPLV02XA0FC1 New document
1.1 03/2008 ESPLV02XA0FC1 Reworked document with target ECSxA
Code C3999/000 displays the prepared solution version in the following format:
Possible settings: Code Default Selection
C3999
- - {1} - Display code: Version release of the prepared solution
1 2 3
Cross Cutter
Comment
(subcode 1: project file, subcode 2: application library, subcode 3: basic library):
The first and second numeral read from right-to-left define
the service pack.
The third and forth numeral read from right-to-left define
the sub version.
The fifth and sixth numeral read from right-to-left define
the main version.
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-1
Page 6

1.2 Scope of supply

The CD-ROM supplied with the product contains the following files:
File type Use
Cross Cutter
Preface and general information
*.BIN
CrossCutter_SPLC_Vxxxxxx.bin
*.LPC
CrossCutter_SPLC_Vxxxxxx.lpc
*.LIB
CrossCutterVxxxxxx.lib
InterfaceMultiplexerVxxxxxx.lib
*.PDB
CrossCutter_SPLC_Vxxxxxx
_S.pdb
CrossCutter_SPLC_Vxxxxxx
_1.pdb
Binary file: The binary file contains the ready-compiled project with all system and application codes (for application codes see Chapter uploaded to the target system using Lenze's GDLoader software tool. You will need the binary file if you are going to be working with the parameterisable variant (see Chapter
Project file: The project file contains the source code for the prepared solution. You will need the project file if you are going to be using the programmable variant of the prepared solution (see Chapter make sure that you always can come back to the original version. If you want to edit this file you first have save it under a different name. Then it can be edited, compiled and uploaded to the target system with Lenze's DDS software.
Library files: The library files contain the core functionality of the prepared solution and provide the basis for the project file. You will not be able to compile the project file in DDS without errors if you do not have the library files.
Device description file German: You will need the device description file to set the parameters of the
prepared solution (parameterisable variant) using Lenze's GDC software tool.
Device description file English: You will need the device description file to set the parameters of the
prepared solution (parameterisable variant) using Lenze's GDC software tool.
1.4.1).
1.4.2). The file is a read only file to
6.2.1) and can be
*.SDB
CrossCutter_SPLC_Vxxxxxx.sdb
Symbol file for the GDOscilloscope: The symbol file for use in conjunction with Lenze's Global Drive Oscilloscope software contains a list of oscillograph-compatible signals associated with the prepared solution. When GDOscilloscope starts up, the file will need to be assigned in order to be able to access the required signals from the prepared solution.
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-2
Page 7
Cross Cutter
Preface and general information
*.CMM
CrossCutter_Vxxxxxx.cmm
*.Cam
CrossCutter_Vxxxxxx.cmm
*.PDF
CrossCutter_vx-x_DE.pdf
Project sample files for CamManager/CamDesigner Professional: A sample project for CamDesigner Professional has been included to
illustrate a sample application. The project comprises a CMM file and the following associated CAM files:
Product1_Prof.cam Product2_Prof.cam Product3_Prof.cam Product4_Prof.cam Product5_Prof.cam Product6_Prof.cam Product7_Prof.cam Product8_Prof.cam Product9_Prof.cam Product10_Prof.cam
The compiled sample cam file for the cross-cutter axis is called:
CrossCutterProf.lc9
Project sample files for CamDesigner Basic: A sample project for CamDesigner Basic has been included to illustrate a
sample application. The project comprises a CMM file and the following associated CAM files:
Product1_Basic.cam Product2_Basic.cam Product3_Basic.cam Product4_Basic.cam Product5_Basic.cam Product6_Basic.cam Product7_Basic.cam Product8_Basic.cam Product9_Basic.cam Product10_Basic.cam
The compiled sample cam file for the cross-cutter axis is called:
CrossCutterBasic.lc9
PDF file (manual) German: The PDF file contains the manual to accompany the prepared solution (documentation) in German.
PDF file (manual) English: The PDF file contains the manual to accompany the prepared solution
(documentation) in English.
3.4.2.
CrossCutter_vx-x_EN.pdf
The files are installed using an installation wizard.
Users will need to generate additional project files for the "Cross Cutter" prepared solution (these include a file containing profile data for cross-cutter applications). A description of how to generate these files appears in Chapter
Caution! The cam files supplied (CMM, CAM and LC9 files) serve simply as a sample project for
creating application-specific profile data and must not be used in the context of actual systems.
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-3
Page 8
Cross Cutter
Preface and general information

1.3 General information about the prepared solution

Lenze's prepared solutions are designed to help users implement complex drive functions in practical applications. Prepared solutions are supplied with the complete functionality of a machine unit (core functionality plus peripheral functionality) and can be put into operation quickly by performing just a few steps.
Firstly, this manual describes the basics of the application supported by the prepared solution. This familiarises the user with the fundamental features of the system and provides the user with the requisite basic understanding for installing and starting up the prepared solution and adapting it to meet the needs of his or her application.
Secondly, it provides detailed information about specific technical features (e.g. it lists the necessary components, user parameters and variables, describes the installation and start-up process step by step, along with diagnostics and fault elimination) in order to facilitate the rapid application of the prepared solution.
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-4
Page 9
Preface and general information

1.4 Functional range and variants

Prepared solutions essentially comprise a variety of files which provide users with a basis for their applications (the files used will vary depending on the application in question). Two variants of prepared solutions are available: In the parameterisable variant solution reduces installation and start-up times to an absolute minimum with predefined interfaces and functions. The programmable variant adaptations to specific customer requirements. Corresponding control and status interfaces are available in accordance with whether the user is working with the parameterisable or the programmable variant.
Cross Cutter
, the prepared
provides an ideal platform for flexible
Parameterisable
variant
Predefined interfaces
Free definition of the user interface
Installation and start-up time reduced to a minimum thanks to parameter setting
Functional adaptations/expansions by means of dedicated program sections created in the IEC programming languages
Programmable
variant
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-5
Page 10
Preface and general information
1.4.1 Parameterisable variant
In the parameterisable variant, all basic functions and the selection of interface signals are set solely via parameters (codes). This provides the user with a standardised predefined interface. Typical signal wirings, terminal assignments, interfaces to data bus systems, etc. can be selected via parameters (codes). This means that the parameterisable variant of the prepared solution can reduce installation and start-up times to a minimum without restricting the functionality of the prepared solution:
Cross Cutter
= Internal program sections of the prepared solution
= Sections of the prepared solution which can be adapted by the user
When using a prepared solution, the system is configured entirely using code (parameter­setting interface). The functions of the individual codes used in the context of parameter setting are listed in Chapter
6.2.1.
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-6
Page 11
Cross Cutter
Preface and general information
You will need the following Lenze software to use the parameterisable variant:
Global Drive Control (GDC):
for operation, parameter setting and diagnostics
Global Drive Loader (GDLoader):
to upload the project's binary file and application data (profile data)
Global Drive Oscilloscope (GDO):
for diagnostics purposes and to record temporal characteristics
Cam Designer Basic/Cam Designer Professional:
to generate basic cams
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-7
Page 12
1.4.2 Programmable variant
The programmable variant supports the functional range of the parameterisable variant but also allows the user to adapt the prepared solution program on the basis of IEC61131 (e.g. in respect of the definition of interfaces, adaptation in the external signal flow, etc.) or to add more user-specific program sections. This means that the prepared solution can be adapted specifically to meet individual customer requirements. Furthermore, the resources of the target platform can be put to optimum use without affecting core functionality.
Cross Cutter
Preface and general information
= Internal program sections of the prepared solution
= Sections of the prepared solution which can be edited by the user
In the programmable variant, the user is entirely free to both configure the signal flow outside the core function and change/adapt/expand existing program sections of the prepared solution (e.g. error handling). The interface between program sections containing the core functionality and between user program sections, as well as between system blocks, is provided by global variables (similar to the technique used in software package templates). The meanings of the global interface variables are listed in Chapter
Note!
The core functionality of the prepared solution cannot be accessed by the user in either variant. This is a deliberate feature designed to prevent malfunctions being programmed or monitoring mechanisms disabled unintentionally.
6.1.
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-8
Page 13
Cross Cutter
Preface and general information
You will need the following Lenze software to use the programmable variant:
Drive PLC Developer Studio (DDS):
to adapt the prepared solution program (editing of the PRO file)
Global Drive Control (GDC):
for operation, parameter setting and diagnostics
Global Drive Loader (GDLoader):
to upload the project's binary file and application data (profile data) if the customer project created needs to be duplicated
Global Drive Oscilloscope (GDO):
for diagnostics purposes, optimisations and to record temporal characteristics
Cam Designer Basic/Professional:
to generate basic cams
Cam Software Package:
contains the technology libraries for the electronic cam technology (used in conjunction with the DDS software tool)
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-9
Page 14

1.5 Conventions used

This Manual uses the following conventions to distinguish between the different types of information:
Type of information Representation Example
Names of dialog boxes, input fields and selection lists
Names of identifiers (names of variables) and program organisation units (POUs = functions, function blocks, programs)
Buttons bold Click OK to...
Program listing
Key words
Important note
italic The Options dialog box
italic Setpoint generation for the drive takes place in the MotionControl section of the
Courier IF var1 < var2 THEN...
Courier bold
Cross Cutter
Preface and general information
program.
You can use the Messages command to... Menu commands bold
If several commands need to be carried out in succession in order to execute a function, the individual commands will be separated by an arrow: Select File Open to...
Press <F2> to open the input assistance. Keyboard commands bold
A "+" will appear in between commands to indicate that a command requires a key combination: Press <Shift> + <ESC> to...
...starts with FUNCTION and ends with END FUNCTION. Caution!
Do not use the Online Controller inhibit command for an emergency stop via the PC as this command is sent to the controller subject to a delay.
Tip
Variable names
The conventions used by Lenze for the variable names of its system blocks, function blocks and functions are based on what is known as "Hungarian Notation". This allows you to identify the most important properties (e.g. the data type) of a variable immediately by means of its name, e.g. DIGIN_bIn1_b.
You will find information about the conventions in the appendix of the DDS Online documentation "Introduction to IEC1131-3 programming”.
TIP! Hover the mouse pointer over a symbol on the toolbar to display a tooltip indicating the corresponding command.
Prepared Solution Servo PLC / ECSxA 1.1 EN 1-10
Page 15
Cross Cutter
Features of the "Cross Cutter" prepared solution

2 Features of the "Cross Cutter" prepared solution

2.1 General features of the "Cross Cutter" prepared solution

A brief list of the features of the "Cross Cutter" prepared solution appears below:
Basic program for a cross-cutter application requiring high cutting length tolerance. The
following individual functions are supported:
Synchronous or asynchronous operation of the cross cutter
Automatic calculation of motion profiles based on basic profile data
Selection of three interpolation modes to calculate motion profiles
Length-controlled or mark-controlled operation
Adjustable compensation speed for mark correction
Mark window
Mark register
Manual x trimming
Continuous cutting
Test cut
Reject operation with activation of a reject gate
Oversynchronous/undersynchronous cutting
Torque precontrol
Evaluation of absolute value encoders at load and drive end
Manual jog
Simple positioning
Homing with 8 different homing modes
A detailed description of basic cam generation: The application is based on the "Electronic
cam" technology function and uses motion profiles (cams) created with Lenze's
CamDesigner Basic software for positioning. A detailed description of cam generation with CamDesigner Basic enables the user to create these motion profiles adapted to meet the
needs of the given application.
Sample project for Lenze's CamDesigner Professional software tool to illustrate the cam
generation process: Contents include a sample project file (CMM file), the associated motion profiles as source files (CAM files) and the compiled cam file (LC9 files) for this sample.
Caution!
Application-specific profile data is required for the actual application; a description of how to create this data appears in Chapter must not be used in the context of actual systems.
3.4.2. The sample project (CMM, CAM and LC9 files)
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-1
Page 16
Features of the "Cross Cutter" prepared solution

2.2 Structure and functional principle

2.2.1 Typical structure of a cross-cutter application
Cross Cutter
Continuous
Mark sensor
Master value rotary
Figure 1: Typical structure of a cross-cutter application
The prepared solution is able to support applications in which continuous material is cut to length in defined cutting lengths. A fundamental distinction is drawn between asynchronous and synchronous cross cutters. In the prepared solution, the asynchronous cross cutter can be used for cutting lengths shorter than or equivalent to the cutting circle circumference. The synchronous cross cutter can be used for all cutting lengths shorter than or longer than the cutting circle circumference.
Feed roll
Knife drum
Drive cross cutter
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-2
Page 17
Features of the "Cross Cutter" prepared solution
2.2.2 Typical motion profiles
Synchronous cross cutter
The following diagrams illustrate the position characteristic (red) and the speed signal (blue) for three different cutting lengths in a cross-cutter application:
Concepts:
y
= Final value of the slave (cross-cutter knife) motion profile. This value will vary
max
depending on the number of knives on the cross-cutter drum. For example: 1 knife => y
= Final value of the asynchronous motion phase and start of the synchronous motion
y
end
phase.
= Indicates the cutting angle. In this range the knife is synchronised with the line
y
sync
speed.
max
Cross Cutter
= 360°; 2 knives => y
max
yyy =
syncend
max
= 180°
t
= During this time the cross-cutter knife can move out of synchronism with the line
asynchron
speed.
= During this time the movement of the cross-cutter knife is synchronised with the line
t
synchron
speed.
t
= Duration of a cross-cutter revolution
cycle
= Start of the synchronous phase
t
1
a) Synchronous cutting length
(cutting length x
y
y
max
y
end
V
= cutting circle circumference of knife drum x
max
cutting angle y
sync
cutting
phase
t
asynchron
t
t
1
t
synchron
circumference
cycle
)
t
V
synchron
t
asynchron
t
synchron
t
t
t
1
cycle
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-3
Page 18
Features of the "Cross Cutter" prepared solution
b) Oversynchronous cutting length
(cutting length x
y
y
max
y
end
V
< cutting circle circumference of knife drum x
max
cutting angle ysync
t
asynchron
t1 t
cutting
phase
t
synchron
Cross Cutter
circumference
cycle
)
t
V
synchron
t
asynchron
t1 t
c) Undersynchronous cutting length
(cutting length x
y
y
max
y
end
V
> cutting circle circumference of knife drum x
max
cutting angle ysync
t
asynchron
t
synchron
t
cycle
circumference
)
cutting
phase
t
synchron
t1 t
cycle
t
V
synchron
t
asynchron
t
synchron
t
t
t
1
cycle
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-4
Page 19
TIP!
Cross Cutter
Features of the "Cross Cutter" prepared solution
Selecting a cutting length x considered to be a special case. In this situation, the speed of the knife drum can fall to values less than zero, causing the knife drum to move in opposition to the direction of material flow:
There are a variety of mathematical transfer functions for the motion characteristic in the asynchronous section (see, e.g. VDI 2143). The prepared solution only takes account of second order polynomials (linear speed ramps), fifth order polynomials and the sloping sine line.
a lot longer than the synchronous cutting length (x
max
circumference
y
y
max
cutting angle
y
end
cutting
phase
t
asynchron
t
t
1
t2
t
synchron
t
t3
cycle
V
) is
V
synchron
t
asynchron
t1
t2
t
synchron
t3
t
cycle
t
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-5
Page 20
Cross Cutter
Features of the "Cross Cutter" prepared solution
In some cases, this effect may be desirable in order to reduce the dynamics of the knife drum on the basis of longer deceleration/acceleration ramps for exiting/entering synchronous mode.
In most cases, movement in opposition to the material flow is not permissible. In order to avoid reversing the knife drum it makes sense to split the asynchronous section into three subsections with a pause in the middle (section 2):
y
max
cutting angle
y
end
rest
phase
cutting
phase
V
synchron
V
t
asynchron
t1 t
t2
t
synchron
t
t3
cycle
1 2 3
t
asynchron
t1
t2
t
synchron
t3
t
cycle
t
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-6
Page 21
Features of the "Cross Cutter" prepared solution
Asynchronous cross cutter
The following diagrams illustrate the position characteristic (red) and the speed signal (blue) for three different cutting lengths in an asynchronous cross-cutter application:
Cross Cutter
a) Synchronous cutting length (cutting length x
drum x
circumference
; circumferential speed = line speed)
= cutting circle circumference of knife
max
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-7
Page 22
Cross Cutter
Features of the "Cross Cutter" prepared solution
b) Oversynchronous cutting length (cutting length x
knife drum x
circumference
;
adapted
linespeedV
=
< cutting circle circumference of
max
ncecircumferecirclecutting
)
lengthcutting
c) Undersynchronous cutting length (cutting length x
knife drum x
circumference
;
adapted
linespeedV
=
> cutting circle circumference of
max
ncecircumferecirclecutting
)
lengthcutting
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-8
Page 23
Cross Cutter
Features of the "Cross Cutter" prepared solution
2.2.3 Example applications of the "Cross Cutter" prepared solution
Cross cutters are used in virtually every area of industrial production. A list of some typical applications appears below.
Synchronous cross cutters in the paper industry, e.g. to cut paper webs and paper board containers
Plastics processing industry downstream of extrusion lines to assemble products
Application in the wood processing industry to cut laminate panels
In the packaging industry to seal or emboss packaging
Print and media industry for format cutting
Beverage industry
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-9
Page 24
Cross Cutter
Features of the "Cross Cutter" prepared solution

2.3 Functional application criteria for the parameterisable variant

In order to enable you to check the compatibility of the prepared solution for your application and estimate its usefulness, a list of decision-making criteria and limiting conditions to which the use of the prepared solution is subject appears below.
How do you intend to process the material?
Continuous cutting: You intend to cut panels of material to the same length continuously; the cutting length can be varied at will and the new cutting length applied once the calculation is complete. This operation is supported by the prepared solution.
?
YES
NO
Your application scenario cannot be solved using the prepared solution at this time as the solution does not support intermittent operation.
Intermittent operation: You intend to cut panels of material to different lengths continuously. This operation is not supported by the prepared solution.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-10
Page 25
?
YES
NO
Features of the "Cross Cutter" prepared solution
Your application scenario cannot be solved using the prepared solution at this time because the solution does not support mark­controlled operation, with multiple cuts between two print marks and simultaneous suppression.
print-mark
Cross Cutter
Are the combinatorial options sufficient for your application case?
Various combinatorial options can be considered for the use of the cross cutter depending on the application.
1. Length-controlled operation: In this operating mode the material to be cut has no
print marks and the required cutting length is determined solely by the calculated motion profile. In this operating mode, the cross cutter can be changed over when idle and during operation.
2. Mark-controlled operation, without print-mark suppression: In this operating
mode the cross cutter works with mark control and higher-level length control. A mark is made on the material wherever a cut needs to be made. In this operating mode, the cross cutter can be changed over when idle and during operation.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-11
Page 26
Cross Cutter
Features of the "Cross Cutter" prepared solution
3. Mark-controlled operation, with print-mark suppression: In this operating mode,
the cross cutter works with mark control and higher-level length control. A mark is made on the material wherever a cut needs to be made. Other marks which have to be ignored by the system appear before and after the print mark relevant for the cut. In this operating mode, the cross cutter can be changed over when idle. However, it cannot be changed over from operating status to idle state!
4. Mark-controlled operation, with multiple cuts (divisions) between two print marks: In this operating mode the print-mark distance between print marks is a
multiple of the required cutting length. The cross cutter works with mark control and higher-level length control. In this operating mode, the cross cutter can be changed over when idle and during operation.
5. Mark-controlled operation, with multiple cuts between two print marks and print-mark suppression: In this operating mode the print-mark distance is a
multiple of the required cutting length. Other marks which have to be ignored also appear in between the relevant print marks. The prepared solution does not support this type of operation!
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-12
Page 27
?
YES
?
YES
NO
NO
Features of the "Cross Cutter" prepared solution
The prepared solution cannot be used at this time due to the required number of cycles and cutting length and the prevailing hardware requirements.
Your application scenario can be supported by means of a modification to the prepared solution. Please contact your local Lenze representative.
Cross Cutter
Is your application able to support the following physical requirements?
The following essential issues affecting design and configuration will have a bearing on whether or not you can use the prepared solution in your application:
Number of knives on the knife drum (the prepared solution will support up to 6
knives on the knife drum)
Maximum number of cycles on the system Maximum possible speed of the cross-cutter drum Maximum possible material speed
The required cutting length and required number of cycles may result in a speed which the cross-cutter drive is unable to support. Codes C3686 to C3689 indicate the maximum speed of a cutting profile for a specific cutting length.
Is your application able to support this process sequence?
Process sequence The process can only be started if the cross cutter is in the initial position:
The knife/knives are in the initial position. There are no print marks in the sensor's detection range.
?
YES
NO
Expand your control concept by adding suitable hardware.
Control via a program expansion in the controller is also possible if you are using the programmed variant of the prepared solution.
Is a higher-level PLC/IPC connected via a bus system, is a terminal extension (e.g. Lenze EPM terminal extensions) or an HMI connected via the system bus or the automation interface (AIF)?
In addition to the controllers, other components are required to generate the control signals for the drive and evaluate states and conditions:
PLC/IPC
HMI
External terminal
expansion
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-13
Page 28
?
YES
End
NO
Please contact your local Lenze representative.
It may be possible to solve your application scenario by means of a modification to the prepared solution (using the programmable variant of the prepared solution).
You can use the parameterisable variant of the prepared solution for your application scenario.
Cross Cutter
Features of the "Cross Cutter" prepared solution
Is the prepared solution able to meet all the requirements of your system?
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-14
Page 29
Features of the "Cross Cutter" prepared solution
[
[

2.4 Machine parameters

The machine parameters define the relationship prevailing between the user's measuring system and the incremental measuring system (the controller's internal measuring system). Where the user's measuring system is concerned, a distinction is drawn between slave units ([s_units]) and master units ([m_units]). The cross-cutter drum's measuring system is provided by the slave units. In this context, slave units are usually scaled in degrees. The feed axis' measuring system is provided by the master units which, depending on the application, might be scaled in [mm] or [inches]. The relationship between a motor revolution and a feed motion in the user's measuring system is established by means of the following variables:
Feed constant: This indicates the number of application units by which the load will move
forward when the drive completes a full revolution at the gearbox output end. It is usually specified in [units/rev].
Cross Cutter
Example scaled in [mm/revolution].
Gearbox ratio, divided into numerator and denominator: Both the numerator and the
denominator are usually specified as integers (corresponding to the number of teeth in the gearbox stages).
Resolution of a motor revolution: Internally, the ServoPLC resolves a motor revolution into
65536 (=2
The conversion between the two measuring systems can be carried out with knowledge of these mechanical machine constants by applying the following formulae:
a) Conversion of application units [units] into incremental units [incr.]:
a) Conversion of incremental units [incr.] into application units [units]:
: On a spindle drive the feed constant is equivalent to the pitch of the spindle,
16
) increments.
Z
[][ ]
[][]
unitsssincrs
_.
incrsunitsss
i
=
N
N
i
=
._
Z
i
tan
tan
[]
[]
tFeedConsi
tFeedCons
]
revincr
/.65536
revunitsm
/
]
revunitsm
/
revincr
/.65536
where Z N m
In the context of the Cross Cutter prepared solution, the mechanical machine constants are defined via profile data (LC9 file). A description of how this data is generated appears in the installation and start-up instructions (see Chapter
= gearbox ratio numerator
i
= gearbox ratio denominator
i
FeedConstant
= feed constant
3.4.2).
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-15
Page 30
Cross Cutter
Features of the "Cross Cutter" prepared solution
Example:
A position s[units] = 165° needs to be converted into an incremental value. For this example, the characteristics of the mechanical system are as follows:
LL LLLL
Gearbox i = 2760 : 189
Feed constant = 360°/rev
]/.[65536
Z
i
][.][
unitssincrs
N
i
revincr
]/[
ntFeedConsta
revunitsm
][165
2760
189
⋅°==
°
rev
]/.[65536
revincr
=
]/[360
[incr.] 438640
TIP! If you are using the parameterisable variant of the Cross Cutter prepared solution, values in
application units will be converted into incremental values automatically.
The machine parameters can be read from the following display codes using a parameter setting tool (e.g. GDC or DDS). The machine parameters are set using the CamManager/CamDesigner software tool (see Chapter
3.4.2). The values displayed in the
codes are read from the profile data associated with the relevant controller (LC9 file):
C3303
C3304
C3305
C3306
C3307
C3308
C3636
Possible settings: Code Default Selection
- 0 … {1} ... 65535
- 0 … {1} ... 65535
- 0.0000... {0.0001
- 0 … {1} ... 65535
- 0 … {1} ... 65535
- 0.0000... {0.0001
0
0: 1:
Direct Inverted
[m_units]/r
ev}
[m_units]/r
ev}
... 214748.0000
... 214748.0000
Comments
Display code: Gearbox ratio in master value phase (numerator)
Display code: Gearbox ratio in master value phase (denominator)
Display code: Feed constant in master value phase in application units per gearbox revolution
Display code: Gearbox ratio in cross-cutter train (numerator)
Display code: Gearbox ratio in cross-cutter train (denominator)
Display code: Feed constant in cross-cutter train in application units per gearbox revolution
Possible setting for motor mounting position
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-16
Page 31
Cross Cutter
Features of the "Cross Cutter" prepared solution

2.5 Basic features

2.5.1 Reposition unlocked drive to motion profile
The Prepared Solution 'Cross Cutter' offers different ways to reposition on the motion profile. Regarding this, three different modes are made available to the user. The tool can either be repositioned on the motion profile on the shortest way possible, in clockwise (cw) or counter-clockwise (ccw) direction. The repositioning mode in one direction only (cw or ccw) must be used whenever it is only allowed to move the tool in one direction only.
Variable names
Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_byLockToCamMode BYTE
Possible settings: Code Default Selection
C3630/
000
0 0 {1} 2
Positioning mode Lock to cam 0 Move to cam position via shortest route. 1 Move to cam position only in positive
direction (CW).
2 Move to cam position only in negative
direction (CCW).
Comment
Positioning mode Lock to cam 0 Move to cam position via shortest route. 1 Move to cam position only in positive
direction (CW).
2 Move to cam position only in negative
direction (CCW).
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-17
Page 32
Features of the "Cross Cutter" prepared solution
2.5.2 Start and Stop Cross Cutter Operation
Start and stop the cross cutter operation is done with the application control word. With application control word bit 14 the cross cutter operation is started or stopped. By starting cross cutter operation (application control word bit 14 = TRUE) the cross cutter is moving in its basic position (C3694), if it isn’t already there. When the cross cutter reaches this position the status switches to Cam Operation (C3505=50). From this basic position (C3694) the cross cutter starts movement with the start cam and accelerate from speed zero up to line speed, so that the cross cutter is synchronous to line speed during the cut. The speed of the cross cutter is a result of the start cam profile and the incoming line speed and is not dependent on an acceleration ramp. This means, that there is no movement of the cross cutter as long as there is line speed zero. To stop the cross cutter operation the application control word bit 14 have to set to FALSE. By doing this the last started cut of the cross cutter will be finished and then the cross cutter runs on the stop cam from line speed to speed zero and stops in the basic position, where he switches to status Standby (C3505=10). To stop the cross cutter with application control word bit 14 it is necessary that the incoming line speed is bigger then zero. This is necessary because otherwise the cross cutter can’t come in its basic position via the stop cam. Is the incoming line speed zero and the cross cutter should be stopped and should come to status Standby (C3505=10) it is possible to abort the cross cutter operation with application control word bit 24 = TRUE. To abort the cross cutter operation the line speed should be zero otherwise there is a possibility of jerk and of a follow error trip. The basic position of the cross cutter depends on the number of knives and on the cutting angle size φ. Since the basic position is indicated under code C3694, the user does not need to calculate it. However, if desired the basic position of the cross cutter could be calculated by means of the following formula:
Cross Cutter
360
°
n
Y
With: Y
φ= Cutting angle (synchronous angle) in degree
n
It is recommended to stop the cross cutter at the basic position when homing has been completed. As a result, the cross cutter does not move during lock to cam operation. The following figure shows where the important positions, such as basic position, cutting angle, start- and stop point of the motion profile, are located on the cross cutter drum.
StartPos
=
StartPos
NumberOfKnifes
2
= Basic position of the cross cutter
ϕ
ifesNumberOfKn
= Number of knives on the cross cutter drum
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-18
Page 33
Cross Cutter
Features of the "Cross Cutter" prepared solution
basic position basic position
cutting angle φ
- One knife connected to the cross cutter drum
- Cutting angle φ= 30°
Figure 2: Important motion profile positions dependent on the number of knives
Variable names
Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bStartStopOperation BOOL
g_bAbordCrossCutter BOOL
Possible settings: Code Default Selection
C4135/
000
Bit 14
C4135/
000
Bit 24
C3694/
000
0 0 {1} 1
0 0 {1} 1
- - {1[s_units]} -
cutting angle φ
- Two knives connected to the cross cutter drum
- Cutting angle φ = 30°
Start and stop of cross cutter operation TRUE The cross cutter moves to its base
FALSE Cross cutter operation stops and the
Abort of cross cutter operation TRUE Abort Cross cutter operation
FALSE There is no abort of cross cutter
Comment
Application control word bit 14: Start and stop of cross cutter operation.
TRUE Start of operation FALSE Stop of operation Application control word bit 24: Abort of cross cutter operation.
TRUE Abort of operation FALSE No abort of operation Display code: Basic position or starting position of the cross cutter.
- Four knives connected to the cross cutter drum
- Cutting angle φ = 30°
position and starts cross cutter operation as long as there is line speed.
cross cutter moves to its base position.
Attention: Use only when line speed is zero!
operation.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-19
Page 34
Features of the "Cross Cutter" prepared solution
2.5.3 Cross-cutter operating modes
Continuous cutting
In "Continuous cutting" mode, the cross cutter works in continuous mode and makes cuts to a specific cutting length in accordance with the values previously set until the user stops the cutting process or sets a different cutting length. A dedicated calculation block is available for calculating the motion profiles for the cutting process. Two basic cams are reserved for calculating cutting lengths in "Continuous cutting" mode. This ensures that the user can be calculating a new cutting length in the background whilst continuing to cut to a different cutting length. Once the new cutting length has been calculated, the corresponding motion cam can be preselected with the calculated functions and replace the old cutting length as soon as the current cut has been completed. "Continuous cutting" mode can be both length-controlled and mark-controlled (see Chapter operation" to "Continuous cutting" mode without first having to stop the system. You must stop the system first in order to switch to "Continuous cutting" mode from "Asynchronous cross cutter" mode.
2.5.8). You can switch from "Test operation" and "Reject
Cross Cutter
LL
Figure 3: Example representation of continuous operation
LLLL
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-20
Page 35
Features of the "Cross Cutter" prepared solution
Test operation
The user can use the test cut to cut a material sample. This sample can then be used to check cut quality and material characteristics. Furthermore, it provides a means of determining the dimensional accuracy of the cut. A dedicated calculation block is available for calculating motion profiles for test operation. Two basic cams are reserved for calculating test cutting lengths in "Test operation". This ensures that the user can be calculating a new test cutting length in the background whilst continuing to cut to a different test cutting length. Once the new test cutting length has been calculated, the corresponding motion cam can be preselected with the calculated functions and replace the old test cutting length as soon as the current cut has been completed. This means that the user can define parameters for the test cut separately from other parameters for normal operation. "Test operation" can only be length-controlled (see Chapter 2.5.6). You can switch from "Continuous cutting" and "Reject operation" to "Test operation" without first having to stop the system. This means that it is possible to cut a test piece from the material flow during operation. You must stop the system first in order to switch to "Test operation" from "Asynchronous cross cutter" mode.
Cross Cutter
LLLLL
Figure 4: Example representation of test cut operation
LLLL
Individual cut material used as a test sample.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-21
Page 36
Features of the "Cross Cutter" prepared solution
Reject operation
In practice, sections of material have to be cut into small pieces in order to be disposed of, for example, in a waste container. Reject operation of this type is required when threading new material or cutting out damaged sections of material. Here too, the user is once again able to define parameters for this application separately. A dedicated calculation block is available for calculating motion profiles for reject operation. Two basic cams are reserved for calculating reject cutting lengths in "Reject operation" mode. This ensures that the user can be calculating a new reject cutting length in the background whilst continuing to cut to a different reject cutting length. Once the new reject cutting length has been calculated, the corresponding motion cam can be preselected with the calculated functions and replace the old reject cutting length as soon as the current cut has been completed. "Reject operation" mode can only be length­controlled (see Chapter 2.5.6). You can switch from "Continuous cutting" and "Test operation" to "Reject operation" without first having to stop the system. This means that it is possible to cut reject sections from the material flow during operation. You must stop the system first in order to switch to "Reject operation" from "Asynchronous cross cutter" mode. The system activates reject gate control as soon as "Reject operation" is selected (see Chapter
Cross Cutter
2.5.12).
Figure 5: Example representation of reject cut operation
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-22
Page 37
Features of the "Cross Cutter" prepared solution
Asynchronous cross cutter
"Asynchronous cross cutter" mode is a separate operating mode. It is frequently used when very short material lengths need to be cut at a very high line speed. However, at the same time, provision must also be made to ensure that the cut is made in asynchronism with the line speed. In the prepared solution the maximum cutting length is limited to the cutting circle circumference of the cross-cutter drum. This ensures that the cut is not made at an undersynchronous speed at which the material to be cut would jam. This means that the material is only ever cut at synchronous or oversynchronous speed. Unlike the scenario on the synchronous cross cutter, the required cutting length is not modified by calculating a motion profile. Instead, the master value is evaluated with an appropriate factor. The motion profile is provided by a basic cam which runs through at a faster or slower rate in accordance with cutting length (however, its speed will never drop below that of the line speed itself). This results in the longest cutting length of the asynchronous cross cutter being equivalent to the cutting circle circumference of the knife drum. The typical motion characteristics of an asynchronous cross cutter are presented in Chapter cutter" mode and switching over to a different mode can cause a speed step change in the master value, measures have been put in place to prevent direct switching to or from this mode. You must stop the system first if you wish to switch from "Asynchronous cross cutter" mode to "Continuous cutting", "Test operation" and "Reject operation". To change the cutting length in asynchronous mode, you must first stop the cross cutter in order to avoid a speed step change.
Cross Cutter
2.2.2. Since the line speed is adapted in "Asynchronous cross
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-23
Page 38
Features of the "Cross Cutter" prepared solution
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bStartStopOperation BOOL
g_wProfileSelector WORD
g_bWorkWithNewCuttingLength BOOL
g_bWorkWithNewRejectLength BOOL
g_bWorkWithNewTestLength BOOL
Cross Cutter
Start and stop the selected cross-cutter operating mode.
This value is written in code C4135/000 bit 14.
This value is displayed in code C4136/000 bit 14.
TRUE Start operation.
FALSE Stop operation.
Select cross-cutter operating mode.
Note: You can switch between modes 1 to 3 during operation. To switch to mode 4 from one of modes 1 to 3, you will first need to stop the cross cutter via
g_bStartStopOperation. To switch from mode 4 to one of modes 1 to 3, you will first need to stop the cross cutter via g_bStartStopOperation.
This value is displayed in code C4137/000; this variable can be written to this code.
1 Synchronous cross cutter, continuous cutting
2 Synchronous cross cutter, reject operation
3 Synchronous cross cutter, test operation
4 Asynchronous cross cutter, continuous cutting
Activate the variable to immediately apply a new cutting length you have calculated and work with the new cutting length.
Note: The variable is only valid for the synchronous cross cutter! A new cutting length for the asynchronous cross cutter is always applied immediately!
This value is written in code C4135/000 bit 15.
This value is displayed in code C4136/000 bit 15.
TRUE Apply new cutting length calculated.
FALSE Do not apply new cutting length calculated, continue to work
with the last cutting length calculated.
Activate the variable to immediately apply a new reject length you have calculated and work with the new reject length.
This value is written in code C4135/000 bit 16.
This value is displayed in code C4136/000 bit 16.
TRUE Apply new reject length calculated.
FALSE Do not apply new reject length calculated, continue to work with
the last reject length calculated.
Activate the variable to immediately apply a new test length you have calculated and work with the new test length.
This value is written in code C4135/000 bit 17.
This value is displayed in code C4136/000 bit 17.
TRUE Apply new test length calculated.
FALSE Do not apply new test length calculated, continue to work with
the last test length calculated.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-24
Page 39
Cross Cutter
Features of the "Cross Cutter" prepared solution
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bAbordCrossCutter BOOL
g_nAdjustCuttingSpeed INT Percentage value which can be applied to adjust the speed in the cut. 100% =
g_dnCirumferenceSlave DINT Cutting circle circumference xCircumference of knife drum in 0.0001[m_units]:
g_dnSetCuttingLength DINT Cutting length for synchronous and asynchronous operation. The value is entered in
g_dnSetRejectLength DINT Reject length for synchronous operation. The value is entered in 0.0001[m_units].
g_dnSetTestLength DINT Test length for synchronous operation. The value is entered in 0.0001[m_units].
g_dnSetStartStopLength DINT Start/stop length for synchronous operation. The value is displayed in
g_dnSyncAngle DINT Cutting angle for which the knife has to run in synchronism with the material (ysync,
g_dnSyncAngle_p Cutting angle for which the knife has to run in synchronism with the material. The
Activate the variable to abort cross-cutter operation.
This value is written in code C4135/000 bit 24.
This value is displayed in code C4136/000 bit 24.
TRUE Abort cross-cutter operation.
FALSE Normal operation
16384
This value is displayed in code C3665/000; this variable can be written to this code.
Example: The cutting circle diameter of the knife drum is 127.3240[mm]. The circumference is calculated by multiplying the diameter by π (= 3.141592654 …) and results in a value of 400.0000[m_units]. You should therefore assign a value of 4000000 to input variable dnCircumferenceSlave.
Note: Do not enter the synchronous cutting length here (this may not be the same as the cutting circle circumference on knife drums with multiple knives). Always enter the full circumference of the knife cutting circle here.
This value is displayed in code C3653/000; this variable can be written to this code.
0.0001[m_units]. The variable is a retain variable. This ensures that once set, a cutting length will be retained (even if the mains power is disconnected).
This value is displayed in code C3655/000; this variable can be written to this code.
This value is displayed in code C3656/000; this variable can be written to this code.
This value is displayed in code C3657/000; this variable can be written to this code.
0.0001[m_units]. The value is calculated automatically by the prepared solution.
the value is entered in 0.0001[s_units]).
Example: A dnSyncAngle value = 300000 corresponds to a cutting angle of
30.0000[s_units] = 30.0000 [°].
This value is displayed in code C3654/000; this variable can be written to this code. The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnSyncAngle_p!
value is entered in [incr.].
If you use this variable, to avoid inconsistencies, do not write variable g_dnSyncAngle!
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-25
Page 40
Cross Cutter
Features of the "Cross Cutter" prepared solution
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_byProfileTypeOfCalc BYTE
g_bResetCuttingProfileCounter BOOL
g_bResetRejectProfileCounter BOOL
g_bResetTestProfileCounter BOOL
Type of motion for the asynchronous motion phase.
This value is displayed in code C3691/000; this variable can be written to this code.
0 Second order polynomial (linear speed ramps)
1 Fifth order polynomial
2 Sloping sine line
Reset cutting counter for cutting operation.
This value is written in code C4135/000 bit 11.
This value is displayed in code C4136/000 bit 11.
TRUE Reset counter.
FALSE Counter will not be reset.
Reset cutting counter for reject operation.
This value is written in code C4135/000 bit 12.
This value is displayed in code C4136/000 bit 12.
TRUE Reset counter.
FALSE Counter will not be reset.
Reset cutting counter for test operation.
This value is written in code C4135/000 bit 13.
This value is displayed in code C4136/000 bit 13.
TRUE Reset counter.
FALSE Counter will not be reset.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-26
Page 41
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_nNumberOfKnives INT Number of knives mounted on the knife drum.
This value is displayed in code C3690/000.
g_bStartStopOperationCuttingProfile
g_bStartStopOperationRejectProfile BOOL
g_bStartStopOperationTestProfile BOOL
g_bStartStopOperationStartStopProfile BOOL
BOOL
Status signal: Cutting length induces start/stop operation of cross cutter.
This value is displayed in code C3700/000.
TRUE The selected cutting length exceeds the
FALSE The selected cutting length undershoots
Status signal: Reject length induces start/stop operation of cross cutter.
This value is displayed in code C3701/000.
TRUE The selected reject length exceeds the
FALSE The selected reject length undershoots
Status signal: Test length induces start/stop operation of cross cutter.
This value is displayed in code C3702/000.
TRUE The selected test length exceeds the
FALSE The selected test length undershoots the
Status signal: Start/stop length induces start/stop operation of cross cutter.
This value is displayed in code C3703/000.
TRUE The selected start/stop length exceeds
FALSE The selected start/stop length
limit cutting length for start/stop operation => The pause will be extended accordingly in the asynchronous motion phase.
the limit cutting length for start/stop operation. (See Chapter Synchronous cross cutter.)
limit cutting length for start/stop operation => The pause will be extended accordingly in the asynchronous motion phase.
the limit cutting length for start/stop operation. (See Chapter Synchronous cross cutter.)
limit cutting length for start/stop operation => The pause will be extended accordingly in the asynchronous motion phase.
limit cutting length for start/stop operation. (See Chapter Synchronous cross cutter.)
the limit cutting length for start/stop operation => The pause will be extended accordingly in the asynchronous motion phase.
undershoots the limit cutting length for start/stop operation. (See Chapter Synchronous cross cutter.)
2.2.2
2.2.2
2.2.2
2.2.2
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-27
Page 42
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bCrossCutterCalcBusyCuttingProfile
g_bCrossCutterCalcBusyRejectProfile BOOL
g_bCrossCutterCalcBusyTestProfile BOOL
g_bCrossCutterCalcBusyStartStopProfile BOOL
g_bCrossCutterCalcDoneCuttingProfile BOOL
BOOL
Status signal: Calculation sequence for new cross-cutter motion profile for a new cutting length in progress.
This value is displayed in code C4150/000 bit 8. TRUE Calculation sequence for cross-cutter
motion profile for a new cutting length in progress.
FALSE Calculation sequence for new cross-
cutter motion profile for a new cutting length completed successfully or aborted.
Status signal: Calculation sequence for new cross-cutter motion profile for a new reject length in progress.
This value is displayed in code C4150/000 bit 9. TRUE Calculation sequence for cross-cutter
motion profile for a new reject length in progress.
FALSE Calculation sequence for new cross-
cutter motion profile for a new reject length completed successfully or aborted.
Status signal: Calculation sequence for new cross-cutter motion profile for a new test length in progress.
This value is displayed in code C4150/000 bit 10. TRUE Calculation sequence for cross-cutter
motion profile for a new test length in progress.
FALSE Calculation sequence for new cross-
cutter motion profile for a new test length completed successfully or aborted.
Status signal: Calculation sequence for new cross-cutter motion profile for a new start/stop length in progress.
This value is displayed in code C4150/000 bit 11. TRUE Calculation sequence for cross-cutter
motion profile for a new start/stop length in progress.
FALSE Calculation sequence for new cross-
cutter motion profile for a new start/stop length completed successfully or aborted.
Status signal: Calculation sequence for new cross-cutter motion profile for a new cutting length completed successfully.
This value is displayed in code C4150/000 bit 12. TRUE Calculation sequence for new cross-
cutter motion profile for a new cutting length completed successfully.
Starting a new calculation sequence will reset this status output to FALSE.
FALSE Calculation sequence for new cross-
cutter motion profile for a new cutting length in progress or an error has occurred in the calculation.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-28
Page 43
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bCrossCutterCalcDoneRejectProfile BOOL
g_bCrossCutterCalcDoneTestProfile BOOL
g_bCrossCutterCalcDoneStartStopProfile BOOL
Status signal: Calculation sequence for new cross-cutter motion profile for a new reject length completed successfully.
This value is displayed in code C4150/000 bit 13. TRUE Calculation sequence for new cross-
cutter motion profile for a new reject length completed successfully.
Starting a new calculation sequence will reset this status output to FALSE.
FALSE Calculation sequence for new cross-
cutter motion profile for a new reject length in progress or an error has occurred in the calculation.
Status signal: Calculation sequence for new cross-cutter motion profile for a new test length completed successfully.
This value is displayed in code C4150/000 bit 14. TRUE Calculation sequence for new cross-
cutter motion profile for a new test length completed successfully.
Starting a new calculation sequence will reset this status output to FALSE.
FALSE Calculation sequence for new cross-
cutter motion profile for a new test length in progress or an error has occurred in the calculation.
Status signal: Calculation sequence for new cross-cutter motion profile for a new start/stop length completed successfully.
This value is displayed in code C4150/000 bit 15. TRUE Calculation sequence for new cross-
cutter motion profile for a new start/stop length completed successfully.
Starting a new calculation sequence will reset this status output to FALSE.
FALSE Calculation sequence for new cross-
cutter motion profile for a new start/stop cutting length in progress or an error has occurred in the calculation.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-29
Page 44
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_nCrossCutterCalcStateCuttingProfile INT
Status of calculation sequence for new cutting length. This value is displayed in code C3661/000.
0 Calculation ok.
1
2 Selected motion profile not found.
4 The angle of motion of the knife drum for
8 A value of zero has been entered for the
16 The preset cutting length is less than the
32 The selected motion profile contains
64 The selected motion profile does not
128 Cutting angle too small.
256 The y final value of the basic profile
512
If the nState status variable is exhibiting non-zero values, the calculated variables
may exhibit invalid values, in which case it will not be possible to use them subsequently in the control program!
No LC9 file found.
Profile data not found in absolute
data model.
Read error when accessing profile
data.
the asynchronous motion phase is less than or equal to zero (check y final value of basic profile and cutting angle!).
knife drum's cutting circle circumference.
material length corresponding to the cutting angle.
fewer than 20 interpolation points.
start at zero (0.0000/0.0000).
does not correspond to value
360.0000[°]/n (n
= Number of knives on knife
cuts/rev
drum, values of 1, 2, 3, 4, 5 or 6 are possible)
Internal read access to code C0011 failed.
cuts/rev
.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-30
Page 45
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_nCrossCutterCalcStateRejectProfile INT
Status of calculation sequence for new reject length. This value is displayed in code C3662/000.
0 Calculation ok.
1
2 Selected motion profile not found.
4 The angle of motion of the knife drum for
8 A value of zero has been entered for the
16 The preset cutting length is less than the
32 The selected motion profile contains
64 The selected motion profile does not
128 Cutting angle too small.
256 The y final value of the basic profile
512
If the nState status variable is exhibiting non-zero values, the calculated variables
may exhibit invalid values, in which case it will not be possible to use them subsequently in the control program!
No LC9 file found.
Profile data not found in absolute
data model.
Read error when accessing profile
data.
the asynchronous motion phase is less than or equal to zero (check y final value of basic profile and cutting angle!).
knife drum's cutting circle circumference.
material length corresponding to the cutting angle.
fewer than 20 interpolation points.
start at zero (0.0000/0.0000).
does not correspond to value
360.0000[°]/n (n
= Number of knives on knife
cuts/rev
drum, values of 1, 2, 3, 4, 5 or 6 are possible)
Internal read access to code C0011 failed.
cuts/rev
.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-31
Page 46
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_nCrossCutterCalcStateTestProfile INT
Status of calculation sequence for new test length. This value is displayed in code C3663/000.
0 Calculation ok.
1
2 Selected motion profile not found.
4 The angle of motion of the knife drum for
8 A value of zero has been entered for the
16 The preset cutting length is less than the
32 The selected motion profile contains
64 The selected motion profile does not
128 Cutting angle too small.
256 The y final value of the basic profile
512
If the nState status variable is exhibiting non-zero values, the calculated variables
may exhibit invalid values, in which case it will not be possible to use them subsequently in the control program!
No LC9 file found.
Profile data not found in absolute
data model.
Read error when accessing profile
data.
the asynchronous motion phase is less than or equal to zero (check y final value of basic profile and cutting angle!).
knife drum's cutting circle circumference.
material length corresponding to the cutting angle.
fewer than 20 interpolation points.
start at zero (0.0000/0.0000).
does not correspond to value
360.0000[°]/n (n
= Number of knives on knife
cuts/rev
drum, values of 1, 2, 3, 4, 5 or 6 are possible)
Internal read access to code C0011 failed.
cuts/rev
.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-32
Page 47
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_nCrossCutterCalcStateStartStopProfile INT
g_bAllCalcDone BOOL
g_bWrongSetCamProfileNoForCalc BOOL
g_bErrorCrossCutterCuttingProfileCalc Block
BOOL
Status of calculation sequence for new start/stop length. This value is displayed in code C3664/000.
0 Calculation ok.
1
2 Selected motion profile not found.
4 The angle of motion of the knife drum for
8 A value of zero has been entered for the
16 The preset cutting length is less than the
32 The selected motion profile contains
64 The selected motion profile does not
128 Cutting angle too small.
256 The y final value of the basic profile
512
If the nState status variable is exhibiting non-zero values, the calculated variables
may exhibit invalid values, in which case it will not be possible to use them subsequently in the control program!
Status signal: All calculation sequences for new cross-cutter motion profiles have been completed successfully.
This value is displayed in code C4150/000 bit 31. TRUE All calculation sequences for new cross-
FALSE All calculation sequences for new cross-
Status signal: A motion profile currently being used by the application has been calculated.
TRUE A motion profile currently being used by
FALSE The calculated motion profile is not
Status signal: An error occurred whilst calculating the motion profile for the new cutting length.
TRUE An error has occurred during calculation.
FALSE Calculation completed without errors.
No LC9 file found.
Profile data not found in absolute
data model.
Read error when accessing profile
data.
the asynchronous motion phase is less than or equal to zero (check y final value of basic profile and cutting angle!).
knife drum's cutting circle circumference.
material length corresponding to the cutting angle.
fewer than 20 interpolation points.
start at zero (0.0000/0.0000).
does not correspond to value
360.0000[°]/n (n
= Number of knives on knife
cuts/rev
drum, values of 1, 2, 3, 4, 5 or 6 are possible)
Internal read access to code C0011 failed.
cutter motion profiles have been completed successfully.
Starting a new calculation sequence will reset this status output to FALSE.
cutter motion profiles are still in progress.
the application has been calculated.
currently being used by the application.
cuts/rev
.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-33
Page 48
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bErrorCrossCutterRejectProfileCalcBlock BOOL
g_bErrorCrossCutterTestProfileCalcBlock BOOL
g_bErrorCrossCutterStartStopProfileCalc Block
g_bUseSynchronusCrossCutter BOOL
g_bUseAsynchronusCrossCutter BOOL
g_bUseCuttingProfile BOOL
g_bUseRejectProfile BOOL
g_bUseTestProfile BOOL
g_nMaxMasterVelForActCuttingProfile_v INT Entry indicating the maximum possible line speed for the set cutting length in
g_nMaxMasterVelForActRejectProfile_v INT Entry indicating the maximum possible line speed for the set reject length in
g_nMaxMasterVelForActTestProfile_v INT Entry indicating the maximum possible line speed for the set test length in [incr./ms].
g_nMaxMasterVelForActStartStopProfile_v INT Entry indicating the maximum possible line speed for the set start/stop length in
g_wCounterValueCuttingProfile WORD Cutting counter for cutting operation
g_wCounterValueRejectProfile WORD Cutting counter for reject operation
BOOL
Status signal: An error occurred whilst calculating the motion profile for the new reject length.
TRUE An error has occurred during calculation.
FALSE Calculation completed without errors. Status signal: An error occurred whilst calculating the motion profile for the new test
length. TRUE An error has occurred during calculation.
FALSE Calculation completed without errors. Status signal: An error occurred whilst calculating the motion profile for the new
start/stop length. TRUE An error has occurred during calculation.
FALSE Calculation completed without errors. Status signal: The cross cutter is operating as a synchronous cross cutter. This value is displayed in code C4150/000 bit 21. TRUE The cross cutter is operating as a
synchronous cross cutter.
FALSE The cross cutter is not operating as a
synchronous cross cutter. Status signal: The cross cutter is operating as an asynchronous cross cutter. This value is displayed in code C4150/000 bit 20. TRUE The cross cutter is operating as an
asynchronous cross cutter.
FALSE The cross cutter is not operating as an
asynchronous cross cutter. Status signal: The cross cutter is operating in "Continuous cutting" mode. This value is displayed in code C4150/000 bit 22. TRUE The cross cutter is operating in
"Continuous cutting" mode.
FALSE The cross cutter is not operating in
"Continuous cutting" mode. Status signal: The cross cutter is operating in "Reject operation" mode. This value is displayed in code C4150/000 bit 23. TRUE The cross cutter is operating in "Reject
operation" mode.
FALSE The cross cutter is not operating in
"Reject operation" mode. Status signal: The cross cutter is operating in "Test operation" mode. This value is displayed in code C4150/000 bit 24. TRUE The cross cutter is operating in "Test
operation" mode.
FALSE The cross cutter is not operating in "Test
operation" mode.
[incr./ms].
[incr./ms].
[incr./ms].
The counter is limited to a maximum value of 65535; on reaching this value it will overflow to 0. This value is displayed in code C3658/000.
The counter is limited to a maximum value of 65535; on reaching this value it will overflow to 0. This value is displayed in code C3659/000.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-34
Page 49
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL)
g_wCounterValueTestProfile WORD Cutting counter for test operation
The counter is limited to a maximum value of 65535; on reaching this value it will overflow to 0. This value is displayed in code C3660/000.
C3653/
000
C3654/
000
C3655/
000
C3656/
000
C3657/
000
C3658/
000
C3659/
000
C3660/
000
C3661/
000
Possible settings: Code Default Selection
628.3185 0.0000... {0.0001 m_units}
30.0000 0.0000... {°} ... 360.0000
300.0000 0.0001... {{0.0001 m_units}
150.0000 0.0001... {{0.0001 m_units}
2400.0000 0.0001... {{0.0001 m_units}
- - - -
- - - -
- - - -
- - - -
... 214748.0000
... 214000.0000
... 214000.0000
... 214000.0000
Comment
Cutting circle circumference of knife drum
Cutting angle (synchronous angle)
Setpoint cutting length (valid for synchronous and asynchronous cross-cutter operation)
Setpoint for reject length
Setpoint for test length
Cutting counter for cutting operation The counter is limited to a maximum value of 65535; on reaching this value it will overflow to 0.
Cutting counter for reject operation The counter is limited to a maximum value of 65535; on reaching this value it will overflow to 0.
Cutting counter for test operation The counter is limited to a maximum value of 65535; on reaching this value it will overflow to 0.
Status of calculation sequence for new cutting length.
0 Calculation ok.
-1
No LC9 file found.
Profile data not found in absolute data model.
Read error when accessing profile data.
-2 Selected motion profile not found.
-4 The angle of motion of the knife drum for the asynchronous motion phase is less than or equal to zero (check y final value of basic profile and cutting angle!).
-8 A value of zero has been entered for the knife drum's cutting circle circumference.
-16 The preset cutting length is less than the material length corresponding to the cutting angle.
-32 The selected motion profile contains fewer than 20 interpolation points.
-64 The selected motion profile does not start at zero (0.0000/0.0000).
-128 Cutting angle too small.
-256 The y final value of the basic profile does not correspond to value 360.0000[°]/n (n
= Number of knives on knife drum, values of 1, 2,
cuts/rev
3, 4, 5 or 6 are possible)
If the nState status variable is exhibiting negative values, the
output signals may exhibit invalid values, in which case it will not be possible to use them subsequently in the control program!
cuts/rev
.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-35
Page 50
Cross Cutter
Features of the "Cross Cutter" prepared solution
C3662/
000
C3663/
000
Possible settings: Code Default Selection
- - - -
- - - -
Comment
Status of calculation sequence for new reject length.
0 Calculation ok.
-1
No LC9 file found.
Profile data not found in absolute data model.
Read error when accessing profile data.
-2 Selected motion profile not found.
-4 The angle of motion of the knife drum for the asynchronous motion phase is less than or equal to zero (check y final value of basic profile and cutting angle!).
-8 A value of zero has been entered for the knife drum's cutting circle circumference.
-16 The preset cutting length is less than the material length corresponding to the cutting angle.
-32 The selected motion profile contains fewer than 20 interpolation points.
-64 The selected motion profile does not start at zero (0.0000/0.0000).
-128 Cutting angle too small.
-256 The y final value of the basic profile does not correspond to value 360.0000[°]/n (n
= Number of knives on knife drum, values of 1, 2,
cuts/rev
3, 4, 5 or 6 are possible)
If the nState status variable is exhibiting negative values, the
output signals may exhibit invalid values, in which case it will not be possible to use them subsequently in the control program! Status of calculation sequence for new test length.
0 Calculation ok.
-1
No LC9 file found.
Profile data not found in absolute data model.
Read error when accessing profile data.
-2 Selected motion profile not found.
-4 The angle of motion of the knife drum for the asynchronous motion phase is less than or equal to zero (check y final value of basic profile and cutting angle!).
-8 A value of zero has been entered for the knife drum's cutting circle circumference.
-16 The preset cutting length is less than the material length corresponding to the cutting angle.
-32 The selected motion profile contains fewer than 20 interpolation points.
-64 The selected motion profile does not start at zero (0.0000/0.0000).
-128 Cutting angle too small.
-256 The y final value of the basic profile does not correspond to value 360.0000[°]/n (n
= Number of knives on knife drum, values of 1, 2,
cuts/rev
3, 4, 5 or 6 are possible)
If the nState status variable is exhibiting negative values, the
output signals may exhibit invalid values, in which case it will not be possible to use them subsequently in the control program!
cuts/rev
cuts/rev
.
.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-36
Page 51
Cross Cutter
Features of the "Cross Cutter" prepared solution
C3664/
000
C3665/
000
C3686/
000
C36867
000
C3688/
000
C3689/
000
C3690/
000
C3691/
000
C3700/
000
Possible settings: Code Default Selection
- - - -
100 80... {%} ... 120
- - {[m_units/ min]}
- - {[m_units/ min]}
- - {[m_units/ min]}
- - {[m_units/ min]}
- - {1} -
1 0 {1} 2
- - {1} -
Comment
Status of calculation sequence for new start/stop length.
0 Calculation ok.
-1
No LC9 file found.
Profile data not found in absolute data model.
Read error when accessing profile data.
-2 Selected motion profile not found.
-4 The angle of motion of the knife drum for the asynchronous motion phase is less than or equal to zero (check y final value of basic profile and cutting angle!).
-8 A value of zero has been entered for the knife drum's cutting circle circumference.
-16 The preset cutting length is less than the material length corresponding to the cutting angle.
-32 The selected motion profile contains fewer than 20 interpolation points.
-64 The selected motion profile does not start at zero (0.0000/0.0000).
-128 Cutting angle too small.
-256 The y final value of the basic profile does not correspond to value 360.0000[°]/n (n
= Number of knives on knife drum, values of 1, 2,
cuts/rev
3, 4, 5 or 6 are possible)
If the nState status variable is exhibiting negative values, the
output signals may exhibit invalid values, in which case it will not be possible to use them subsequently in the control program!
Cutting speed adaptation factor.
­Maximum possible line speed for set cutting length.
­Maximum possible line speed for set reject length.
­Maximum possible line speed for set test length.
­Maximum possible line speed for set start/stop length.
Number of knives mounted on the knife drum. Up to 6 knives can be mounted on the knife drum. Selection of calculation method for asynchronous section of motion profile
0
Second order polynomial (linear speed ramps)
1
Fifth order polynomial
2
Sloping sine line
Cutting length induces start/stop operation of cross cutter. TRUE The selected cutting length exceeds the
FALSE The selected cutting length undershoots the
limit cutting length for start/stop operation => The pause will be extended accordingly in the asynchronous motion phase.
limit cutting length for start/stop operation.
cuts/rev
.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-37
Page 52
Cross Cutter
Features of the "Cross Cutter" prepared solution
C3701/
000
C3702/
000
C3703/
000
C4135/
000
Bit 11
C4135/
000
Bit 12
C4135/
000
Bit 13
C4135/
000
Bit 14
C4135/
000
Bit 15
Possible settings: Code Default Selection
- - {1} -
- - {1} -
- - {1} -
0 0 {1} 1
0 0 {1} 1
0 0 {1} 1
0 0 {1} 1
0 0 {1} 1
Comment
Reject length induces start/stop operation of cross cutter. TRUE The selected reject length exceeds the limit
cutting length for start/stop operation => The pause will be extended accordingly in the asynchronous motion phase.
FALSE The selected reject length undershoots the
limit cutting length for start/stop operation. Test length induces start/stop operation of cross cutter. TRUE The selected test length exceeds the limit
cutting length for start/stop operation =>
The pause will be extended accordingly in
the asynchronous motion phase. FALSE The selected test length undershoots the
limit cutting length for start/stop operation. Start/stop length induces start/stop operation of cross cutter. TRUE The selected start/stop length exceeds the
limit cutting length for start/stop operation
=> The pause will be extended accordingly
in the asynchronous motion phase. FALSE The selected start/stop length undershoots
the limit cutting length for start/stop
operation. Application control word bit 11: Reset cutting counter for cutting operation.
TRUE Reset counter. FALSE Counter will not be reset. Application control word bit 12: Reset cutting counter for reject operation.
TRUE Reset counter. FALSE Counter will not be reset. Application control word bit 13: Reset cutting counter for test operation.
TRUE Reset counter. FALSE Counter will not be reset. Application control word bit 14: Start and stop selected cross­cutter operating mode.
TRUE Start operation. FALSE Stop operation. Application control word bit 15: Activate to immediately apply a new cutting length you have calculated and work with the new cutting length.
TRUE Apply new cutting length calculated. FALSE Do not apply new cutting length calculated, continue
to work with the last cutting length calculated.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-38
Page 53
Cross Cutter
Features of the "Cross Cutter" prepared solution
C4135/
000
Bit 16
C4135/
000
Bit 17
C4137/
000
C4150/
000
Bit 8
C4150/
000
Bit 9
C4150/
000
Bit 10
Possible settings: Code Default Selection
0 0 {1} 1
0 0 {1} 1
1 1 {1} 4
- - - -
- - - -
- - - -
Comment
Application control word bit 16: Activate to immediately apply a new reject length you have calculated and work with the new cutting length.
TRUE Apply new reject length calculated. FALSE Do not apply new reject length calculated, continue to
Application control word bit 17: Activate to immediately apply a new test length you have calculated and work with the new cutting length.
TRUE Apply new test length calculated. FALSE Do not apply new test length calculated, continue to
Select cross-cutter operating mode. Note: You can switch between modes 1 to 3 during operation. To switch to mode 4 from one of modes 1 to 3, you will first need to stop the cross cutter via g_bStartStopOperation. To switch from mode 4 to one of modes 1 to 3, you will first need to stop the cross cutter via g_bStartStopOperation.
1
2
3
4
Application status word bit 8: Calculation sequence for new cross­cutter motion profile for a new cutting length in progress. TRUE Calculation sequence for cross-cutter motion profile
FALSE Calculation sequence for new cross-cutter motion
Application status word bit 9: Calculation sequence for new cross­cutter motion profile for a new reject length in progress. TRUE Calculation sequence for cross-cutter motion profile
FALSE Calculation sequence for new cross-cutter motion
Application status word bit 10: Calculation sequence for new cross-cutter motion profile for a new test length in progress.
TRUE Calculation sequence for cross-cutter motion profile
FALSE Calculation sequence for new cross-cutter motion
work with the last cutting length calculated.
work with the last cutting length calculated.
Synchronous cross cutter, continuous cutting
Synchronous cross cutter, reject operation
Synchronous cross cutter, test operation
Asynchronous cross cutter, continuous cutting
for a new cutting length in progress.
profile for a new cutting length completed successfully or aborted.
for a new reject length in progress.
profile for a new reject length completed successfully or aborted.
for a new test length in progress.
profile for a new test length completed successfully or aborted.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-39
Page 54
Cross Cutter
Features of the "Cross Cutter" prepared solution
C4150/
000
Bit 11
C4150/
000
Bit 12
C4150/
000
Bit 13
C4150/
000
Bit 14
C4150/
000
Bit 15
Possible settings: Code Default Selection
- - - -
- - - -
- - - -
- - - -
- - - -
Comment
Application status word bit 11: Calculation sequence for new cross-cutter motion profile for a new start/stop length in progress.
TRUE Calculation sequence for cross-cutter motion profile
for a new start/stop length in progress.
FALSE Calculation sequence for new cross-cutter motion
profile for a new start/stop length completed
successfully or aborted. Application status word bit 12: Calculation sequence for new cross-cutter motion profile for a new cutting length completed successfully. Starting a new calculation sequence will reset this bit to FALSE. TRUE Calculation sequence for new cross-cutter motion
profile for a new cutting length completed
successfully. FALSE Calculation sequence for new cross-cutter motion
profile for a new cutting length not completed. Application status word bit 13: Calculation sequence for new cross-cutter motion profile for a new reject length completed successfully. Starting a new calculation sequence will reset this bit to FALSE. TRUE Calculation sequence for new cross-cutter motion
profile for a new reject length completed successfully. FALSE Calculation sequence for new cross-cutter motion
profile for a new reject length not completed. Application status word bit 14: Calculation sequence for new cross-cutter motion profile for a new test length completed successfully. Starting a new calculation sequence will reset this bit to FALSE. TRUE Calculation sequence for new cross-cutter motion
profile for a new test length completed successfully. FALSE Calculation sequence for new cross-cutter motion
profile for a new test length not completed. Application status word bit 15: Calculation sequence for new cross-cutter motion profile for a new start/stop length completed successfully. Starting a new calculation sequence will reset this bit to FALSE. TRUE Calculation sequence for new cross-cutter motion
profile for a new start/stop length completed
successfully. FALSE Calculation sequence for new cross-cutter motion
profile for a new start/stop length not completed.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-40
Page 55
Cross Cutter
Features of the "Cross Cutter" prepared solution
Possible settings: Code Default Selection
C4150/
000
Bit 20
C4150/
000
Bit 21
C4150/
000
Bit 22
C4150/
000
Bit 23
C4150/
000
Bit 24
C4150/
000
Bit 31
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
The warning signals listed in the following table may appear when calculating cross-cutter motion profiles. Each warning signal will remain pending until its cause has been dealt with.
Comment
Application status word bit 20: The cross cutter is operating as an asynchronous cross cutter. TRUE The cross cutter is operating as an asynchronous
cross cutter. FALSE The cross cutter is not operating as an asynchronous
cross cutter. Application status word bit 21: The cross cutter is operating as a synchronous cross cutter.
TRUE The cross cutter is operating as a synchronous cross
cutter. FALSE The cross cutter is not operating as a synchronous
cross cutter. Application status word bit 22: The cross cutter is operating in "Continuous cutting" mode.
TRUE The cross cutter is operating in "Continuous cutting"
mode. FALSE The cross cutter is not operating in "Continuous
cutting" mode. Application status word bit 23: The cross cutter is operating in "Reject operation" mode.
TRUE The cross cutter is operating in "Reject operation"
mode. FALSE The cross cutter is not operating in "Reject operation"
mode. Application status word bit 24: The cross cutter is operating in "Test operation" mode. TRUE The cross cutter is operating in "Test operation"
mode. FALSE The cross cutter is not operating in "Test operation"
mode. Application status word 31: All calculation sequences for new cross-cutter motion profiles have been completed successfully. Starting a new calculation sequence will reset this status output to FALSE. TRUE All calculation sequences for new cross-cutter motion
profiles have been completed successfully. FALSE All calculation sequences for new cross-cutter motion
profiles are still in progress.
Each warning signal is generated in the specified network of the UserErrors block (POU).
Warning signals Number Text Global variable Network in
501 WrongProfileForCalc g_bWrongSetCamProfileNoForCalc 2
503 ErrorCalcCuttingProfile g_bErrorCrossCutterCuttingProfileCalcBlock 4
504 ErrorCalcRejectProfile g_bErrorCrossCutterRejectProfileCalcBlock 5
505 ErrorCalcTestProfile g_bErrorCrossCutterTestProfileCalcBlock 6
506 ErrorCalcStartStopProfile g_bErrorCrossCutterStartStopProfileCalcBlock 7
UserErrors POU
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-41
Page 56
Features of the "Cross Cutter" prepared solution
2.5.4 ManualJog
In ManualJog the drive/tool can be moved by means of manual operator inputs. This type of operation may be required, for example, to clean or change a tool. In this context it is important that when functioning in manual mode, the drive moves in "inching mode" but does not follow the cam (or motion profile). ManualJog movement is not determined by the motion profile (cam) but follows linear speed curves independently of the profile. In this operating mode, a master value entry and the cam function will have no effect on drive motion. In ManualJog, the g_bGlobalError global variable is evaluated. Setting the g_bGlobalError global variable to TRUE during ManualJog in a positive or negative direction will stop the drive on the quick stop ramp. By resetting the error (g_bGlobalError=FALSE) the drive direct start moving in the selected direction as long as there is a signal for manual movement. There is no new positiv edge necessary to restart the manual movement.
Cross Cutter
LLLL
Figure 6: Schematic representation of manual mode
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-42
Page 57
Cross Cutter
Features of the "Cross Cutter" prepared solution
C3622/003 C3622/003
C3622/003 C3622/003
V
V
V
C3623/001
C3623/001
C3623/001
t
t
t
Speed
Speed
Speed
g_bManualJogPos
g_bManualJogPos
g_bManualJogNeg
g_bManualJogNeg
Figure 7: Schematic representation of signal generation for manual mode
C3623/002
C3623/002
C3623/002
t
t
t
t
C3622/001
C3622/001
C3623/001
C3623/001
C3623/001
t
t
t
t
t
t
t
g_bManualJogPos
g_bManualJogPos
g_bGlobalError
g_bGlobalError
V
V
V
Speed
Speed
Speed
C3623/002
C3623/002
C3623/002
Figure 8: Schematic representation of signal generation for manual mode (error)
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-43
Page 58
Features of the "Cross Cutter" prepared solution
g_bManualJogNeg
g_bManualJogNeg
g_bManualJogPos
g_bManualJogPos
Inputs
g_bGlobalError
g_bGlobalError
Ramp Time: C3622/1..3
Ramp Time: C3622/1..3
Speed: C3623/1..2
Speed: C3623/1..2
Figure 9: Control signals in ManualJog
Inputs
Parameter
Parameter
ManualJog
ManualJog
)
)
Cross Cutter
Variable names
Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bManualJogNeg BOOL
g_bManualJogPos BOOL
Possible settings: Code Default Selection
C3622
/001
C3622
/003
C3623
/001
C3623
/002
C4135
/000 Bit 3
C4135
/000 Bit 4
5.000 0.000... {0.0001[s]} ...129.99
5.000 0.000... {0.0001[s]} ...129.99
200 0 ...
200 0 ...
0 0 {1} 1
0 0 {1} 1
{1 rpm}
{1 rpm}
Manual jog in negative direction (CCW)
This value is written in code C4135/000 bit 4. This value is displayed in code C4136/000 bit 4.
TRUE Manual jog in negative direction
FALSE Stop
Manual jog in positive direction (CW)
This value is written in code C4135/000 bit 3. This value is displayed in code C4136/000 bit 3.
TRUE Manual jog in positive direction
FALSE Stop
Comment
Deceleration ramp for immediate stop Assuming 4000 rpm Acceleration and deceleration ramp for manual jog
...15000
...15000
Assuming 4000 rpm Speed for manual jog in positive direction (CW)
Speed for manual jog in negative direction (CCW)
Application control word bit 3: Manual jog in positive direction (CW)
TRUE Manual jog in positive direction FALSE Stop Application control word bit 4: Manual jog in negative direction (CCW)
TRUE Manual jog in negative direction FALSE Stop
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-44
Page 59
Features of the "Cross Cutter" prepared solution
2.5.5 Following error monitoring
When the servo controller is enabled, the drive system will monitor the following error continuously. The following error Δs (green line) is the result of the difference between the set position s limit value, a following error warning will be output. Following error warnings are defined as follows:
Following error warning limit (C3645) If the difference between the set position and actual position exceeds the setting in C3645, a following error warning will be output. Use C3646 to define the limit values for the following error warning. This is the value by which the following error warning limit must be undershot (C3645) in order for the following error warning to be reset. The warning is reset automatically when the set value is undershot.
Following error limit (C3643) If the difference between the set position and the actual position exceeds the setting in C3643, the drive will brake to standstill along the set quick stop ramp and switch to the "Trouble" state. Use the corresponding motor control parameters (C0105) to set the quick stop ramp. Use C3644 to define the limit values for the following error. This is the value by which the following error limit (C3643) must be undershot in order for the following error to be reset. The user must reset the error. Following error monitoring is active whenever the drive is in motion.
(blue line) and the actual position s
set
Cross Cutter
(red line). If this deviation exceeds a defined
act
Target position
Starting position
+ C3643/000
- C3643/000
Following error message
Set position of drive s
Actual position of drive s
Following error Δs = s
Figure 10:Generation of following error message
set
set
act
– s
Width of window = 2 .
act
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-45
Page 60
Features of the "Cross Cutter" prepared solution
Variable names
Possible settings: Code Default Selection
C3643/
000
C3644/
000
C3645/
000
C3646/
000
3.0000
0.5000
1.5000
0.5000
0.0001... {0.0001
0.0001... {0.0001
0.0001... {0.0001
0.0001... {0.0001
2.5.6 Homing
This function can be used to perform homing. The drive moves in a preselected mode and calculates the zero position (home) automatically on the basis of a home mark before declaring this value to the drive control. All position data refers to this home position. performed once following mains connection. The following can be used as home mark signals:
Zero pulse (signal edge from encoder system for position actual value, one per
motor revolution)
Touch probe (signal edge at corresponding touch-probe input of PLC)
A preliminary stop position can be set via a homing switch. In this case, home will be the
next zero position of the actual value encoder on the motor or the next touch probe (depending on the selected mode).
Cross Cutter
Comments
... 214748.0000 Following error switch-off threshold
[s_units]}
... 214748.0000 Following error hysteresis
[s_units]}
... 214748.0000 Following error warning limit
[s_units]}
... 214748.0000 Following error warning limit hysteresis
[s_units]}
Homing is generally
Figure 11: Control signals for homing
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-46
Page 61
Cross Cutter
Features of the "Cross Cutter" prepared solution
The following homing modes can be selected:
Homing mode 0:
The drive rotates in a positive direction (clockwise rotation) until the homing switch's negative edge is detected. The next zero pulse from the motor feedback system determines the home position (machine zero point). If you do not wish the home position to be the zero point of the absolute measuring system used, you can use an offset value (machine zero distance, C3626/000) to set the home position to the zero point of the measuring system. Once homing is complete the drive will stop at position 0.000[s_units]:
Home position
g_dnMachineZeroDistance (C3626/000)
Homing speed
Homing switch
Control signal "Homing"
Zero pulse feedback
Touch-probe signal
Status signal "Home position detected”
or
1. Negative edge of homing switch
2. Zero pulse
Figure 12: Graph of homing mode 0
In the example illustrated above, the home position has a negative value with reference to the measuring system zero point, because once the zero pulse/touch-probe signal has been detected, the drive continues to move in a positive direction to a position 0.0000[s_units].
If you do not wish homing to end at the measuring system zero point, you can in addition preset an end position to come after homing (homing target position, C3627/000). This provides the requisite conditions for setting the measuring system zero point outside the drive's traversing range.
Homing mode 1:
(like homing mode 0 but with a negative traversing direction)
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-47
Page 62
Cross Cutter
Features of the "Cross Cutter" prepared solution
Homing mode 4:
The drive moves in a positive direction until the rising edge of the homing switch signal is detected, at which point it starts to reverse. The home position (machine zero point) is determined by the next zero pulse on the motor feedback system following the next falling signal edge or by the next touch-probe signal. If you do not wish the home position to be the zero point of the absolute measuring system used, you can use an offset value (machine zero distance, C3626/000) to set the home position to the zero point of the measuring system. Once homing is complete the drive will stop at position 0.0000[s_units]:
s
s
Home position
0
0
V
Homing speed
1. Rising signal edge homing switch
Homing switch signal
Control signal "Homing"
Zero pulse feedback
Touch-probe signal
Status signal "Home position detected”
V
or
4. Zero pulse
2. Drive reversing
g_dnMachineZeroDistance (C3626/000)
C3227/000
3. Falling signal edge homing switch
t
t
t
t
t
t t
t
t
t
t
t
t
t
Homing mode 5:
Figure 13: Graph of homing mode 4
In the example illustrated above, the home position has a positive value with reference to the measuring system zero point, because once the zero pulse/touch-probe signal has been detected, the drive continues to move in a negative direction to the measuring system zero point (0.0000[s_units]).
If you do not wish homing to end at the measuring system zero point, you can in addition preset an end position to come after homing (homing target position, C3627/000). This provides the requisite conditions for setting the measuring system zero point outside the drive's traversing range.
In principle, the sequence is the same as for homing mode 4, but with the direction of rotation reversed.
TIP! The home position can be set both with the zero pulse from the feedback system and using
a touch-probe signal, derived from digital input (I4 using Servo PLC and I2 using ECS). However, this is not standard practice for modes 4 and 5.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-48
Page 63
Cross Cutter
Features of the "Cross Cutter" prepared solution
Homing mode 6:
The drive rotates in a positive direction (clockwise rotation) until the homing switch's negative edge is detected. The next touch-probe signal at the assigned digital input determines the home position (machine zero point). If you do not wish the home position to be the zero point of the absolute measuring system used, you can use an offset value (machine zero distance, C3626/000) to set the home position to the zero point of the measuring system. Once homing is complete the drive will stop at position 0.000[s_units]:
Home position
g_dnMachineZeroDistance (C3626/000)
Homing speed
Homing switch
Control signal "Homing"
Touch-probe signal
Status signal "Home position detected”
1. Negative edge of homing switch
2. Touch-probe signal
Figure 14: Graph of homing mode 6
In the example illustrated above, the home position has a negative value with reference to the measuring system zero point, because once the touch-probe signal has been detected, the drive continues to move in a positive direction to a position 0.0000[s_units].
If you do not wish homing to end at the measuring system zero point, you can in addition preset an end position to come after homing (homing target position, C3627/000). This provides the requisite conditions for setting the measuring system zero point outside the drive's traversing range.
Homing mode 7:
(like homing mode 6 but with a negative traversing direction)
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-49
Page 64
Cross Cutter
Features of the "Cross Cutter" prepared solution
Homing mode 8:
The drive rotates in a positive direction (clockwise rotation) until a touch-probe signal is detected at the assigned digital input. This determines the home position (machine zero point). If you do not wish the home position to be the zero point of the absolute measuring system used, you can use an offset value (machine zero distance, C3626/000) to set the home position to the zero point of the measuring system. Once homing is complete the drive will stop at position 0.0000[s_units]:
Home position
Homing speed
g_dnMachineZeroDistance (C3626/000)
Control signal "Homing"
Zero pulse feedback
Touch-probe signal
Status signal "Home position detected”
Figure 15: Graph of homing mode 8
In the example illustrated above, the home position has a positive value with reference to the measuring system zero point, because once the zero pulse/touch-probe signal has been detected, the drive reverses and moves back to the measuring system zero point (0.0000[s_units]).
If you do not wish homing to end at the measuring system zero point, you can in addition preset an end position to come after homing (homing target position, C3627/000). This provides the requisite conditions for setting the measuring system zero point outside the drive's traversing range.
TIP!
If a value of 345° is written to C3626 (position of the homing switch) and 165° to C3627 (target position after homing), the drive will first move in a positive direction to the homing switch before reversing in order to position itself at the target position after homing (165°). To prevent the drive reversing, write a value of -15° to C3626 instead of 345° (the drive will then move in a positive direction to the homing switch before continuing in a positive direction to 165° (C3627)).
or
Touch-probe signal
Homing mode 9:
(like homing mode 8 but with a negative traversing direction)
TIP!
Instead of the touch-probe signal via digital input (I4 using Servo PLC and I2 using ECS), the zero pulse signal from the feedback system can also be used as the signal to determine the home position (however, this is not standard practice in modes 8 and 9).
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-50
Page 65
Features of the "Cross Cutter" prepared solution
TIP!
Set home position
The homing should always end at the basic position of the cross cutter. As a result, the cross cutter does not move during lock to cam operation. The basic position of the cross cutter, i.e. the position where the cross cutter starts and stops, is displayed in code C3694. This value can then be entered in code C3627 (target position of the tool after homing). The calculation of the basic position and further important aspects concerning the cross cutter motion profile are dealt with in chapter
The prepared solution cross cutter provides the option to set the home position. This function is for example required when absolute value encoders are used. Please proceed as follows to set the home position:
Inhibit the controller (CINH).
Align the cross cutter drum in such a way that the knife is in basic position (C3694). See
chapter
2.5.2 and pay special attention to Figure 2.
Cross Cutter
2.5.2.
Enter the basic position of the cross cutter, which is shown in C3694, in C3626.
Set the home position via the control interface C4135/000 bit 1. In order to do so the
After the home position is known (status interface C4150/000 bit 17) bit 1 of the control
As a result, the home position is saved to the non-volatile memory and will remain
Attention!
controller must be inhibited!
interface C4135/000 can be reset.
available even if a new download is performed.
Please note that the function ‘set home position’ can only be used in combination with absolute value encoder systems. Further information about absolute value encoders is provided in chapter
2.5.16.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-51
Page 66
Features of the "Cross Cutter" prepared solution
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bHomingStart BOOL
g_bHomingMark BOOL
g_bHomePositionSet BOOL
g_bHomePositionReset BOOL
g_dnMachineZeroDistance DINT Position of homing switch in [unit]
Cross Cutter
Start/stop homing, only in conjunction with controller enable. This value is written in code C4135/000 bit 0. This value is displayed in code C4136/000 bit 0. Positive edge from FALSE to TRUE Start homing. FALSE Stop/abort homing. Variable for homing switch; preliminary stop position TRUE Response in accordance with homing
mode set in C3010
FALSE Response in accordance with homing
mode set in C3010
Setting of home position
Only possible if controller inhibit (CINH) set!
This value is written in code C4135/000 bit 1. This value is displayed in code C4136/000 bit 1.
Positive edge from FALSE to TRUE = The setpoint defined in C3626 (position of homing switch) is applied and g_bHomingDone is set to TRUE. Reset home.
This value is written in code C4135/000 bit 2. This value is displayed in code C4136/000 bit 2.
TRUE = The g_bHomingDone output is reset to FALSE. The "Home position detected" status is reset (g_bHomingDone = FALSE).
The value is entered in fixed point format with 4 decimal positions (1 [unit] x 10000). The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnMachineZeroDistance_p! This value is displayed in code C3626/000; this variable can be written to this code.
g_dnMachineZeroDistance_p DINT Position of homing switch in [incr.]
g_dnHomingTargetPos DINT Target position of the tool once homing is complete in [unit]
g_dnHomingTargetPos_p DINT Target position of the tool once homing is complete in [incr.]
If you use this variable, to avoid inconsistencies, do not write variable g_dnMachineZeroDistance!
With reference to the machine zero point. The value is entered in fixed point format with 4 decimal positions (1 [unit] x 10000). The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnHomingTargetPos_p! This value is displayed in code C3627/000; this variable can be written to this code.
With reference to the machine zero point. If you use this variable, to avoid inconsistencies, do not write variable g_dnHomingTargetPos_p!
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-52
Page 67
Cross Cutter
Features of the "Cross Cutter" prepared solution
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_byHomingMode BYTE
Homing mode 0 >_Rn_MP 1 <_Rn_MP 4 >_Rp_<_Rn_MP 5 <_Rp_>_Rn_MP 6 >_Rn_>_TP 7 <_Rn_<_TP 8 >_TP 9 <_TP Symbols: > Movement in positive direction < Movement in negative direction Rp Positive edge of homing switch Rn Negative edge of homing switch TP Touch-probe edge of input I4 using Servo PLC MP Zero pulse edge of motor The execution of the last action in each case will set the home position (e.g. the zero pulse in the case of "MP") even if the drive continues to move subsequently.
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bHomingBusy BOOL
g_bHomingDone BOOL
g_bHomingError BOOL
g_nHomingErrorNo INT
"Homing activated" status signal This value is displayed in code C4150/000 bit 16. TRUE Homing active. FALSE Homing not active. "Home status" status signal This value is displayed in code C4150/000 bit 17. TRUE Homing complete, home position
FALSE Home position not detected (an encoder
"Error" status signal This value is displayed in code C4150/000 bit 18. TRUE An error occurred when setting the
FALSE No errors occurred when setting the
Error number 0 OK 13 Invalid value range 111 More than 4 decimal positions entered or no index with
fixed point format.
-10 Controller inhibit (CINH) not set.
detected.
error may have occurred).
home position.
See g_nHomingErrorNo for more detailed information about the error.
home position.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-53
Page 68
Cross Cutter
Features of the "Cross Cutter" prepared solution
C3010
C3624
/001
C3624
/002
C3624
/003
C3625
/001
C3625
/002 C3626 /000 C3627 /000
C4135/
000
Bit 0
C4135/
000
Bit 1
C4135/
000
Bit 2
Possible settings: Code Default Selection
0 0 {1} 9
5.00 0.01… {0.01[s]} ...129.99
5.00 0.01… {0.01[s]} ...129.99
5.00 0.01… {0.01[s]} ...129.99
200 0 ... {1 rpm}
200 0 ... {1 rpm}
0 0 {0.0001
[s_units]}
0 0 {0.0001
[s_units]}
0 0 {1} 1
0 0 {1} 1
0 0 {1} 1
...15000
...15000
214000.0000
214000.0000
Comment
Homing mode 0 >_Rn_MP 1 <_Rn_MP 4 >_Rp_<_Rn_MP 5 <_Rp_>_Rn_MP 6 >_Rn_>_TP 7 <_Rn_<_TP 8 >_TP 9 <_TP Symbols for code C3010: > Movement in positive direction < Movement in negative direction Rp Positive edge of homing switch Rn Negative edge of homing switch TP Touch-probe edge of input I4 using Servo PLC or I2 using ECS MP Zero pulse edge of motor (one per motor revolution) The execution of the last action in each case will set the home position (e.g. the zero pulse in the case of "MP") even if the drive continues to move subsequently. Deceleration ramp for immediate stop (function abort) for homing
Assuming 4000 rpm
Acceleration ramp for homing
Assuming 4000 rpm
Deceleration ramp for homing
Assuming 4000 rpm
Speed for homing in positive direction (CW)
Speed for homing in negative direction (CCW)
Entry indicating the position of the homing switch
Target position of tool following homing
Application control word bit 0: Start/stop homing, only in conjunction with controller enable.
FALSE => TRUE Start homing. FALSE Stop/abort homing. Application control word bit 1: Set home position.
FALSE => TRUE The setpoint defined in C3626 (position of
homing switch) is applied and
g_bHomingDone is set to TRUE. FALSE Home position not set. Application control word bit 2: Reset home position. TRUE The home position is reset. The
g_bHomingDone output is reset to FALSE.
The "Home position detected" status is reset. FALSE Home position not reset.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-54
Page 69
Cross Cutter
Features of the "Cross Cutter" prepared solution
Possible settings: Code Default Selection
C4150/
000
Bit 16
C4150/
000
Bit 17
C4150/
000
Bit 18
- - - -
- - - -
- - - -
Note! Tip for assigning the PLC's digital input to the homing switch:
In the prepared solution, digital input 3 is designated as the homing switch.
Comment
Application status word bit 16: Homing activated. TRUE Homing active. FALSE Homing not active. Application status word bit 17: Home position detected. TRUE Homing complete, home position detected. FALSE Home position not detected (an encoder error
may have occurred). Application status word bit 18: "Homing error" status signal. TRUE An error occurred when setting the home
position.
See g_nHomingErrorNo for more detailed
information about the error. FALSE No errors occurred when setting the home
position.
The signals are wired in the CrossCutterInterfaces PRG (network 3).
Instead of the touch-probe signal via digital input (I4 using Servo PLC and I2 using ECS), the zero pulse signal from the feedback system can also be used as the signal to determine the home position.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-55
Page 70
Cross Cutter
Features of the "Cross Cutter" prepared solution
Figure 16: Behaviour of the "homing" operating mode
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-56
Page 71
Features of the "Cross Cutter" prepared solution
2.5.7 Simple positioning
Users can use the Simple positioning mode to approach any position on the knife drum. Possible applications involving simple positioning on the cross cutter include approaching the knife change position or knife idle position. Four modes are available to the user for such applications:
Approach target position via shortest route
Approach target position clockwise
Approach target position counter clockwise
Relative positioning
The "Simple positioning" operating mode is not determined by the motion profile (cam) but follows linear ramps independently of the profile. In this operating mode, a master value entry and the cam function will have no effect on drive motion.
Cross Cutter
Figure 17: Signal characteristics for positioning
Figure 18: Control signals in "Positioning" mode
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-57
Page 72
Features of the "Cross Cutter" prepared solution
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bMotionStart BOOL
g_byPositioningModeCode BYTE
g_dnToolPositionSet DINT Target position in [unit]
g_dnToolPositionSet_p DINT Target position in [incr.]
Cross Cutter
Execute positioning. This value is written in code C4135/000 bit 5.
This value is displayed in code C4136/000 bit 5.
TRUE
FALSE
Positioning mode This value is written/displayed in C3629/000.
0 = Move to target position via shortest route. 1 = Move to target position only in positive direction (CW). 2 = Move to target position only in negative direction (CCW). 4 = Positioning relative to entry in g_dnToolPositionSet(_p).
With reference to the machine zero point. The value is entered in fixed point format with 4 decimal positions (1 [unit] = 10000). The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnToolPositionSet_p! This value is displayed in code C3628/000; this variable can be written to this code.
With reference to the machine zero point. If you use this variable, to avoid inconsistencies, do not write variable g_dnToolPositionSet!
The drive is moved to the target position g_dnToolPositionSet(_p) along the set ramps and at the set speed. Positioning interrupted.
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bToolPositioningBusy
g_bToolPositioningDone
BOOL
BOOL
WORD
"Positioning in progress" status signal This value is displayed in code C4150/000 bit 3. TRUE Positioning in progress. FALSE Positioning not in progress. "Target position reached" status signal This value is displayed in code C4150/000 bit 4. TRUE Target position g_dnToolPositionSet(_p)
FALSE Target position g_dnToolPositionSet(_p)
Status of positioning: g_wPosProfilerState 0 = NoAction 1 = PositioningDone Target position g_dnToolPositionSet(_p) reached. 13 = PositioningBusy Positioning in progress. 14 = PositioningToCamBusy Positioning to cam in progress. 102 = AbortIsActive Positioning aborted.
reached.
not reached.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-58
Page 73
C3620/
C3620/
002
C3620/
C3621/
C3621/
C3628/
C3629/
C4135/
C4150/
Bit 3
C4150/
Bit 4
Features of the "Cross Cutter" prepared solution
Possible settings: Code Default Selection
001
003
001
002
000
000
000
Bit 5
000
000
5.00 0.01… {0.01[s]} ...129.99
5.00 0.01… {0.01[s]} ...129.99
5.00 0.01… {0.01[s]} ...129.99
200 0 ... {1 rpm}
200 0 ... {1 rpm}
0.0000 0 {0.0001
0 0 {1} 4
0 0 {1} 1
- - - -
- - - -
[s_units]}
...15000
...15000
360.0000
Cross Cutter
Comment
Deceleration ramp for immediate stop Assuming 4000 rpm Acceleration ramp for positioning Assuming 4000 rpm Deceleration ramp for positioning Assuming 4000 rpm Speed for positioning in positive direction (CW)
Speed for positioning in negative direction (CCW)
Target position of positioning
Positioning mode 0 = Move to target position via shortest route. 1 = Move to target position only in positive direction (CW). 2 = Move to target position only in negative direction (CCW). 4 = Positioning relative to entry in g_dnToolPositionSet(_p). Application control word bit 5: Execute positioning.
TRUE The drive is moved to the target position along the
set ramps and at the set speed. FALSE Positioning interrupted. Application status word bit 3: Positioning in progress. TRUE Positioning in progress. FALSE Positioning not in progress. Application status word bit 4: Target position reached.
TRUE Target position reached. FALSE Target position not reached.
To illustrate the positioning function, a graph showing the signal characteristic of a positioning operation appears on the following page. The "StandBy", "Positioning" and "Trouble" states shown are displayed in code C3505 or global variable g_nTemplateState.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-59
Page 74
Cross Cutter
Features of the "Cross Cutter" prepared solution
Figure 19: Behaviour of the "Positioning" mode
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-60
Page 75
Features of the "Cross Cutter" prepared solution
2.5.8 Length-controlled or mark-controlled operation
The "Cross Cutter" prepared solution supports both length-controlled and mark-controlled operation.
Length-controlled operation:
Synchronous cross cutter:
Cross Cutter
In length-controlled operation on the synchronous cross cutter, motion profiles are calculated online in the target system calculated online in the target system and not in advance on a PC (e.g. using the CamDesigner software tool), the motion profile can be quickly adapted to meet the needs of the user. In rotary cross-cutter applications where (in theory) an infinite number of cutting lengths are possible in particular, the number of motion profiles required usually exceeds the number of motion profiles that can actually be saved (9300ET/ECS/SWP-CAM: maximum 48 motion profiles). In such cases, online calculation of cross-cutter motion profiles in the target system offers an alternative. The cross-cutter motion profile is created in two sections (synchronous phase and asynchronous phase) which are adapted on the basis of cutting length (see also Chapter
Asynchronous cross cutter:
In length-controlled operation on the asynchronous cross cutter, a maximum cutting length corresponding to the circumference of the cutting circle knife applies. This restriction is necessary to prevent the material to be cut jamming.
1
and this is the only calculation made. Because the profiles are
2.2.2).
Figure 20: Length-controlled operation of a cross-cutter application
1
No calculation in real time!
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-61
Page 76
Cross Cutter
Features of the "Cross Cutter" prepared solution
Mark-controlled operation:
In mark-controlled operation, mark control is implemented in addition to length control. Mark control compensates inaccuracies via touch-probe correction. This ensures that positions are corrected accordingly during operation. High-speed hardware signals ("touch probe") which determine the deviation between the set and actual position on an interrupt-specific basis in the ServoPLC are used for this purpose. An example application of mark control is illustrated in Figure 21. In this application, mark control is used to cut a defined length from the material being processed using print marks. In an application of this type, the length to be cut is sent to the system and the length calculation function converts this value into an appropriate motion profile. The print marks on the material to be processed are then used to correct the length calculation. As soon as the touch-probe sensor detects a print mark, it compares the position set accordingly with the actual position. In accordance with the deviation a signal is then generated with a positive or negative sign to compensate the prevailing path difference. Mark control can be used equally for the synchronous and asynchronous cross cutter. Mark correction is only activated in Continuous cutting mode.
LLL
Figure 21: Mark-controlled operation of a cross-cutter application
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-62
Page 77
Cross Cutter
g_
y_v
Features of the "Cross Cutter" prepared solution
2.5.9 Adjustable compensation speed for mark correction
There are two ways of compensating the detected path difference. Either a speed signal can be applied to the master speed directly to compensate the path difference or the detected path difference can be compensated by superimposing a positioning profile. When compensating the path difference please note that the path difference may not be compensated if the knife is cutting the material. If compensation is applied during this phase, the speed of the knife will no longer be synchronised with the material speed and this will damage the material. A function block interconnection has been implemented in the prepared solution accordingly to prevent this happening. Any mark correction in progress will be aborted as soon as the knife cuts into the material. Mark correction is only activated in Continuous cutting mode.
Mark-controlled operation with touch-probe synchronisation without ramp generator
:
The detected path difference is compensated with a fixed additional speed on the actual cam value (see
Figure 22 ). For this purpose, a fixed additional speed is applied to the master value until the path difference is compensated. At this point the additional speed is withdrawn. If the cross-cutter knife cuts into the material whilst mark correction is active, correction will be aborted by setting the speed to 0. This will prevent deviations in the synchronous speed during cutting. To activate mark-controlled operation with mark synchronisation but no ramp generator, bit 21 must be enabled in application control word code C4135/000 (g_bXTpEnable variable = TRUE) and bit 22 disabled (g_bRfgTPEnable variable = FALSE). The value of the fixed additional speed is written in code C3650/001 and transmitted to global variable g_nTPMakeUpLeeway_v (the signals are wired in the CrossCutterInterfaces PRG (network 6)). Bit 7 of application status code C4150/000 indicates that mark correction is active (g_bXTpSyncBusy variable = TRUE).
Master value
Compensation speed (fixed)
Master speed
nTPMakeUpLeewa
x touch-probe signal (I5)
Correction active g_bXTpSyncBusy
Figure 22: Graph illustrating mark control with touch-probe synchronisation but no ramp generator
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-63
Page 78
Cross Cutter
Features of the "Cross Cutter" prepared solution
Mark-controlled operation with mark synchronisation and ramp generator:
A positioning profile is superimposed to compensate the detected path difference (see
Figure 23 ). This prevents speed step changes in the master value signal during path difference compensation (such step changes are typical of mark correction without a ramp generator). A speed signal generated from the positioning profile is superimposed on the master value signal to compensate the path difference. The use of positioning profile ramps enables the compensation speed to be ramped up slowly and then back down at the end. To activate mark­controlled operation with mark synchronisation and ramp generator, bit 21 must be enabled in application control word code C4135/000 (g_bXTpEnable variable = TRUE) along with bit 22 (g_bRfgTPEnable variable = TRUE). A maximum possible correction speed can be written in code C3650/001 and a maximum negative correction speed in code C3650/002. The ramp times for the abort ramp, acceleration ramp and deceleration ramp can be written in codes C3649/001, C3649/002 and C3649/003 respectively. The abort ramp is used whenever the cross-cutter knife cuts into the material when mark correction is active. In such an instance, mark correction will be aborted with the time set in the abort ramp. This will prevent deviations in the synchronous speed during cutting. The abort ramp is controlled via global variable g_bRfgXTpExecute. This variable is always TRUE if the knife is not cutting the material. In such circumstances it will therefore be possible to compensate a detected position deviation. Bit 7 of application status code C4150/000 indicates that mark correction is active (g_bXTpSyncBusy variable = TRUE).
Master value
Master speed
x touch-probe signal (I5)
Correction active g_bXTpSyncBusy
Figure 23: Graph illustrating mark control with touch-probe synchronisation and ramp generator
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-64
Page 79
Features of the "Cross Cutter" prepared solution
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bXTpEnable BOOL
Cross Cutter
Enable print-mark synchronisation. This value is written in code C4135/000 bit 21.
This value is displayed in code C4136/000 bit 21.
TRUE Print-mark synchronisation enabled;
FALSE Print-mark synchronisation disabled;
g_bRfgXTpEnable
g_bRfgXTpExecute BOOL
g_dnMeasuredTPDistance DINT Distance measured from mark sensor to 6 o'clock position of knife in [unit]. This
g_dnMeasuredTPDistance_p DINT Distance measured from mark sensor to 6 o'clock position of knife in [incr.].
g_dnXTpPos DINT Distance from zero point to touch-probe sensor in [unit]
g_dnXTpPos_p DINT Distance from zero point to print-mark sensor in [incr.].
g_nXTpMakeUpLeeway_v INT Speed in [incr./ms] for correcting the detected position deviation.
g_bXTpReceived BOOL Trigger input for calculating position deviation. g_DFIN_dnIncLastScan_p DINT
BOOL
Enable ramp generator for print-mark synchronisation. This value is written in code C4135/000 bit 22.
This value is displayed in code C4136/000 bit 22.
TRUE Ramp generator for print-mark
FALSE Ramp generator for print-mark
Start/abort ramp generator for correcting position deviations. This global variable is used to abort active mark correction with a ramp generator if the knife is cutting into the material.
TRUE The detected position deviation
FALSE The ramp generator is not active, the
value is displayed in code C3668/000; this variable can be written to this code. The value is entered in fixed point format with 4 decimal positions (1 [unit] = 10000). The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnMeasuredTPDistance_p!
If you use this variable, to avoid inconsistencies, do not write variable g_dnMeasuredTPDistance!
The value for this global variable is calculated automatically! Internal limitation to 0 ... 2 * g_dnVertShaftLengthAct_p.
The value for this global variable is calculated automatically! If you use this variable, to avoid inconsistencies, do not write variable g_dnXTpPos!
Only relevant for correction without a ramp generator (g_bRfgXTpEnable = FALSE). This value is displayed in code C3650/001; this variable can be written to this code.
Δ inc between mark sensor signal and start of task. This global variable is linked directly to SB DFIN_IO_DigitalFrequency.
length-controlled operation disabled.
length-controlled operation enabled.
synchronisation enabled.
synchronisation disabled.
(g_dnXDifference_p) is corrected using the internal ramp generator.
detected position deviation is not corrected. If mark correction is active, it is stopped via the abort ramp.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-65
Page 80
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL ) Name Data type Value/Meaning
g_bXTpSyncBusy BOOL
"Mark correction in progress" status signal This value is displayed in code C4150/000 bit 7.
g_bKniveNotInMaterial BOOL
g_dnXDifference_p DINT Correction value of mark correction
g_dnXTpDifference_p DINT Difference between two print-mark signals
C3649/
001
C3649/
002
C3649/
003
C3650/
001
C3650/
002
C3668/
000
C4135/
000
Bit 21
C4135/
000
Bit 22
C4150/
000
Bit 7
C4150/
000
Bit 29
TRUE = Mark correction active, correcting position difference.
"Knife not in material" status signal This value is displayed in code C4150/000 bit 29.
TRUE = Knife is not in material. FALSE = Knife is in material.
This value is only valid if mark correction with a ramp generator has been selected (C4135/000 Bit 22 = TRUE, or g_bRfgXTpEnable = TRUE ).
This value is only valid if mark correction with a ramp generator has been selected (C4135/000 Bit 22 = TRUE, or g_bRfgXTpEnable = TRUE ).
Possible settings: Code Default Selection
0.100 0.000... {0.01[s]} ...129.99 Abort ramp for ramp generator: Assumes a speed of 4000
5.000 0.000... {0.01[s]} ...129.99 Acceleration ramp for ramp generator: Assumes a speed of
5.000 0.000... {0.01[s]} ...129.99 Deceleration ramp for ramp generator: Assumes a speed of
200 0 {1 rpm} 15000 Maximum positive correction speed for mark synchronisation
200 {1 rpm} 15000 Maximum negative correction speed for mark synchronisation
370.0000 0.0000 {1.0000 m_units}
0 0 {1} 1
0 0 {1} 1
- - - -
- - - -
214000.0000 Distance measured from mark sensor to 6 o'clock position of
Comment
rpm. Used if the knife cuts into the material whilst mark correction is in progress.
4000 rpm.
4000 rpm.
with a ramp generator and correction speed for mark synchronisation without a ramp generator.
with a ramp generator.
knife.
Application control word bit 21: Activate print-mark synchronisation.
TRUE Print-mark synchronisation activated. FALSE Print-mark synchronisation deactivated. Application control word bit 22: Activate ramp generator for print­mark synchronisation.
TRUE Ramp generator activated. FALSE Ramp generator deactivated. Application status word bit 7: Mark correction active. TRUE Mark correction active. FALSE Mark correction not active. Application status word bit 29: Knife is in material.
TRUE Knife in material. FALSE Knife not in material.
FALSE = Mark correction not active at this time.
Note! Digital input I5 on the Servo PLC or I1 on the ECS is permanently assigned to the print-
mark-sensor signal. The user needs to assign the print-mark-sensor signal to this input!
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-66
Page 81
Features of the "Cross Cutter" prepared solution
2.5.10 Mark window
It may be necessary to only evaluate certain mark signals. This will be the case if there are other marks on the material to be processed in addition to the print marks but these other marks will not generate a response (see provides a means of checking whether the print-mark signal received is located in a specific position window. The incoming print-mark signal must be located in this position window in order to be evaluated. The size of the position window is set by the user in code C3669/000 (g_dnTPPositionWindow variable). All print-mark signals outside this window are ignored (see Figure 25 and Figure 26). If there are no print-mark signals in this position window, a message will be generated and displayed in bit 26 of application status code C4150/000 (g_bMaxNumberOfTPOutOfWindowIncreased variable = TRUE). The user can set a limit indicating when a message should be generated (the user should write the value of this limit in code C3670/000 (g_wMaxNumberOfTpOutOfWindow variable)). This warning signal is reset automatically when the next valid mark signal appears within the position window. The mark window is only active when mark correction is selected. Mark sensor signals will be blocked when mark-controlled operation is deselected.
Cross Cutter
Figure 24). A mark window is defined for such scenarios. This
Print mark
Mark signals to be ignored
Figure 24: Example of an application in which mark windows are used
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-67
Page 82
Features of the "Cross Cutter" prepared solution
Mark signals to be ignored
Cross Cutter
Mark window
Mark sensor position calculated
Figure 25: Schematic representation illustrating how the mark window works
Master value
Mark window Mark window Mark window
No mark signals in window
Incoming mark signals
Evaluated mark signals
Mark window open
Figure 26: Schematic representation of signal generation
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-68
Page 83
Features of the "Cross Cutter" prepared solution
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bResetCounterTPOutOfWindow BOOL
g_DFIN_bTPReceived_b BOOL
g_DFIN_dnIncLastScan_p DINT
g_dnTPPositionWindow DINT Size of mark window in 0.0001[m_units].
g_dnTPPositionWindow_p DINT Size of mark window in [incr.].
g_wMaxNumberOfTpOutOfWindow WORD Number of cycles permitted with no mark signals appearing in the mark window. If
Cross Cutter
Variable to reset the counter for mark signals located outside the mark window.
TRUE Reset counter.
FALSE Do not reset counter.
Trigger input for calculating position deviation. This signal is use for incoming print-mark-sensor signals.
This global variable is linked directly to SB DFIN_IO_DigitalFrequency. Digital input I5 is assigned to the mark sensor!
Δ incr between mark sensor signal and start of task. This global variable is linked
directly to SB DFIN_IO_DigitalFrequency.
This value is displayed in code C3669/000; this variable can be written to this code. The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnTPPositionWindow_p!
If you use this variable, to avoid inconsistencies, do not write variable g_dnTPPositionWindow!
this number is exceeded, a warning signal will be generated. This value is displayed in code C3670/000; this variable can be written to this code.
Outputs (Variab le type: VAR_ GLOBAL) Name Data type Value/Meaning
g_bXTpReceived BOOL Output signal for mark correction. This output signal outputs all print-mark signals
g_bTpWindowOpen BOOL
g_bTPWindowActive BOOL
g_dnTPDistance_p DINT This output signal indicates the distance between two print marks in increments.
located inside the defined mark window. All other print-mark signals are not output.
This output indicates the time at which the window is open.
TRUE The mark window is open. Incoming mark signals are output at
g_bXTpReceived.
FALSE The mark window is closed. Incoming mark signals are not
output at g_bXTpReceived.
This output indicates that the mark window is active and the first print-mark signal has been received.
TRUE The mark window is active.
FALSE The mark window is not active. The first print mark has not yet
been detected.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-69
Page 84
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs (Variab le type: VAR_ GLOBAL) Name Data type Value/Meaning
g_bMaxNumberOfTPOutOfWindow Increased
g_wNumberOfTpOutOfWindow WORD Number of cycles completed without a mark signal appearing in the mark window.
BOOL
This output signal indicates that the maximum number of cycles completed without a mark signal appearing in the mark window has been exceeded.
This value is displayed in code C4150/000 bit 26.
TRUE The maximum number of cycles without a mark signal appearing
in the mark window has been reached.
FALSE The maximum number of cycles without a mark signal appearing
in the mark window has not been reached.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-70
Page 85
Cross Cutter
Features of the "Cross Cutter" prepared solution
Possible settings: Code Default Selection
C3669/
000
C3670/
000
C4150/
000
Bit 26
60.0000 0.0000... {0.0001 m_units}
1 0 ... {1} ... 65535
- - - -
... 214000.0000
The warning signals listed in the table below may occur during monitoring of the mark window. Each warning signal will remain pending until the next print-mark signal appears in the mark window. Warning signals can also be displayed via bit 26 of the application status word (C4150/000).
Comment
Size of mark window
Number of cycles permitted without a mark signal appearing in the mark window. A warning signal is generated if this number is exceeded. Application status word bit 26: This status signal indicates that the maximum number of cycles completed without a mark signal appearing in the mark window has been exceeded. TRUE The maximum number of cycles without a mark
FALSE The maximum number of cycles without a mark
signal appearing in the mark window has been reached.
signal appearing in the mark window has not been reached.
Each warning signal is generated in the specified network of the UserErrors block (POU).
Warning signals Number Text Global variable Network in
507 MaxNumberOfTPOutOfWin g_bMaxNumberOfTPOutOfWindowIncreased 8
UserErrors POU
Note! Digital input 5 on the Servo PLC or I1 on the ECS is permanently assigned to the print-
mark-sensor signal. The user needs to assign the print-mark-sensor signal to this input!
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-71
Page 86
Features of the "Cross Cutter" prepared solution
2.5.11 Manual X trimming
Manual X trimming allows the machine operator to shift the cutting position in a positive or negative direction. This is usually carried out during machine setting-up operation. The machine operator can move the cutting position by pressing two pushbuttons until the required format is reached (see status word. For trimming in a positive direction, bit 19 in application control code C4135/000 needs to be activated (g_bXAxisTrimmingPosDirection global variable = TRUE). For trimming in a negative direction, bit 20 in application control code C4135/000 needs to be activated (g_bXAxisTrimmingNegDirection global variable = TRUE). Code C3678/000 (g_nXAxisTrimmingFactor_v global variable) contains the inching speed value for trimming in a positive and negative direction. The acceleration ramp and the deceleration ramp for inching are specified in codes C3676/000 and C3677/000. Where long cutting lengths are concerned, we recommend performing X trimming by entering a value directly. Users can enter an absolute target position in code C3674/000 (g_dnSetXAxisTrimmingTPPos global variable). To enable the absolute positioning bit 25 in application control code C4135/000 needs to be activated (g_bLoadSetXAxisTrimmingTPPos global variable = TRUE). As soon as the value in the code changes, the new position will be approached. With Code C3671/000 (g_dnXAxisTrimmingTPPosOut global variable) the user can see the actual trimming position. The speed and ramp times for this positioning operation are set in codes C3673/1-2 and C3672/2-3 respectively. To work with manual X trimming, operation usually has to be activated via bit 18 in application control code C4135/000 ( g_bUseXPositionTrimming global variable = TRUE). When X trimming is activated, the value calculated for the distance between the mark sensor and the cam zero position is replaced by a value generated by X trimming. This means that X trimming can even be performed when mark correction is active. X trimming is only permitted in cutting operation.
Figure27). Two bits are available to the user for this operation in the application
Cross Cutter
Manual X trimming enables the user to make the cut at the right position.
Figure27: Representation of manual X trimming
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-72
Page 87
Master value
Inching speed
Inching positive
Cross Cutter
Features of the "Cross Cutter" prepared solution
Inching negative
X trimming activated
Figure 28: Schematic representation of signal generation for manual X trimming
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-73
Page 88
Features of the "Cross Cutter" prepared solution
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bUseXPositionTrimming BOOL
g_bXAxisTrimmingPosDirection BOOL
g_bXAxisTrimmingNegDirection BOOL
Cross Cutter
Activates X trimming and switches from the calculated mark sensor distance to the mark sensor distance specified by X trimming.
This value is written in code C4135/000 bit 18.
This value is displayed in code C4136/000 bit 18.
TRUE X trimming activated.
FALSE X trimming deactivated.
Key this input to perform X trimming in a positive direction at the set speed.
This value is written in code C4135/000 bit 19.
This value is displayed in code C4136/000 bit 19.
TRUE Perform X trimming in a positive direction.
FALSE Do not perform X trimming.
Key this input to perform X trimming in a positive direction at the set speed.
This value is written in code C4135/000 bit 20.
This value is displayed in code C4136/000 bit 20.
TRUE Perform X trimming in a negative direction.
FALSE Do not perform X trimming.
g_bLoadSetXAxisTrimmingTPPos BOOL
g_nXAxisTrimmingFactor_v INT Selection of the inching speed for X trimming in a positive and negative direction.
g_dnSetXAxisTrimmingTPPos DINT Target position of absolute positioning for X trimming in 0.0001[m_units].
g_dnSetXAxisTrimmingTPPos_p DINT Target position of absolute positioning for X trimming in [incr.].
Perform absolute positioning at the set speed.
This value is written in code C4135/000 bit 25.
This value is displayed in code C4136/000 bit 25.
TRUE Perform absolute positioning in accordance with the value of
variable g_dnSetXAxisTrimmingTPPos.
FALSE Abort absolute positioning.
This value is displayed in code C3678/000; this variable can be written to this code.
This value is displayed in code C3674/000; this variable can be written to this code. The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnSetXAxisTrimmingTPPos_p!
If you use this variable, to avoid inconsistencies, do not write variable g_dnSetXAxisTrimmingTPPos!
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-74
Page 89
Cross Cutter
Features of the "Cross Cutter" prepared solution
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_dnXAxisTrimmingTPPosOut DINT Displays the actual X trimming position in 0.0001[m_units]. This output indicates the
g_nXAxisVelTrimmingFactor_v INT This variable contains the speed value generated for X trimming. It is added to the
Inputs/Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_dnXAxisTrimmingTPPosOut_p DINT
Possible settings: Code Default Selection
C3671/
000
C3672/
002
C3672/
003
C3673/
001
C3673/
002
C3674/
000
C3676/
000
C3677/
000
C3678/
000
C4135/
000
Bit 18
C4135/
000
Bit 19
C4135/
000
Bit 20
C4150/
000
Bit 30
- - -
20.0000 0.0100... {0.01 s} ... 130.0000
20.0000 0.0100... {0.01 s} ... 130.0000
200.0000 0 ... {1 rpm} ...15000
200.0000 0 ... {1 rpm} ...15000
0.0000 -214748.0000... {0.0001 m_units}
10.000 0.000... {0.001 s} ... 999.999
10.000 0.000... {0.001 s} ... 999.999
0 0 ... {1 rpm} ...15000
0 0 {1} 1
0 0 {1} 1
0 0 {1} 1
- - - -
mark sensor distance set by X trimming. Whenever X trimming is active, this value will serve as the mark sensor distance for mark correction.
This value is displayed in code C3671/000.
DFIN signal in order to effect an immediate change in the position value when using X trimming.
This input/output indicates the mark sensor distance set by X trimming. Whenever X trimming is active, this value will serve as the mark sensor distance for mark correction. The variable is a retain variable (this means that once an X trimming value has been calculated, it will remain accessible even after mains switching).
Comment
-
Display code: X trimming outputvalue scaled in 1.0000 m_units
Acceleration ramp time for position trimming
Deceleration ramp time for position trimming
Speed for position trimming in a positive direction
Speed for position trimming in a negative direction
... 214748.0000
Selection of the absolute target trimming position
Acceleration ramp time for inching trimming
Deceleration ramp time for inching trimming
Selection of the inching speed
Application control word 18: Activates X trimming and switches from the calculated mark sensor distance to the mark sensor distance specified by X trimming.
TRUE X trimming activated. FALSE X trimming deactivated. Application control word bit 19: Key this bit to perform X trimming in a positive direction at the set speed.
TRUE Perform X trimming in a positive direction. FALSE Do not perform X trimming. Application control word bit 20: Key this bit to perform X trimming in a negative direction at the set speed.
TRUE Perform X trimming in a negative direction. FALSE Do not perform X trimming. Application status word bit 30: X position trimming is complete and the target position has been reached.
TRUE The target position has been reached. Positioning is
FALSE
complete.
The target position has not been reached. Positioning is not complete.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-75
Page 90
Cross Cutter
Features of the "Cross Cutter" prepared solution
Calculating and setting acceleration and deceleration times when using inching trimming
(g_bXAxisTrimmingPosDirection and g_bXAxisTrimmingNegDirection)
The acceleration and deceleration times relate to a change in the output value from 0 to 100% (100% = 16384). The times to be set for the acceleration time Tir and the deceleration time Tif can be calculated using the following formulae:
tTonaccelerati
irir
tTondecelerati
ifif
Following calculation, you will need to enter the values T (C3676/000 = acceleration time T
Figure29: Graph for calculating acceleration and deceleration times when using inching trimming
%100
=
=
12
ww
%100
ww
12
; C3677/000 = deceleration time Tif).
ir
ir and Tif in the corresponding codes
Example: The inching speed is to be 50 rpm. This speed value needs to be reached within 1 sec. This results in the following values for T
%100
=
tTonaccelerati
irir
tTondecelerati
ifif
Note!
Calculating and setting acceleration and deceleration times when using position
100% corresponds to the value entered in code C0011/000. In the example calculation, a value of 15,000 rpm has been assumed.
trimming (C3674/000 = Selection of the absolute target trimming position)
The acceleration and deceleration times relate to 4000 rpm. The times to be set for the acceleration time T formulae:
and the deceleration time Tif can be calculated using the following
ir
ww
%100
=
ww
sec1
12
sec1
12
and Tif when the formula below is applied:
ir
15000
=
15000
=
=
050
050
sec300
=
sec300
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-76
Page 91
Cross Cutter
Features of the "Cross Cutter" prepared solution
4000
4000
rpm
001/3673
rpm
002/3673
=
tTonaccelerati
irir
C
=
tTondecelerati
ifif
C
Following calculation, you will need to enter the values T code (C3672/002 = acceleration time T
Example: The forward and return speeds are to be 200 rpm. Each speed value needs to be reached within 1 sec. This results in the following values for T is applied:
4000
4000
rpm
001/3673
rpm
002/3673
tT
irir
C
tT
ifif
C
4000
sec1
200
4000
sec1
; C3672/003 = deceleration time Tif respectively).
ir
rpm
sec20
===
rpm
200
rpm
rpm
sec20
===
ir and Tif in the specially designated
and Tif when the formula below
ir
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-77
Page 92
Features of the "Cross Cutter" prepared solution
2.5.12 Reject gate control
A reject gate can be used to divert material to a different material flow direction in order, for example, to collect rejects in a waste container. The reject gate can be controlled using a digital signal. The signal is output dependent on the line speed (to ensure that the reject gate opens at an appropriate speed in relation to the prevailing line speed, see solution, this signal is both permanently linked to digital output 3 (DIGOUT_bOut3_b) using 9300 Servo PLC or digital output 1 (DIGOUT_bOut1_b)using ECS and linked to bit 25 of application status code C4150/000 (g_bOpenRejectGate global variable). The reject gate should open as soon as this signal becomes active (g_bOpenRejectGate global variable = TRUE). Delays in the opening or closing of the reject gate can be compensated by entering a switching delay time (C3680/000). The distance between the reject gate and the cross cutter is defined in code C3679/000 (see block and one good material block in the space between the knife drum and the reject gate (see Figure 32). Reject gate control is always activated automatically whenever the cross cutter switches to reject operation. This is done in code C4137/000 by selecting operating mode 2 for reject operation (g_wProfileSelector global variable = 2).
Cross Cutter
Figure 31). In the prepared
Figure 30). There must only ever be up to one reject material
Distance from reject gate to knife drum
Line speed
Figure 30: Representation of reject gate control
Reject
Reject container
Reject gate with defined switching delay time
Good material
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-78
Page 93
Position
Operating mode Reject
Opening of reject gate
Cross Cutter
Features of the "Cross Cutter" prepared solution
Length of reject material
Distance from reject gate to knife
Selection of Reject operation mode
Reselection of operating mode, reject operation remains idle!
Master
Figure 31: Schematic representation of signal generation for reject gate control
Reject gate control will support this type of
Good material = Green Reject material = Red
Reject gate control will support this type of
Good material = Green Reject material = Red
Reject gate control will not support this type of material flow!
Good material = Green Reject material = Red
Figure 32: Material flows supported by the reject gate
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-79
Page 94
Features of the "Cross Cutter" prepared solution
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_wRejectGateSwitchingDwelltime WORD Selection of the switching dwell time (switching delay time) of the reject gate in ms.
Cross Cutter
This value is displayed in code C3680/000; this variable can be written to this code.
g_dnDistanceRejectGate DINT Selection of the distance from the reject gate to the cutting position in
g_dnDistanceRejectGate_p DINT Selection of the distance from the reject gate to the cutting position in [incr.].
0.0001[m_units].
This value is displayed in code C3679/000; this variable can be written to this code. The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnDistanceRejectGate_p!
If you use this variable, to avoid inconsistencies, do not write variable g_dnDistanceRejectGate!
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bOpenRejectGate BOOL
This output is used to control the reject gate.
This value is displayed in code C4150/000 bit 25. The variable is permanently linked to digital output 3 using 9300 Servo PLC or digital output 1 using ECS.
TRUE Open the reject gate.
FALSE Do not open the reject gate.
C3679/
000
C3680/
000
C4150/
000
Bit 25
Possible settings: Code Default Selection
0.0000 0.0000... {0.0001 m_units}
0 0 ... {1 ms} ... 65535
- - - -
... 214000.0000
Comment
Distance from reject gate to cutting position
Switching dwell time (switching delay time) of reject gate
Application status word bit 25: Control of reject gate
TRUE Open the reject gate. FALSE Do not open the reject gate.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-80
Page 95
Features of the "Cross Cutter" prepared solution
2.5.13 Calculating the print-mark-sensor distance
In order to be able to use mark correction, you need to define the exact distance between the mark sensor and the curve zero of the x axis. As illustrated previously in Chapter curve zero does not line up with the six o'clock position of the knife. This makes it very difficult to measure the distance between the print-mark sensor and the profile zero crossing. In order to make it easier for the user to determine the print-mark-sensor distance, this is calculated internally. The user simply has to tell the system the distance between the print-mark sensor and the six o'clock position on the knife by entering this value in code C3668/000. The value calculated for the distance between the print-mark sensor and the profile zero crossing is written automatically to global variable g_dnXTpPos.
Cross Cutter
2.2.2, the
Diameter D
Cutting length Δs
Knife drum
Cutting angle φ
Knife
Distance from TP sensor to 6 o'clock position on the knife Δl
Figure 33: Calculation of the mark sensor distance
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-81
Page 96
Cross Cutter
Features of the "Cross Cutter" prepared solution
Position characteristic
Asynchronous range
Asynchronous range
Cutting angle φ
6 o'clock position on the knife
Synchronous range
Cutting length - asynchronous range
Figure 34: Graph showing how the mark sensor distance is calculated
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-82
Page 97
Features of the "Cross Cutter" prepared solution
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_dnMeasuredTPDistance DINT Distance measured from TP sensor to 6 o'clock position on the knife drum. The
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bUseShiftedTP BOOL
g_nNumberOfKnifes INT Number of knives mounted on the knife drum.
g_dnXTpPos DINT Print-mark-sensor position calculated. A modulo arithmetic operation is used to
g_dnXTpPos_p DINT Print-mark-sensor position calculated. A modulo arithmetic operation is used to
g_dnMultipleTPDistance DINT Calculated value indicating the distance of the print-mark sensor in integer multiples
g_dnMultipleTPDistance_p DINT Calculated value indicating the distance of the print-mark sensor in integer multiples
Cross Cutter
value is entered in 0.0001[m_units].
This value is displayed in code C3668/000; this variable can be written to this code.
Use of the print-mark register.
This value is displayed in code C4150/000 bit 28.
TRUE The print-mark register needs to be used.
FALSE The print-mark register does not need to be used.
This value is displayed in code C3690/000.
adjust this value by multiples of the cutting length so that a virtual touch-probe­sensor position can be calculated as close as possible to the knife. The value is scaled in 0.0001[m_units]. The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnXTpPos_p!
adjust this value by multiples of the cutting length so that a virtual touch-probe­sensor position can be calculated as close as possible to the knife. The value is scaled in [incr.]. The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnXTpPos!
of the cutting length. The value is scaled in 0.0001[m_units]. You will need this value if you are using a print-mark register. The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_dnMultipleTPDistance_p!
of the cutting length. The value is scaled in 1[incr.]. You will need this value if you are using a print-mark register. If you use this variable, to avoid inconsistencies, do not write variable g_dnMultipleTPDistance!
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-83
Page 98
C3668/
C3690/
C4150/
Bit 28
Features of the "Cross Cutter" prepared solution
Possible settings: Code Default Selection
370.0000 0.0000... {0.0001
000
- - - -
000
- - - -
000
m_units}
... 214000.0000
Cross Cutter
Comment
Distance measured from TP sensor to 6 o'clock position on the knife drum.
Number of knives mounted on the knife drum.
Up to 6 knives can be mounted on the cross-cutter drum. Application status word bit 28: Use of the print-mark register. TRUE Use the print-mark register. FALSE Do not use the print-mark register.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-84
Page 99
Features of the "Cross Cutter" prepared solution
2.5.14 Print-mark register
A print-mark register enables the user to mount the print-mark sensor further away from the knife. As soon as the distance between the location of the print-mark sensor and the end of the cut (X to make sure that the cut is always corrected to the right print-mark signal. However, the aim should be to mount the print-mark sensor as close as possible to the knife. The greater the distance between the print-mark sensor and the knife, the more changes in the material flow will go unnoticed, leading to cutting inaccuracies. Up to 16 print-mark signals can be managed in the print-mark register; these are then made available to the system at the relevant time as necessary (i.e. they are delayed by a corresponding value). The print-mark register is activated automatically by the prepared solution and receives all necessary information via internal signals. The user does not need to enter any values.
value of profile) exceeds the cutting length, the print-mark register will need to be used
max
Cross Cutter
Cutting length Δs
The distance from the TP sensor to the 6 o'clock position on the knife Δl
is greater than the cutting length Δs.
Figure 35: Using the print-mark register
Figure 35 shows that a print-mark register is always used whenever the distance from the print­mark sensor to the cross-cutter knife is greater than the set cutting length.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-85
Page 100
Incoming print-mark signals
Outgoing print-mark signals
Cross Cutter
Features of the "Cross Cutter" prepared solution
Cutting length Δs Cutting length Δs Cutting length Δs
Delay value Delay value Delay value Delay value
Figure 36: Graph of the print-mark register
Variable names
Inputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bUseShiftedTP BOOL
g_dnMultipleTPDistance DINT Calculated value indicating the distance of the print-mark sensor in integer multiples
g_dnMultipleTPDistance_p DINT Calculated value indicating the distance of the print-mark sensor in integer multiples
Use of the print-mark register.
This value is displayed in code C4150/000 bit 28.
TRUE The print-mark register needs to be used.
FALSE The print-mark register does not need to be used.
of the cutting length. The value is scaled in 0.0001[m_units]. The print-mark signal is delayed by this value.
The value is converted into increments internally. If you use this variable, to avoid inconsistencies, do not write variable g_nMultipleTPDistance_p!
of the cutting length. The value is scaled in 1[incr.]. The print-mark signal is delayed by this value.
If you use this variable, to avoid inconsistencies, do not write variable g_dnMultipleTPDistance!
Outputs Global variables (Variable type: VAR_GLOBAL) Name Data type Value/Meaning
g_bOverflowTPRegister BOOL
This output indicates a print-mark register overflow.
TRUE Print-mark register overflow.
FALSE No print-mark register overflow.
C4150/
000
Bit 28
Possible settings: Code Default Selection
- - - -
Comment
Application status word bit 28: Use of the print-mark register. TRUE Use the print-mark register. FALSE Do not use the print-mark register.
Prepared Solution Servo PLC / ECSxA 1.1 EN 2-86
Loading...