Manual MCD SIMIT Model For CylinderPositioning V1 0 0
Manual MCD SIMIT Model For CylinderPositioning V1 0 0
cylinder positioning
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG ("Siemens"). They are
non-binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens AG 2020 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with Industrial Security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.
Table of contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 SIMATIC Print Standard Add-On Cylinder Positioning ........................ 4
1.3 Components used ................................................................................ 5
2 Software setup ................................................................................................... 6
2.1 TIA Portal ............................................................................................. 6
2.2 SIMIT .................................................................................................... 6
2.2.1 Structure of the SIMIT project .............................................................. 6
2.2.2 Updating MCD coupling ....................................................................... 8
2.3 Mechatronics Concept Designer (MCD) .............................................. 9
2.3.1 Overview............................................................................................... 9
2.3.2 Physic elements for printing and anilox cylinder ................................ 10
2.3.3 Changing mechanical properties of the printing unit .......................... 11
3 Operating the digital twin................................................................................ 13
3.1 Starting the simulation ........................................................................ 13
3.2 Controlling the simulation ................................................................... 13
3.2.1 Homing ............................................................................................... 13
3.2.2 Controlling printing positions .............................................................. 16
3.2.3 Contact pressure simulation ............................................................... 17
© Siemens AG 2020 All rights reserved
4 Appendix .......................................................................................................... 19
4.1 Service and support ........................................................................... 19
4.2 Application support ............................................................................. 20
4.3 Links and literature ............................................................................. 20
4.4 Change documentation ...................................................................... 20
1 Introduction
This application example allows you to simulate SIMATIC Print Standard Add-On
Cylinder Positioning using PLCSIM Advanced, SIMIT and NX Mechatronics
Concept Designer (MCD). Therefore, the MCD Model consists of one flexographic
printing unit and simulates it's kinematics. Furthermore, a SIMIT Model is provided
to simulate the behavior model for this machine setup and PLCSIM Advanced is
used to emulate a SIMATIC S7-1500 controller. The PLCSIM Advanced instance
runs the corresponding example project for SIMATIC Print Standard Add-On
Cylinder Positioning. This setup allows a virtual commissioning on the digital twin.
1.1 Overview
The purpose of the simulation is the test and validation of the TIA application.
Therefore, following topics are implemented and will be explained in this document:
• Axis simulation for cylinder positioning axes
• Speed control for rotatory movement of printing cylinders
• Simulation of disturbance force to enforce an alignment error
• Simplified simulation of contact pressure
• Remove and install printing and anilox cylinders during simulation (e.g. for
homing)
• Flexible mechanic: adjustable geometry of printing unit
© Siemens AG 2020 All rights reserved
Limitations
This application example does not provide information on the following topics:
• Basics of SIMIT:
https://support.industry.siemens.com/cs/ww/en/view/109772278
• Basics of NX MCD:
https://www.plm.automation.siemens.com/global/en/support/docs.html
2 Software setup
2.1 TIA Portal
The example application is made for one realistic printing unit. Four Axis TOs are
implemented and connected to drives from the hardware configuration:
• Printing Cylinder OS and DS
• Anilox Cylinder OS and DS
None of the TOs are put to simulation mode. Therefore, this TOs require correct
feedback from real drives or an external simulation model.
The mechanic properties of the simulated printing unit like radius of cylinders and
rectangular distance between the cylinders are applied in the TIA project in FC
"CylPos_CylHandlerSetting" and OB "PrintStd_StartUp". If the mechanic in MCD is
changed, those FC and OB need to be adopted, too!
The application can be controlled by using the watch table "CylPos_Control".
Additional information about the TIA application can be found in the manual for
SIMATIC Print Standard Add-On Cylinder Positioning.
2.2 SIMIT
The SIMIT simulation software maps the behavior of active components (e.g. of
© Siemens AG 2020 All rights reserved
drives or valves). In SIMIT, you can simulate error scenarios to analyze the
behavior of the machine in a virtual space.
Mechanics
From SIMIT you can remove and install the cylinders in the MCD simulation. This is
necessary whenever the OS and DS side needs to be moved separately, e.g. for
homing. Furthermore, a rotatory movement for the printing cylinders is calculated in
SIMIT and can be adjusted using a slider. In order to test the alignment observation
of the cylinder positioning application, you can apply a disturbance force to the four
positioning axes.
1
© Siemens AG 2020 All rights reserved
2 3
SimulateContactPressure
In the cylinder positioning application, the contact pressure between IC and PC
and between AX and PC can be adjusted by moving the cylinders into the elastic
printing plate. To recognize these effects also in the simulation, a linear torque
depending on the distance of those cylinders is added to the actual torque of the
positioning axes. This is a simplified simulation of the contact pressure and does
not provide any predictions regarding the printing process!
PROFIdrive
For all four positioning axes, the corresponding PROFIdrive telegrams are
simulated in SIMIT. This includes the PROFIdrive Telegram 105 and 750. For the
homing process, a logic for driving on fixed end stop is implemented in these SIMIT
charts.
The MCD coupling is linked to the MCD project using the absolute path of the NX
MCD files. If the model has been moved to another path, the MCD coupling must
be updated manually. In this case please select “Link to external file” and choose
the part file “_PrintingUnit1.prt” from the unzipped download. Make sure that the
checkbox “Bus synchronous” is set for time slice 2.
Figure 2-5 Link MCD coupling in SIMIT to NX MCD main assembly file
2.3.1 Overview
In the MCD project, one printing unit is modeled. The mechanics are described in
Figure 2-6. Figure 2-7 shows the implemented physic objects for one printing unit.
NOTE The signal adapter IntSA is prepared to move the gantry if the MCD model is
used without a SIMIT simulation. Take care of deactivating this signal adapter
when you simulate with SIMIT!
© Siemens AG 2020 All rights reserved
5
7
4
5
6
© Siemens AG 2020 All rights reserved
An overview of the used physical elements for the printing and anilox cylinder can
be seen in Figure 2-9.
In a printing unit, it is necessary to remove the cylinders, e.g. to move the OS and
DS side separately. When the cylinders are installed again in the printing unit, the
linear guiding may have a different position. To model that in the simulation, a
runtime behavior has been created. This runtime behavior is controlled by a signal
in MCD. Depending on that signal, the cylinders are removed or installed. To
remove one cylinder, the runtime behavior disables all rigid and collision bodies as
well as collision sensors of the cylinder. After that, the cylinder will be hidden and
both sides from the guiding can be moved separately. To install the cylinder again,
first the rigid bodies of the cylinder is moved to the new position of the linear
guiding. Then all rigid and collision bodies, as well as collision sensors, are
activated and the cylinder will be shown. On example is shown in Figure 2-8.
Figure 2-8 Disassembly and assembly of the anilox cylinder
(1) Removing anilox cylinder
(2) Moving linear guiding to the left
(3) Installing anilox cylinder at new position
1 2 3
3
© Siemens AG 2020 All rights reserved
A printing unit can be used with different printing cylinders for different printing
formats. Furthermore, the model should allow a flexible simulation with different
mechanical setups. Therefore, the MCD model can be changed easily using
expressions. Table 2-1 shows the prepared parameters.
2
3
3 1 2
NOTE Changing the mechanics in NX MCD is not possible during simulation! If you are
running your simulation via SIMIT and you want to change the mechanical
properties of the MCD model, you need to stop the simulation in SIMIT. After
that, open the NX MCD files in NX, change the mechanics, save the data and
start the simulation again!
3.2.1 Homing
2 If you want to see the instance of your virtual PLC, please additionally start PLCSIM Advanced
3 The simulation in NX MCD is automatically activated
2. If the absolute
encoders are not
homed yet, crash
errors may be active
(1) and error messages
for the axes indicate
that the axes are not
referenced (2).
1
© Siemens AG 2020 All rights reserved
Screenshots Description
4. The axis will first move
to the fixed end stop
and will return to the
final position after
homing.
After homing, all
CrashErrors are gone.
The error message of
all axes is still
alignment error (1).
This message must be
quit by using the
modes for alignment
1
correction. Modify
In.Mode with the
values 17 and 18 for
alignment correction
(2).
5. The error messages for
all axes indicate
MotionIn is not active
(1) and the collective
error bit is false (2).
© Siemens AG 2020 All rights reserved
Table 3-2 shows the sequence for going through the different printing positions.
2. Go to passive position:
Change In.Mode to 7
(1).
© Siemens AG 2020 All rights reserved
Screenshots Description
3. Go to print position:
Change In.Mode to 8
(1).
Furthermore, the
output
Out.FastMode.
PrintOffDone = TRUE.
Because Out.Mode.
PrintPosDone = TRUE,
now FastModes can be
chosen!
4. The precondition for
© Siemens AG 2020 All rights reserved
e.g. Inking:
In.FastMode = 3.
1 2
© Siemens AG 2020 All rights reserved
4 Appendix
4.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
support.industry.siemens.com
Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts. Please send queries
to Technical Support via Web form:
www.siemens.com/industry/supportrequest
© Siemens AG 2020 All rights reserved
Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
support.industry.siemens.com/cs/sc
https://support.industry.siemens.com/cs/de/de/view/109762435.
\4\ Basics of TIA Portal configuration
https://support.industry.siemens.com/cs/ww/en/view/109764516
\5\ Basics of SIMIT:
https://support.industry.siemens.com/cs/ww/en/view/109772278
\6\ Basics of NX MCD:
https://www.plm.automation.siemens.com/global/en/support/docs.html
\7\ Basics of Virtual Commissioning
https://support.industry.siemens.com/cs/ww/en/view/109758943