Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
EIO0000001690 04/2014
Hoisting
User Guide for Industrial Crane ATV
IMC Project Template
04/2014
EIO0000001690.01
www.schneider-electric.com
The information provided in this documentation contains general descriptions and/or technical
characteristics of the performance of the products contained herein. This documentation is not
intended as a substitute for and is not to be used for determining suitability or reliability of these
products for specific user applications. It is the duty of any such user or integrator to perform the
appropriate and complete risk analysis, evaluation and testing of the products with respect to the
relevant specific application or use thereof. Neither Schneider Electric nor any of its affiliates or
subsidiaries shall be responsible or liable for misuse of the information contained herein. If you
have any suggestions for improvements or amendments or have found errors in this publication,
please notify us.
No part of this document may be reproduced in any form or by any means, electronic or
mechanical, including photocopying, without express written permission of Schneider Electric.
All pertinent state, regional, and local safety regulations must be observed when installing and
using this product. For reasons of safety and to help ensure compliance with documented system
data, only the manufacturer should perform repairs to components.
When devices are used for applications with technical safety requirements, the relevant
instructions must be followed.
Failure to use Schneider Electric software or approved software with our hardware products may
result in injury, harm, or improper operating results.
Failure to observe this information can result in injury or equipment damage.
2014 Schneider Electric. All rights reserved.
2 EIO0000001690 04/2014
Table of Contents
Safety Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
About the Book. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1 Industrial Crane Application Template. . . . . . . . . . . . . 11
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Architecture and Application Template Certification in Regard to
EN 13849-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 2 Industrial Crane Architecture and Environment . . . . . 17
Hardware Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Hoisting Application System Requirements. . . . . . . . . . . . . . . . . . . . . 21
Chapter 3 SoMachine - Device Configuration . . . . . . . . . . . . . . . . 23
Library Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Task Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Global and Persistent Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Embedded IOs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Drive IOs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Hoist Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
CANopen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Chapter 4 Drive Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Hoisting Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Drives for Horizontal Axes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Chapter 5 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5.1 Crane Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Application_MastTask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Hoisting_Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Trolley_Axis and Translation_Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5.2 Extended Display Management. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Custom Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
POUs for Extended Display Management . . . . . . . . . . . . . . . . . . . . . 57
Display Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
EIO0000001690 04/2014 3
4 EIO0000001690 04/2014
Safety Information
Important Information
NOTICE
Read these instructions carefully, and look at the equipment to become familiar with the device
before trying to install, operate, or maintain it. The following special messages may appear
throughout this documentation or on the equipment to warn of potential hazards or to call attention
to information that clarifies or simplifies a procedure.
EIO0000001690 04/2014 5
PLEASE NOTE
Electrical equipment should be installed, operated, serviced, and maintained only by qualified
personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of
the use of this material.
A qualified person is one who has skills and knowledge related to the construction and operation
of electrical equipment and its installation, and has received safety training to recognize and avoid
the hazards involved.
WARNING
UNGUARDED EQUIPMENT
z Do not use this software and related automation equipment on equipment which does not have
point-of-operation protection.
z Do not reach into machinery during operation.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
This automation equipment and related software is used to control a variety of industrial processes.
The type or model of automation equipment suitable for each application will vary depending on
factors such as the control function required, degree of protection required, production methods,
unusual conditions, government regulations, etc. In some applications, more than one processor
may be required, as when backup redundancy is needed.
Only you, the user, machine builder or system integrator can be aware of all the conditions and
factors present during setup, operation, and maintenance of the machine and, therefore, can
determine the automation equipment and the related safeties and interlocks which can be properly
used. When selecting automation and control equipment and related software for a particular
application, you should refer to the applicable local and national standards and regulations. The
National Safety Councils Accident Prevention Manual (nationally recognized in the United States
of America) also provides much useful information.
In some applications, such as packaging machinery, additional operator protection such as point-
of-operation guarding must be provided. This is necessary if the operators hands and other parts
of the body are free to enter the pinch points or other hazardous areas and serious injury can occur.
Software products alone cannot protect an operator from injury. For this reason the software
cannot be substituted for or take the place of point-of-operation protection.
6 EIO0000001690 04/2014
Ensure that appropriate safeties and mechanical/electrical interlocks related to point-of-operation
protection have been installed and are operational before placing the equipment into service. All
interlocks and safeties related to point-of-operation protection must be coordinated with the related
automation equipment and software programming.
NOTE: Coordination of safeties and mechanical/electrical interlocks for point-of-operation
protection is outside the scope of the Function Block Library, System User Guide, or other
implementation referenced in this documentation.
CAUTION
EQUIPMENT OPERATION HAZARD
z Verify that all installation and set up procedures have been completed.
z Before operational tests are performed, remove all blocks or other temporary holding means
used for shipment from all component devices.
z Remove tools, meters, and debris from equipment.
Failure to follow these instructions can result in injury or equipment damage.
Follow all start-up tests recommended in the equipment documentation. Store all equipment
documentation for future references.
Software testing must be done in both simulated and real environments.
Verify that the completed system is free from all short circuits and temporary grounds that are not
installed according to local regulations (according to the National Electrical Code in the U.S.A, for
instance). If high-potential voltage testing is necessary, follow recommendations in equipment
documentation to prevent accidental equipment damage.
Before energizing equipment:
z Remove tools, meters, and debris from equipment.
z Close the equipment enclosure door.
z Remove all temporary grounds from incoming power lines.
z Perform all start-up tests recommended by the manufacturer.
EIO0000001690 04/2014 7
OPERATION AND ADJUSTMENTS
The following precautions are from the NEMA Standards Publication ICS 7.1-1995 (English
version prevails):
z Regardless of the care exercised in the design and manufacture of equipment or in the selection
and ratings of components, there are hazards that can be encountered if such equipment is
improperly operated.
z It is sometimes possible to misadjust the equipment and thus produce unsatisfactory or unsafe
operation. Always use the manufacturers instructions as a guide for functional adjustments.
Personnel who have access to these adjustments should be familiar with the equipment
manufacturers instructions and the machinery used with the electrical equipment.
z Only those operational adjustments actually required by the operator should be accessible to
the operator. Access to other controls should be restricted to prevent unauthorized changes in
operating characteristics.
8 EIO0000001690 04/2014
About the Book
At a Glance
Document Scope
This document describes an application template to be used in Altivar ATV IMC Drive Controller
for the industrial crane applications.
Validity Note
This document has been updated with the release of SoMachine V4.1.
Related Documents
You can download these technical publications and other technical information from our website
at www.schneider-electric.com.
WARNING
UNINTENDED EQUIPMENT OPERATION
z Only use software approved by Schneider Electric for use with this equipment.
z Update your application program every time you change the physical hardware configuration.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000001690 04/2014 9
WARNING
LOSS OF CONTROL
z The designer of any control scheme must consider the potential failure modes of control paths
and, for certain critical control functions, provide a means to achieve a safe state during and
after a path failure. Examples of critical control functions are emergency stop and overtravel
stop, power outage and restart.
z Separate or redundant control paths must be provided for critical control functions.
z System control paths may include communication links. Consideration must be given to the
implications of unanticipated transmission delays or failures of the link.
z Observe all accident prevention regulations and local safety guidelines.1
z Each implementation of this equipment must be individually and thoroughly tested for proper
operation before being placed into service.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
1For additional information, refer to NEMA ICS 1.1 (latest edition), "Safety Guidelines for the
Application, Installation, and Maintenance of Solid State Control" and to NEMA ICS 7.1 (latest
edition), "Safety Standards for Construction and Guide for Selection, Installation and Operation of
Adjustable-Speed Drive Systems" or their equivalent governing your particular location.
10 EIO0000001690 04/2014
Hoisting
Industrial Crane Application Template
EIO0000001690 04/2014
Chapter 1
Industrial Crane Application Template
Overview
This chapter gives brief introduction about application template.
EIO0000001690 04/2014 11
Industrial Crane Application Template
Introduction
The template project is an example of an application used to control bridge and portal cranes. It
includes a hardware configuration for a crane with 3 axes and programs for controlling the hoist,
trolley, and translation movement. It also includes CANopen configuration for various drive
configurations.
All functions requiring parameterization can be parameterized through ATV71 display of the
Altivar 71 containing the Altivar ATV IMC Drive Controller. This makes commissioning without
using a PC possible. A PC with SoMachine software installed is necessary to download this
template project to ATV IMC.
This template project is based on the template project for an ATV IMC.
12 EIO0000001690 04/2014
Industrial Crane Application Template
General
The products specified in this document have been tested under actual service conditions. Of
course, your specific application requirements may be different from those assumed for this and
any related examples, templates or architectures described herein. In that case, you will have to
adapt the information provided in this and other related documents to your particular needs. To do
so, you will need to consult the specific product documentation of the hardware and/or software
components that you may add or substitute for any information specified in this documentation.
Pay particular attention and conform to any safety information, different electrical requirements and
normative standards that would apply to your adaptation.
Of particular relevance in many countries is the standards specifically addressing crane
applications such as, among others, EN/ISO 60204-32, which governs many environmental
characteristics of the equipment proposed in the architectures contained herein. If the intended
environment of your machine does not conform to the environmental characteristics specified by
the standards such as, but not limited to, temperature, vibration or electromagnetic interference,
additional measures and or equipment may be required that are beyond the scope of the
architectures presented by this document or other supporting material.
WARNING
REGULATORY INCOMPATIBILITY
Be sure that all equipment applied and systems designed comply with all applicable local,
regional and national regulations and standards.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
The use and application of the information contained herein require expertise in the design and
programming of automated control systems. Only you, the user, machine builder or integrator, can
be aware of all the conditions and factors present during installation and setup, operation, and
maintenance of the machine or related processes, and can therefore determine the automation
and associated equipment and the related safeties and interlocks which can be effectively and
properly used. When selecting automation and control equipment, and any other related
equipment or software, for a particular application, you must also consider any applicable local,
regional or national standards and/or regulations.
Some of the major software functions and/or hardware components used in the proposed
architectures and examples described in this document cannot be substituted without significantly
compromising the performance or conformance of your application. Further, any such substitutions
or alterations may completely invalidate any proposed architectures, descriptions, examples,
instructions, wiring diagrams and/or compatibility between the various hardware components and
software functions specified herein and in related documentation. You must be aware of the
consequences of any modifications, additions or substitutions.
EIO0000001690 04/2014 13
Industrial Crane Application Template
CAUTION
EQUIPMENT INCOMPATIBILITY
Read and thoroughly understand all device and software documentation before attempting any
component substitutions or other changes related to the application examples provided in the
document.
Failure to follow these instructions can result in injury or equipment damage.
14 EIO0000001690 04/2014
Industrial Crane Application Template
General
To satisfy the requirements of EN 13849-1, Schneider ElectricSchneider Electric is providing
example documents which can help you obtain certification of the crane.
To access the suggested documents, please visit www.Schneider-Electric.com and navigate to the
Hoisting page.
With the listed Schneider ElectricSchneider Electric Hoisting architectures, you will find a link to the
following example/template documents:
z Sample risk assessment according to EN ISO 12100
z Sample FMEA according to EN 60812
z A document containing the MTTFd values for all relevant products that are part of a safety
related hoisting function.
z Sample Sistema calculations for each safety related hoisting function.
NOTE: The sample documents may not be directly applied to your specific machine.They will
necessarily need to be modified to meet the requirements and local regulations of your machine.
WARNING
REGULATORY INCOMPATIBILITY
Be sure that all equipment applied and systems designed comply with all applicable local,
regional and national regulations and standards.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
EIO0000001690 04/2014 15
Industrial Crane Application Template
To assist you to select the right target architecture, a selection flowchart is provided as follows:
Please contact Schneider Electric support to obtain assistance by a Schneider Electric Hoisting
expert if you are not familiar with the certification process or need additional assistance.
16 EIO0000001690 04/2014
Hoisting
Industrial Crane Architecture and Environment
EIO0000001690 04/2014
Chapter 2
Industrial Crane Architecture and Environment
Overview
This chapter provides the hardware architecture and environment.
EIO0000001690 04/2014 17
Industrial Crane Architecture and Environment
Hardware Architecture
Overview
The following figure shows supported hardware architecture of an industrial crane. Altivar 71 is
used for Hoist axis. Altivar 312, Altivar 32, and Altivar 71 variable speed drives are supported for
trolley and translation (bridge) axes.
18 EIO0000001690 04/2014
Industrial Crane Architecture and Environment
EIO0000001690 04/2014 19
Industrial Crane Architecture and Environment
20 EIO0000001690 04/2014
Industrial Crane Architecture and Environment
WARNING
UNINTENDED EQUIPMENT OPERATION
z Verify the SoMachine libraries contained in your program are the correct version after updating
SoMachine software.
z Verify that the library versions updated are consistent with your application specifications.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
For more detailed information, see Schneider Electric Libraries (see SoMachine, Functions and
Libraries User Guide).
For IEC 61131-3 compatibility, the ability to add the EN/ENO input/output automatically to Function
Blocks of certain programming languages is available to the programmer. However, for certain
applications that require the complex interaction of multiple function blocks, the use of the
IEC 61131-3 input to disable a function block in a series of interrelated functions affecting a
process may lead to unintended operation of the system as a whole. For the functions contained
in the Library that is the topic of the current document, this is especially true.
The EN/ENO inputs and outputs as defined by IEC 61131-3 are maladapted to, and therefore
inappropriate for, the targeted application of these functions. Suddenly disabling one function by a
falling edge on the EN input would require all outputs of the function block to immediately fall to
their default states, and such an unanticipated action would cause in abrupt change to the entire
process. The implication is that such an event would have deleterious results that may invoke
undesirable consequences. Therefore, the EN/ENO inputs/outputs as defined by IEC 61131-3 are
incompatible with the functions contained within this library.
WARNING
UNINTENDED MACHINE OPERATION
Do not use the EN/ENO functionality defined by IEC 61131-3 to control the behavior of the
Application Function blocks.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
NOTE: Verify that the EN/ENO option is disabled in the complier options menu of SoMachine.
EIO0000001690 04/2014 21
Industrial Crane Architecture and Environment
System Requirements
Requirements Description
Altivar ATV IMC Drive Controller
Encoder with encoder interface card for Altivar 71 An encoder and encoder interface card for the
Altivar 71 are required to provide position feedback to
the application.
The application example uses the position value of an
incremental encoder connected to the hoist drive. You
can also use different position measurement methods.
For example, you can use an absolute encoder on
CANopen. However, any alternate method would
require a modification of the application example.
22 EIO0000001690 04/2014
Hoisting
SoMachine - Device Configuration
EIO0000001690 04/2014
Chapter 3
SoMachine - Device Configuration
Overview
This chapter describes the device configuration in SoMachine.
EIO0000001690 04/2014 23
SoMachine - Device Configuration
Library Manager
The Hoisting library is added manually. The rest of the libraries are configured automatically. All
the necessary libraries are already configured in the template project.
NOTE: The SoMachine Standard software includes the basic versions of the Hoisting library. The
advanced versions of the Hoisting library must be purchased apart from the SoMachine Standard
software. Both versions of the libraries must be licensed.
The Industrial Crane ATV IMC project template requires the advanced version of the Hoisting
library.
24 EIO0000001690 04/2014
SoMachine - Device Configuration
Task Configuration
Task configuration of the Hoisting application template project is identical to the ATV IMC template
project configuration. 5 tasks are defined. 2 tasks out of these 5 are used in the template. The rest
is available for further extension.
The following figure shows the task configuration:
EIO0000001690 04/2014 25
SoMachine - Device Configuration
Overview
The template contains the following object variables:
z 1 global variable object GVL_Display
z 1 persistent variable object GVL_Persistent
Global Variables
The object GVL_Display contains global variables used for parameterization of the application.
The extended display management uses initial values of these variables after first start of the
controller.
Persistent Variables
The object GVL_Persistent contains persistent variables used by extended display
management.
26 EIO0000001690 04/2014
SoMachine - Device Configuration
Embedded IOs
Overview
Some of the digital inputs of the ATV IMC are used for signals coming from the crane and operator.
The remaining signals are connected to digital and analog inputs of the drives. The digital outputs
of ATV IMC provide the information about state of the machine. Other signals fo the crane are
connected to the digital and analog inputs of the drives, and are brought into the logic of the
controller via CANopen.
Input Variables
Output Variables
EIO0000001690 04/2014 27
SoMachine - Device Configuration
Drive IOs
Overview
The digital and analog inputs of the connected drives are read through CANopen and are used in
the application. The digital inputs LI7 to LI10 are located on a basic I/O extension card
(VW3A3201) for Altivar 71.
Input Variables
The following inputs mapping are common to all drives:
28 EIO0000001690 04/2014
SoMachine - Device Configuration
Output Variables
NOTE: Do not use Torque Actual Value parameter (because it reacts slowly to the changes
of the load) or Motor Torque Scope parameter (which has a high jitter) as the value of the actual
torque of the drive. Use 4 Quadrant Torque instead.
4 Quadrant Torque cannot be read by CANopen directly. Assign 4 Quadrant Torque to the AO1
output of the hoist Altivar 71 and then map the value of analog output 1 to a transmit PDO.
Some standards, for example, EN 15011, have performance requirements that would not be
respected if you do not use the 4 Quadrant Torque.
WARNING
REGULATORY INCOMPATIBILITY
Be sure that all equipment applied and systems designed comply with all applicable local,
regional and national regulations and standards.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
Verify the scaling of analog output 1; it must be set to 420 mA. A value of 12000 represents a zero
torque, 4000 is 300% torque and 20000 is 300% torque. A possible way of handling this scaling
is shown in the program example below. The raw value is divided by 26.66 to reach a scaling of
1.0%.
EIO0000001690 04/2014 29
SoMachine - Device Configuration
Hoist Drive
The configuration of the hoist drive is not used in this template project. The drive is fully controlled
through CANopen. The input values are read through CANopen.
As you need to exchange more than 50 parameters, the embedded display configuration cannot
be used. It is done using the extended display management in the application.
30 EIO0000001690 04/2014
SoMachine - Device Configuration
Ethernet
The application contains an Ethernet configuration. It allows connection to the ATV IMC through
Ethernet after the IP has been written. It is configured with a fixed IP address 192.168.1.55 and
subnet mask 255.255.255.0
The following figure shows the details of Ethernet configuration:
EIO0000001690 04/2014 31
SoMachine - Device Configuration
CANopen
CANopen Configuration
CANopen is used for communication with Altivar variable speed drives. The configuration contains
1 Altivar 71 for hoisting axis and 3 variable speed drives (Altivar 71, Altivar 32, and Altivar 312) for
each of the trolley and translation axes. Only 1 of the 3 possible drives may be used on trolley and
translation axes.
All drives have pre-defined node IDs that must be correctly configured. For example, Altivar 32
used on trolley axis must be configured with Node ID 3.
This configuration is necessary for compatibility with various drives without changes in the template
project.
The following figure shows supported drive configurations:
32 EIO0000001690 04/2014
SoMachine - Device Configuration
EIO0000001690 04/2014 33
SoMachine - Device Configuration
34 EIO0000001690 04/2014
SoMachine - Device Configuration
EIO0000001690 04/2014 35
SoMachine - Device Configuration
36 EIO0000001690 04/2014
Hoisting
Drive Configuration
EIO0000001690 04/2014
Drive Configuration
Chapter 4
Drive Configuration
Overview
This chapter describes a subset of parameters required for the best performance and operation of
the template application. For more information concerning the configuration of Altivar variable
speed drives, refer to the documentation of the devices.
WARNING
UNGUARDED MACHINERY CAN CAUSE SERIOUS INJURY
z Do not use this software and related automation equipment on equipment, which does not
have point-of-operation protection.
z Do not reach into machinery during operation.
Failure to follow these instructions can result in death, serious injury, or equipment
damage.
NOTE: You must configure all variable speed drives according to the crane and local conditions.
EIO0000001690 04/2014 37
Drive Configuration
Hoisting Drive
Overview
The following steps describe the configuration of the hoisting drive:
z The drive must be configured to work in closed loop.
z Reset the drive to factory settings.
z Set the correct motor parameters.
z The macro configuration selection has to be set first as it changes multiple parameters.
z Perform the autotuning and encoder check.
The input LI6 switches the drive to forced local mode. It is also used to switch
acceleration/deceleration ramps.
38 EIO0000001690 04/2014
Drive Configuration
EIO0000001690 04/2014 39
Drive Configuration
Overview
The drives for trolley and translation axes are configured similarly. The drives for horizontal
movements are expected to work in open loop. Vector motor control mode increases the accuracy
of motor speed, which has a positive influence on performance of Anti-sway function. Scalar motor
control mode is also useable with certain performance decrease.
The following steps describe the configuration of these drives:
z Set the drive to factory settings.
z Set correct motor parameters.
z The macro configuration selection has to be set first as it changes multiple parameters.
z Perform the auto-tuning.
40 EIO0000001690 04/2014
Drive Configuration
EIO0000001690 04/2014 41
Drive Configuration
42 EIO0000001690 04/2014
Hoisting
Application
EIO0000001690 04/2014
Application
Chapter 5
Application
Overview
This chapter describes the applications of industrial crane.
EIO0000001690 04/2014 43
Application
Crane Control
Section 5.1
Crane Control
Overview
This section provides brief description of the function blocks used in the template including
description of their alarm identification outputs. In case of an alarm, the actual value is available in
the display menu 1.14 in menu 1 - UserMain.
For a detailed description, refer to the online help of the function blocks in SoMachine.
44 EIO0000001690 04/2014
Application
Application_MastTask
Introduction
Application master task executes programs for all hoisting axes, monitoring the presence of
CANopen devices and calibration of hoisting cable length necessary for Anti-sway function. It also
connects global variables used in display configuration to the application.
Components of Application_MastTask
The following figure shows the components of application master task:
EIO0000001690 04/2014 45
Application
CanOpenState
Program CanOpenState provides basic information about status of 8 configured CANopen
nodes. For each of the nodes, it gives TRUE value if the device is in operational state and FALSE
if the device is not in operational state or is not connected on the bus.
CableLengthEnc_2
The function block CableLengthEnc_2 calculates length of pendulum for Anti-sway function from
the encoder pulses and load length value.
The following table describes the alarm states:
DiagnosticCoverage
The function block DiagnosticCoverage compares application signature and firmware version
with a configured value. It also watches executions of subprograms and actual cycle time of a cyclic
task and provides interface for cross-checking of the 2 controllers. Internally, it tests integrity of
variable memory and accuracy of boolean and floating point operations.The output of the FB is
used to authorize movement of all axes.
DriveMux
Auxiliary function block DriveMux selects the drive that is present on CANopen bus and forwards
the input values to translation and trolley axes programs. If more than 1 CANopen node from the
range is reserved for trolley (node IDs 2, 3, 4) or translation (node IDs 5, 6, 7) respectively, the
function block enters an alarm state.
Axes Programs
The programs Trolley_axis, Translation_Axis, and Hoisting_Axis include the
functions associated with these axes. These are described further in this document.
46 EIO0000001690 04/2014
Application
Hoisting_Axis
Introduction
This includes instances of function blocks used to control hoisting axis of the crane. Hoisting axis
uses Altivar 71.
EIO0000001690 04/2014 47
Application
Components of Hoisting_Axis
The following figure shows the components of Hoisting_Axis:
48 EIO0000001690 04/2014
Application
LimitSwitch Management
The LimitSwitch function block reads limit switch inputs from the field. It checks the limit switch
status and generates the control outputs which are used to control the movements of the hoist. The
function block is to be used with cross and screw limit switches by using normally closed (NC)
contacts. The contacts indicate the specific status, for example, the stop position.
The following table describes the alarm states:
SpeedSelect
This function block allows selection of pre-defined speed references using digital inputs. It reduces
the speed reference if the slow-down limit switch is reached. It allows throughput of analog speed
reference if the analog input is used.
The following table describes the alarm states:
SpeedOptimisationRopeSlack
During the movement of a hoist, the load can range between the empty hook and maximum load,
but the same nominal speed is used to drive the hoist. The speed optimization function helps you
to maintain an optimum working time and increased productivity.
The following table describes the alarm states:
Overload_EN15011
The function block reads the torque inputs from the hoist drive. This enables you to detect an
overload situation according to the calibrated torque threshold. At 90% of nominal calibrated
torque, a warning is indicated by lights and horn. If the torque value indicates an overload situation,
the function block generates an overload alarm. This alarm must be interlocked with forward
command for hoist axis to block upward (lifting) movement of the load.
EIO0000001690 04/2014 49
Application
A second instance of the function block using information from a load cell is present in the example
application. Usage of the second instance is optional.
The following table describes the alarm states:
Altivar 71_Control
This function block (available in Altivar library) is the device control function block used to control
Altivar 71 drives through communication interface.
LoadOverspeedControl
The Load overspeed control function block helps you to detect overspeed, brake wear,
alarm, and sensor feedback alarms. This function block detects a load overspeed by monitoring
the value of OsiCoder - a CANopen absolute encoder (Node ID 8). The brake wear function checks
the wear of the hoist brake by detecting any movement on the load when the drive is not running.
The following table describes the alarm states:
MaintenanceDataStorage_2
The function block helps you in choosing the right time for maintenance, with an accurate record
of the movements and loads. In the case of many movements with a high load, you can schedule
maintenance work before a component breaks down and helps you to eliminate long down times.
When the loading is occasional, you can postpone maintenance, leading to a longer lifecycle and
optimized maintenance costs.
The following table describes the alarm states:
50 EIO0000001690 04/2014
Application
StatisticDataStorage_2
This function block measures the operation time and number of operations of an axis. It also
measures the number of backtracking and pulsating operations, but those are not used in this
template.
EIO0000001690 04/2014 51
Application
Introduction
The programs for control of trolley and translation axes are identical in this example. They contain
instances of function blocks used to control horizontal movement of the crane. Each of the
programs contains 3 instances of Altivar control function blocks for Altivar 71, Altivar 32, and Altivar
312. As only 1 drive is allowed to be connected per axis, only 1 of these function blocks is
connected to an active drive at a time.
ScaleInput
The function block ScaleInput is used to scale analog input value from AI1 of the drive to speed
reference range. Usage of analog input for speed reference is alternative to selection of speed
reference using digital inputs.
The following table describes the alarm states:
52 EIO0000001690 04/2014
Application
SpeedSelect
The function block SpeedSelect enables selection of pre-defined speed references using digital
inputs. It reduces the speed reference if slow-down limit switch is reached. It allows throughput of
analog speed reference if analog input is used.
The following table describes the alarm states:
AntiSwayOpenLoop_2
This function block for industrial cranes is designed to suppress the sway of a suspended load
caused by movement of the bridge and trolley of the crane. It is suitable for both manually operated
and automatic cranes. It is an evolution of AntiSwayOpenLoop function block.
The following table describes the alarm states:
StatisticDataStorage_2
The function block StatisticDataStorage_2 measures the operation time and number of
operations of an axis. The information acquired by this function block is displayed in user menu
1.14 of local Altivar 71. Although, the StatisticDataStorage_2 function block is capable of
measuring number of backtracking and pulsating operations, this information is not used by this
hoisting application template project.
EIO0000001690 04/2014 53
Application
Alarm Management
Alarm management consists of 1 OR block, which stops the axis using a quick stop input of an
Altivar_Control function block.
54 EIO0000001690 04/2014
Application
Section 5.2
Extended Display Management
Overview
This section provides the configuration of the extended display management.
Extended display management replaces the standard display management of ATV IMC. The
standard display management allows maximum of 50 WORD variables to be displayed. This is not
enough to allow for configuration of all application function blocks used in this project.
The extended display management allows configuration of multiple parameter sets of up to 50
WORD variables. You can switch between these sets. In addition, it allows protection of
parameters with password. The password is defined as a global variable (wPassword: WORD) in
object GVL_Display.
EIO0000001690 04/2014 55
Application
The extended display management uses custom data unit types (STRUCT and ENUM).
The dependency of these data types are shown in the following figure:
56 EIO0000001690 04/2014
Application
The following programs of extended display management take over the tasks of standard display
management:
z Display_Configure contains a state machine, which calls POUs for configuration and
management of display menu. (This does not need to be edited.)
z Display_ExchangeValuesWithDisplay writes values from the display to objects of the
display structure and vice versa. (This does not need to be edited.)
z Display_ExchangeValuesWithGVL performs data exchange between display structure and
associated global variables. (This needs to be edited to modify the user menus.)
The following example shows the exchange of data between display structure and global
variables that are used in the program:
z Display_SetupList writes long and short text elements for the items of 4 available lists.
(This does not need to be edited.)
z Display_SetupParameter sets properties (for example, appli lock, run lock, minimum,
maximum, decimals, and so on) of display menu parameters. (This does not need to be edited.)
z Display_SetupText sets the name and unit to active 50 parameters. (This does not need to
be edited.)
z Display_TextInit defines the properties of the display parameters in all parameter sets.
The active set is then written to the active parameters by Display_SetupParameter. (This
needs to be edited to modify the user menus.)
EIO0000001690 04/2014 57
Application
z Display_WriteParameter writes parameter value to defined index. (This does not need to
be edited.)
z Display_WriteValuesToDisplay writes values to display after start of the controller or
after change of active menu. (This does not need to be edited.)
58 EIO0000001690 04/2014
Application
Display Parameters
Overview
The following tables provide the details about the display parameters. For detailed information
about configuration of the function blocks, refer to function block documentation in SoMachine.
EIO0000001690 04/2014 59
Application
60 EIO0000001690 04/2014
Application
EIO0000001690 04/2014 61
Application
62 EIO0000001690 04/2014
Application
EIO0000001690 04/2014 63
Application
64 EIO0000001690 04/2014