Introduction This document is i ntended to provide a quick i nt roduction to the described System.
It is not intended to replace any specific product documentation. On the contrary, it offers
additional information to the product documentation, for installing, configuring and starting up
the system.
A detailed functional description or the specification for a specific user application is not pa rt of
this document. Neverth eless, the document outlines some typical applications where the
system might be implemented.
AC Alternating Current
Advantys SE product name for a family of I/O modules
Altivar (ATV) SE product name for a family of VSDs
CANopen Name for a communications machine bus system
CB Circuit Breaker
CoDeSys Hardware-independent IEC 61131-3 programming software
ConneXium SE product name for a F amily of Transparent Factory devices
DC Direct Current
EDS Electronic Data Sheet
E-OFF, E-STOP Emergency Off switch
Harmony SE product name for a family of switches and indicators
HMI Human Machine Interface
I/O Input/Output
IclA (ICLA) SE product name for a compact drive
Lexium/Lexium05/LXM SE product name for a family of servo-drives
M340 / Modicon M340 SE product name for a mid range PLC family
Magelis SE product name for a family of HMI-Devices
MFB PLCopen Motion Function Block
MB - SL SE name for a serial Modbus communications protocol
Micro SE product name for a middle range family of PLCs
NIM SE product name for a Network Interface Module
Osiswitch SE product name for a family of position switches
PC Personal Computer
PDO Process Data Object (CANopen)
Phaseo SE product name for a family of power supplies
PLC Programmable Logic Computer
PowerSuite An SE software product for configuring drives
Premium SE product name for a middle range family of PLCs
Preventa SE product name for a family of safety devices
PS1131 (CoDeSys) SE Product name for PLC programming software with CoDeSys
PS Power Supply
RPDO Receive Process Data Object (CANopen)
SE Schneider Electric
SDO Service Data Object
SyCon SE product name of a Field bus programming software
Telefast SE product name for a series of distributed I/O devices
TesysU SE product name for a decentralized I/O System
TPDO Transmit Process Dat a Object (CANopen)
Twido SE product name of a basic range family of PLCs
TwidoSoft SE product name for a PLC programming software
TwidoSuite SE product name for a PLC programming software
Unity (Pro) SE product name for a PLC programming software
Vijeo Desi gner An SE software product for programming Magelis HMI devices
VSD Variable Spe ed Drive
WxHxD Dimensions : Width, Height and Depth
XBT-L1000 An SE software product for programming Magelis HMI devices
Zelio SE product name for a l ow range PLC family
ZelioSoft SE product name for a PLC programming software
Introduction Examples of the source code and wiring diagrams used to attain the system function as
described in this document can be downloaded from our website under this link.
The example s ource code is in the form of configuration, application and import files. Use the
appropriate software tool to either open or import the files.
Extension File Type Software Tool Required
AIW Configuration file Advantys
CNF Configuration File SyCon
CO CANopen definitions file SyCon
CSV Comma Separated Values, Spreadsheet Twidosoft
CTX Unity
DCF Device Configuration File Advantys
DIB Device Independent Bitmap SyCon
DOC Document file Microsoft Word
DOP Project File Magelis XBTL 1000
EDS Electronic Data Sheet – Device Definition Industrial standard
FEF Export file PL7
GSD EDS file (Geraete Stamm Datei) Profibus
ISL Island file, project file Advantys
PB Profibus definitions file SyCon
PDF Portable Document Format - document Adobe Acrobat
PRO Project file PS1131 - CoDeSys
PS2 Export file PowerSuite
RTF Rich Text File - document Microsoft Word
SPA Schneider Product Archive TwidoSuite
STA Project Archive Unity Pro
STU Project file Unity Pro
STX Project file PL7
TLX Project file Twinline control tool
TWD Project file TwidoSoft
VDZ Project file Vijeo Designer
XEF Export file Unity Pro
XPR Project file TwidoSuite
ZM2 Project file Zeliosoft
Introduction The system chapter describes the archit ecture, the dimensions, the quantities and different
types of components used within this system.
Architecture
GeneralThe control section of this application consist s of a Modicon M340 PLC, w hich can be
operated via a connected Magelis HMI panel at user level. The device section is
implemented using Lex ium 15, Lexium 05, Altivar 71 and TeSys U, which are connected to
the PLC via the CANopen bus system.
The solution illustrated below inc l udes P reventa safety components featuring t amper-proof
emergency off switches.
Compact master switch (NS100N)
GV2-L motor circuit breaker (short-circuit protection)
Modicon M340 PLC with CANopen and Ethernet interface
Magelis XB TGT HMI panel
Preventa XPSMC safety contr oller
Lexium 15 LP servo drive
Lexium 05 servo drive
Altivar A TV71 variable speed drive
TeSysU motor starter
TeSys K and TeSys D (LP1K and LC1D) lo ad contacto rs
Software:
Unity Pro V3.0
Vijeo Designer V4.40
XPSMCWIN V2.00
PowerSuite V2.30
UniLink L V1.50
Quantities of
Components
Degree of
Protection
Technical
Data
For a complete and det ailed lis t of components, the quantities required and t he order
numbers, please refer to the components list at the rear of this document.
Not all the components in this configuration are designed to withstand the same
environmental conditions. Some components may need additional protection, in the form of
housings, depending on the environment in which you intend to use them. For
environmental details of the indiv idual components please refer to the list in the appendix of
this document and the appropriate user ma nual.
Mains voltage 400 V AC
Power requirement ~ 6 kW
Drive power rating 2x 1.3 kW, 12x 0.75 kW , 2x 0.25kW
Motor brake None
Connection 5x 2.5mm² (L1, L2, L3, N, PE)
Safety level Cat. 3
Safety Notice The standar d and level of safety you apply to your application is determined by your
system design and the overall extent to which your system may be a hazard to people
and machinery.
As there are no moving mechanical parts in this application example, category 3
(according to EN954-1) has been selected as an optional safety level.
Whether or not the above safety category shoul d be applied to your system should be
ascertained with a proper risk analysis.
This document is not comprehensive for any systems using the given architecture and
does not absolve users of their duty to uphold the safety requirements with respect to the
equipment used in their systems or of compliance with either national or international
safety laws and regulations
The components designed for installation in a co ntrol cabinet, i.e., the safety controller,
line circuit breakers, contactors, motor circuit breakers and motor starters, can be
mounted on a 35 mm top-hat rail.
Master switches, the Phaseo power supply unit, variable speed drives and servo drives
are screwed directly onto the mounting plate.
Emergency Off switches and the pushbutton housing for display and acknowledgement
indicators are designed for backplane assembly in the field. All switches can also be
installed directly in a c ontrol cabinet (e.g., in a cabinet door) without the need for th eir
enclosing housings.
There are two options for installing XB5 pushbuttons or indicator lamps: These
pushbuttons or switches can be installed either in a 22 mm hole, e.g., drilled into the
front door of the control cabinet, or in an XALD-type housing suitable for up to 5
pushbuttons or indicator lamps. The XALD pushbutton housing is designed for
backplane assembly or direct wall mounting.
The Magelis operator a nd display terminals require a cut-out in the front of the housing
so that they can be secured to the housing wall using br ackets/spring clamps.
400 V/3-phase AC wiring for the load circuits (LXM15, LX M05, ATV71, TeSysU).
240 V AC wiring for the power supplies.
24 V DC wiring for control circuits and the PLC power supply, operator and display
terminals, I/O modules and the HMI.
The individual components must be interconnected in accordance with the detailed c irc uit
diagram in order to ensure that they fu nction correctly.
CANopen cables are installed for the communication link between the PLC and the devices
inside the control cabinet.
General Software is primarily used for two reas ons: first, for programming the M340 PLC and
configuring CANopen communication, and second, fo r generating visualization.
The PLC is programmed using the Unit y Pro programming tool.
The HMI application on the XBTGT 2320 Magelis display terminal is created using Vijeo
Designer software.
The Lexium 15 s ervo drives are parameterized using UniLink software.
The Lexium 05 s ervo drives and Altivar 71 variable speed dri ves can be parameterized via
the front operator panel. However, using the PowerSuite software is much easier.
The parameters can be saved and archived using UniLink and Powe rSuite. This is
extremely useful as it means that parameters can be restored rapidly whenever service
tasks need to be performed. The software can also help you to optimize the parameters
online.
To use the software packages, your PC must have the appropriate Microsoft Windows
operating system installed:
Windows 2000 or
Windows XP
Note: The description in this documentation is based on English -language versions o f the
operating system and installed software.
The software tools have the following default install paths
Unity Pro
C:\Program files\Schneider Electric\Unity Pro
General The methods o f c ommunication below are us ed between devices:
CANopen
Ethernet
The machine bus enabling communication between the PLC an d fieldbus devices is
implemented in the form of CANopen. Th ese devices are the safety controller, Lexium,
Altivar and TeSysU mot or start er.
Ethernet is used for data exchange between the PLC (Modicon M340) and rem ote HM I
(Magelis XBTGT). In addition, the applications can be transferred from the PC to the PLC
and HMI via Ethernet.
Connection cables are also required between the PC and the individual devices (for
programming/parameterization).
Modicon M340
CPU including CANopen
and Ethernet
BMX P34 2030
Ports
2 USB
6 Ethernet
8 CANopen
The MAC address is located on the front panel of the processor, below the display panel.
- Synchronous, acyclic: Transmission type 0 means that the message is to be
transmitted in synchronism with the SYNC message, but not cyclically.
- Synchronous, cyclic: A value bet ween 1 and 240 means that the PDO is
transmitted synchronously and cyclically. The transmission type value provi des the
number of SYNC messages between two PDO transmissions.
- Asynchronous PDO: Transmission type 254 means that the PDO is transmitted
asynchronously. This type is completely dependent on how it is implemented in the
device, and is mainly used for digital I/O.
- Synchronous PDO: Transmission type 255 means that the PDO will be transmitted
asynchronously as soon as the value changes.
Ensure that the configured transmission type is supported by the selected device.
Inhibit time
- The time during which no PDOs can be sent. 0 signifies t hat this has been
deactivated.
Event timer
- The time during which at least one PDO is sent. 0 signifies that this has been
deactivated.
%IW\3.2\0.0.0.0 XPS_Status 2000:00 Status Byte
%IW\3.2\0.0.0.1 XPS_Mode 2001:00 Mode Byte
%IW\3.2\0.0.0.4 XPS_Input_09_15 2004:00 Input data state 9-15
%IW\3.2\0.0.0.5 XPS_Input_01_08 2005:00 Input data state 1-8
%IW\3.2\0.0.0.8 XPS_Output_01_08 2008:00 Output data state 1-8
%ID\3.x\0.0.0.0 --- 301B:07 PLCopenTX1
%ID\3.x\0.0.0.2 --- 301B:08 PLCopen Tx2
%ID\3.x\0.0.0.4 --- 6064:00 Position actual value
%ID\3.x\0.0.0.6 --- 606C:00 Velocity actual value
\3.x\ - x stands for the CANopen address of the first to the sixth Altiva r 71.
x can range from 11 to 16.
CANopen
Data LinksData Direction SPS
Modicon M340 (CANopen-Bus-Master) TeSy sU (CANopen-Slave)
TeSysU
PLC <> TeSysU Address Name Index Designation
%IW\3.x\0.0.0.6 TeSysU_y_Status 2004:06 Status register
%IW\3.x\0.0.0.9 TeSysU_y_IOst atus 2004:09 I/O module status register
%IW\3.x\0.0.0.11 TeSysU_y_War ning 2004:0C Warning register
%ID\3.x\0.0.0.0 --- 3000:03 PKW: Response object
%ID\3.x\0.0.0.2 --- 3000:04 PKW: Response data
Datenrichtung SPS TeSysU
Address Name Index Designation
%QW\3.x\0.0.0.8 TeSysU_y_Control 2008:05 Control of the system
%QW\3.x\0.0.0.7 TeSysU_y_Comm 2008:04 Control of comm module
%QW\3.x\0.0.0.6 TeSysU_y_Output 2008:01 Control of outputs
%QD\3.x\0.0.0.0 --- 3000:01 PKW: Request object
%QD\3.x\0.0.0.2 --- 3000:02 PKW: Request data
\3.x\ - x stands for the CANopen address of the fir st and second TeSysU motor starters.
x can be either 17 or 18.
_y_ - y stands for the first and second TeSysU motor starters.
y can be either 1 or 2.
Ethernet Data Direction HMI SPS
HMI <> PLC Device Start address Reserved Memory
Address
summary
General %M501…600
Safety %M601…650
CANopen %MW401…420
Safety %MW421…430
1. LXM05 %MW500 %MW501…520
2. LXM05 %MW520 %MW521…540
3. LXM05 %MW540 %MW541…560
4. LXM05 %MW560 %MW561…580
5. LXM05 %MW580 %MW581…600
6. LXM05 %MW600 %MW601…620
1. LXM15 %MW620 %MW621…640
2. LXM15 %MW640 %MW641…660
1. ATV71 %MW660 %MW661…680
2. ATV71 %MW680 %MW681…700
3. ATV71 %MW700 %MW701…720
4. ATV71 %MW720 %MW721…740
5. ATV71 %MW740 %MW741…760
6. ATV71 %MW760 %MW761…780
1. TeSysU %MW781…800
2. TeSysU %MW801…820
Ethernet Data Direction HMI PLC (for Lexium and Altivar)
HMI <> PLC
for Lexium
and Altivar
YY_X_Start +1 2 BOOL x x Start drive
YY_X_Dir +1 3 BOOL x x Direction
YY_X_Mode_VE +1 4 BOOL x Set velocity mode
YY_X_Mode_AB +1 5 BOOL x Set absolute pos. mode
YY_X_Mode_RE +1 6 BOOL x Set relative pos. mode
YY_X_Reset +1 7 BOOL x x Reset error
YY_X_Velocity +2 DINT x x Target velocity
YY_X_Position +4 DINT x Target position
YY_X_ACC +6 UDINT x Acceleration
YY_X_DCC +8 UDINT x Deceleration
YY_X_Active +11 0 BOOL x x Drive is active
YY_X_Disable +11 1 BOOL x x Drive is disabled
YY_X_Standstill +11 2 BOOL x x Drive in standstill
YY_X_Stopping +11 3 BOOL x x Drive in stopping
YY_X_IN_VE +11 4 BOOL x x Drive in velocity mode
YY_X_IN_AB +11 5 BOOL x Drive in absolute pos mode
YY_X_IN_RE +11 6 BOOL x Drive in relative pos mode
YY_X_in_Velocity +11 7 BOOL x x Drive reached velocity
YY_X_in_Position +11 8 BOOL x Drive reached position
YY_X_Error +11 9 BOOL x x Error
YY_X_Act_Position +12 DINT x Po sition actual value
YY_X_Act_Velocity +14 DINT x x Velocity actual value
YY_X_ErrorID +16 UDINT x x Error ID code
YY_X_ErrorMA +18 INT x x Error message code
YY_X_Read y +1 0 BOOL x x Drive is ready
YY_X_Power +1 1 BOOL x x Drive power on
YY - YY stands for the drive type.
YY can be either LXM05, LXM15 or ATV71.
_X_ - X represents the specific d rive number for a particular type.
X can range from 1 to 6.
The address is made up of the start address (mentioned abo ve) + % M W + bit. In the
case of the third Lexium 05 for the direction, the address is:
%MW540 + 1 + bit = %MW541.3
Schneider Electric
44
Page 46
Ethernet Data Direction HMI PLC (für TeSysU)
HMI <> PLC
for TeSysU
YY_X_HMI_Run %MW781.1 %MW801.1 BOOL Pole status is closed
YY_X_HMI_Trip %MW781.2 %MW801.2 BOOL Tripped position
YY_X_HMI_Error %MW781.3 %MW801.3 BOOL Fault or warning
YY_X_HMI_Start %MW782.0 %MW802.0 BOOL Run forward
YY_X_HMI_Reset %MW782.1 %MW802.1 BOOL Reset fault and warning
Name 1. TeSysU 2. TeSysU Typ Designation
YY_X_HMI_Ready %MW781.0 %MW801.0 BOOL Power is ON
YY - YY stands for the drive type.
YY can be TeSysU.
_X_ - X represents the specific d rive number for a particular type.
X can be either 1 or 2.
Various hardware addresses, as well as flags and flag words, are used in the PLC/HMI
application. An overview of the addresses used is provided below. The "Address"
column shows how the address is written and the potential ranges within the example
application.
Type Address Comment
Digital inputs %Ir.m.x
-r: 0
-m: 1 - 3
-x: 0…31
Digital outputs %Qr.m.x
-r: 0
-m: 3 - 4
-x: 0…31
Analog inputs %IWr.m.c
-r: 0
-m: 5
-c: 0…3
Analog outputs %QWr.m.c
-r: 0
-m: 6
-c: 0…2
Flag words %MWx
-x Word
PLC: Digital inputs are specified on a hardware
basis: r indicates the rack number, m the slot and
x the input number.
PLC: Digital outputs are specified on a hardware
basis: r indicates the rack number, m the slot and
x the output number.
PLC: Analog inputs are specified on a hardware
basis: r indicates the rack number, m the slot and
c the channel number.
PLC: Analog outputs are specified on a hardware
basis: r indicates the rack number, m the slot and
c the channel number.
PLC and HMI: Flag words are used for data
exchange between the PLC and HMI. The range
depends on the settings in the PLC. Maximum:
32463; 0 - 9999 are used
Flags %Mx
-x Word
Derived flags %MWx.y
%MWx:Xy
-x Word
-y Bit
CANopen status %CHr.m.c
-r: 0
-m: 0
-c: 2
PLC and HMI: Flags are used fo r data exchange
between the PLC and HMI. The range depends
on the settings in the PLC. Maximum: 32633; 0 9999 are used
PLC and HMI: The elements (bits) from the flag
words are used for data exchange between the
PLC and HMI. The range depends on the settings
in the PLC. Maximum: 32633; 0 – 9999 used;
Bits 0 - 15. Various PLC notations.%MW100.1 Bit 1 from MW100
HMI %MW102:X1 Bit 1 from MW100
PLC: Status data for CANop en is read vi a data
structure T_COM_CO_BMX (IODDT). Channel
address: r indicates the rack number, m the slot
and c the channel number.
CANopen status %CH0.0.2
Introduction The PLC chapter describes the steps required for the initialization and configuration
and the source program required to fulfill the functions.
PreConditions
Before carrying out the steps described below, you must ensure the following:
The Unity Pro programming software is inst alled on your PC.
The Modicon M340 PL C is c onnected to t he power supply.
The PLC and the PC a re c onnected to one another via the programming cable
(BMXXCAUSB0xx) or Ethernet (with a known IP address).
Setting up the PLC is done as follows:
Create a new program and select hardware.
Parameterize the communication.
Create new variables.
Add CANopen nodes.
Parameterize CANopen PDO.
Set up axes for the drives.
Program assignment.
MFB - Motion Function Block.
Create and use DFB.
Required blocks.
Create a new operator screen.
Build project.
Connect PC to PLC and transfer project.
Export and archive project.
Creating a
New Program
and
Selecting
Hardware
To create a new program,
1
select New from the File menu.
A window opens where you
2
can select the CPU to be used.
For this application, select the
Modicon M 340 CPU
BMX P34 2030
and click OK to confirm.
This will load the default
the IP Configuration tab. In
this application, the following
address is used:
192.168.100.41
255.255.255.0
The HMI uses this address for
data exchange, and Unity Pro
uses it to connect to the PLC.
Note:
To be able to use this IP
address, the rotary switch on
the rear of the CPU must be
set to the stored IP address.
See Communication for
further details.
The entries must then b e
8
validated.
To do this, click the Tick icon
in the toolbar.
Under Communication and
9
Networks, a red cross
indicates that the network is
not assigned to any hardware.
The Ethernet interface is
available on the CPU being
used here.
Right-click on Ethernet and
select Open to assign the
CPU.
following sizes for the
individual globa l address
fields:
%M 10000
%MW 10000
%KW 10000
Select Validate under Edit to
4
validate the entries.
Alternatively, you can click the
icon on the toolbar.
Open the Data Editor by
5
right-clicking
Variables & FB instances
and selecting
Open.
You can ent er all variables in the Data Editor. To do this, enter the variable
6
name in the Name column and the variable type in the Type column.
An initial value can be set in the Value column.
To address the variables (located variables), an address must be entered in the
Address column. The following addresses appear on the partial screenshot
below:
%MW671.3 Bit 3 in word 671
%MW662 Flag w ord 662
%I0.1.1 Digital input from rack 0; card 1 of input 1.
7
Here is an address for a
8
CANopen node:
%IW\3.3\0.0.0 or
%IW\3.3\0.0.0.1
%IW Input word
\3.3\ Card 3 (CANopen)
CANopen address 3
name here. Unity accepts the
parameter assignment.
For the Lexium 15 LP, the
following apply:
Name:
Recipe_L11 (1st LXM)
Recipe_L12 (2nd LXM)
Click OK to exit the window.
The contents of the proj ect
10
browser is updated.
The table below provides a summary of the entries for all drives.
11
Variable Names with Axis for
Axis_Ref CAN_Handler Recipe AxisParam
Drive
CANopen
Address
Name:
AXIS
1. LXM05 \3.3\ _L01 _L01 _L01 _L01 Desc_2
2. LXM05 \3.4\ _L02 _L02 _L02 _L02 Desc_2
3. LXM05 \3.5\ _L03 _L03 _L03 _L03 Desc_2
4. LXM05 \3.6\ _L04 _L04 _L04 _L04 Desc_2
5. LXM05 \3.7\ _L05 _L05 _L05 _L05 Desc_2
6. LXM05 \3.8\ _L06 _L06 _L06 _L06 Desc_2
1. LXM15 \3.9\ _L11 _L11 _L11 _L11 Desc_0
2. LXM15 \3.10\ _L12 _L12 _L12 _L12 Desc_0
1. ATV71 \3.11\ _A01 _A01 _A01 _A01 Desc_1
2. ATV71 \3.12\ _A02 _A02 _A02 _A02 Desc_1
3. ATV71 \3.13\ _A03 _A03 _A03 _A03 Desc_1
4. ATV71 \3.14\ _A04 _A04 _A04 _A04 Desc_1
5. ATV71 \3.15\ _A05 _A05 _A05 _A05 Desc_1
6. ATV71 \3.16\ _A06 _A06 _A06 _A06 Desc_1
Note:
The Axis Param name is automatically ass i gned by Unity Pro, and depends on the
parameterization order. Although discrepancies may occur in this respect, in effect the
function remains the same.
sections are display ed under
Program in the project
browser.
Here is a brief overview:
2
Start Consists of the functions that must be carried out when the
application program is started (e.g., initialize v ar iables).
Safety Analyzes the information provided by the safety controller.
Control_LXM05
Control_LXM15
Control_ATV71
These sections are responsible for controlling the
Lexium 15, Lexium 05 and Altivar 71 drives with Motion
Function Block.
MFB
Motion
Function
Block
Control_TeSysU Conventional control of two TeSysU motor starters.
HMI_Data Manages the comm unication data with the HMI.
CANopen Summarizes the CANopen information of each node.
The Motion Function Block
1
library contains blocks for the
straightforward control of servo
drives and variable speed
drives.
You can use the blocks to switch between particular operating states (see image
4
below). After a drive is switched on, its status is normally Disabled.
A CAN_HANDLER is absolutely essential for each drive and must be addressed in
5
each PLC cycle. The block uses the AXISREADY output to indicate whether the
axis/drive is available for control. The axes described above are used as
parameters.
Creating and
Using DFB
6
The image opposite shows
7
another block which, with the
assistance of the axis
parameters, can control a drive
using CANopen.
Please refer to the bl ock and
startup documentation for an
exact description.
To get a compact and clear
1
overview of the configuration, it
is possible to group entire
functions in a DFB.
Two DFBs have been created
in this application, each o f
which contains the Altivar and
Lexium MFBs mentioned
above.
This applicatio n features a Magelis XBT-GT 2330 HMI, which is connected to the PLC via
the Modbus TCP/IP protocol.
Vijeo Designer software is used to program and configure the terminal. The steps to be
taken in order to create and download a program are described on the pages that follow.
Setting up the HMI is done as follows:
Vijeo Designer function overvie w
Create new project (specify platform, hardware, communication).
Communication settings
Create new variables
Create screens
Display error message
Check the project and download it
Application overview
Function
Overvie w
Creating a
New Project
The Vijeo Designer environment
1
consists of the following
elements:
1 Navigator
2 Information display
3 Inspector
4 Data list
5 Feedback area
6 Toolbox
To do this, click the target in the
Navigator (in this case, Cem)
and select Download in the
Property Inspector.
In order that the project can be
transferred to the Magelis HMI,
you will need to select Ethernet
as well as the IPAddress and
the SubnetMask of the HMI.
The interface parameters must
3
be declared to the Modbus
TCP/IP driver for c ommunication
with the PLC.
select the file name/file.
Files of type: Unity Pro (*.s tu)
Equipment: PLC
Click Open to continue.
All variables from the PLC
6
project are displayed in this
window with a name and
address. The required variables
can be selected by clicking the
checkbox on the left-hand side.
To make the connection
between the PLC and HMI clear,
the same variable names are
used here. This option is set by
selecting Variables that kee p the same name.
The selected variables are then
transferred by clicking Add.
Select Close to close the
window.
If other v ariables are required at
7
a later point, it is possible to
recall the window described
above by selecting
displayed in the Navigator,
along with their names and
addresses.
The process for creating animations on sc reens will now be described using a numeric al
display. The functions are similar for other animation elements.
Selection from the menu bar.
1
Various icons and elements are
available in the menu bar and
the toolbox. Select Numeric
enter the following:
Color Name: ErrorColor
Text Name: ErrorText
No. of States 17
Select Message Display.
Data Type: Integer
Finally, click OK and Yes.
In the following table, a Label and Font Name can be entered for each Integer
4
Value (0 – 16).
The message display a ppears
5
on the screen, e.g. on the
screen for displaying a
Lexium 05 error.
Unless the project has already been transferred using a USB cable, the HMI will
not have the correct IP address. For this reason, the IP address must be entered
via the offline setting mode before downloading takes place.
This is called up as follows:
On powering up, touch the top left-hand corne r of the screen.
Alternatively, while the application is being executed, touch three corners of
the screen at the same time. (In the platform properties of the Vijeo Designer
Editor, you can select the procedure to be followed by your application.)
Next, enter the IP address.
Switch back to online m ode.
The example application
1
features a number of displays
that can be selected by the user.
The structur e i s mapped on the
welcome screen. Manual
operation mode is set by default.
There are no lo gic configuration
settings in the PLC for automatic
mode.
All drives can run in m anual
mode, controlled directly via the
display. To do this, you must
switch to the relevant screen.
The HMI configuration screen
can be reached via System (in
the lower right-hand corner of
the screen).
The header o n subseque nt
2
screens is identical an d provides
information about the status of
the machine.
If a CANopen bus node is faulty,
this will be indicated in the
header under Bus. Switch to the
Bus screen to identify the node.
More information can be
accessed by pressing Detail.
alarms is provided on the Alarm
screens. In the header, the
Alarm field is a group message.
Safety controller messages are
4
displayed on the Safety screen.
The two Emergency Stop
buttons are displayed along with
their inputs and the two outputs.
The details provide information
about the status, mode, outputs,
inputs and diagnosis.
two Lexium 15 drives. Each
operation mode (velocity,
absolute positioning and relative
positioning) has a button for
selecting it. The drive is
activated by means of Pow e r.
The operation mode is t rigg ered
using Start. The direction is set
using Dir (in Velocity mode
only). An error message is
acknowledged by means of
Error. Both the setpoint speed
and setpoint position can be set
using a virtual keypad.
The status message
(COM = Communication,
Dis = Disabled and
Act = Active), the display of the
actual speed and actual
position, and the error message
all act as feedback.
The corresp onding scre en f or
6
the six Lexium 05 drives
appears opposite (3 screens for
every 2 dri ves).
Control of the six Altivar 71
7
variable speed drives is the
same as the lexium 05 but has
no positioning function. The
other control elements remain
the same.