opis Control System XControl XC XV

background image

10/10 MN04802001Z-EN

replaces 07/04 AWB2726-1461GB

User Manual

easy80

0

Control System XControl
CPU Module XC-CPU101-…-XV
Visualisation System XVision
XV-101-K42, XV-101-K84

Eaton Corporation
Eaton ist ein führendes Energie-
Management-Unternehmen. Weltweit
ist Eaton mit Produkten, Systemen und
Dienstleistungen in den Bereichen Electrical,
Hydraulics, Aerospace, Truck und
Automotive tätig.

Eatons Electrical Sector
Eatons Electrical Sector ist weltweit führend
bei Produkten, Systemen und Dienstleistungen
zu Energieverteilung, sicherer Stromversorgung
und Automatisierung in der Industrie, in Wohn- und
Zweckbauten, öffentlichen Einrichtungen, bei Energie-
versorgern, im Handel und bei OEMs.

Zu Eatons Electrical Sector gehören
die Marken Cutler-Hammer®, Moeller®,
Micro Innovation, Powerware®, Holec®,
MEM® und Santak®.

www.eaton.com

Eaton Adressen weltweit:
www.moeller.net/address

E-Mail: info-bonn@eaton.com
Internet: www.eaton.com/moellerproducts

www.eaton.comDirecciones de

Eaton en todo el mundo:
www.moeller.net/address

E-Mail: info-bonn@eaton.com
Internet: www.eaton.com/moellerproducts

www.eaton.comIndirizzi EATON

nel mondo:
www.moeller.net/address

4 *patpks#nycmyn*

Rückenbreite 4 – 6 mm (1 Blatt = 0,106 mm für XBS Digitaldruck)

(1 Blatt = 0,080 mm für Eberwein Digitaldruck bei 80 g/m

2

)

background image

All brand and product names are trademarks or registered
trademarks of the owner concerned.

Emergency On Call Service
Please call your local representative:

http://www.eaton.com/moeller/aftersales

or
Hotline After Sales Service:
+49 (0) 180 5 223822 (de, en)

AfterSalesEGBonn@eaton.com

Original Operating Instructions
The German-language edition of this document is the original
operating manual.

Translation of the original operating manual
All editions of this document other than those in German language
are translations of the original German manual.

1

st

published 2002, edition date 12/02

2

nd

edition 07/04

3

rd

edition 10/10

see list of revisions, page 3

© Eaton Industries GmbH, 53105 Bonn

Author:

Norbert Mausolf

Editor:

Thomas Kracht

Translator:

Patrick Chadwick

All rights reserved, including those of the translation.

No part of this manual may be reproduced in any form
(printed, photocopy, microfilm or any other process) or processed,
duplicated or distributed by means of electronic systems without
written permission of Eaton Industries GmbH, Bonn.

Subject to alteration without notice.

cken

brei

te

f

e

stl

e

g

e

n! (

1

Bl

att = 0,

10

6 mm,

gi

lt

n

ur für XBS)

background image

10/10 MN04802001Z-EN

1

About this manual

3

List of revisions

3

Layout

3

Additional manuals

3

Symbols

3

1

MMI-PLC system design

5

2

Assembly of the MMI-PLC system

7

Fixing the CPU and signal modules

7

Detaching the CPU and XI/OC signal modules

7

Fixing the terminal block to the CPU and the
XI/OC signal modules

8

Wall mounting

8

3

XVision Tool

9

Call XVision Tools

9

Character sets

10

– Edit a character in an existing character set

10

– Copy a character within a character set

10

– Copy a character between different character sets

10

– Designate character set

11

– Print character set

11

– Transfer character sets

11

Text files

12

– Insert columns/lines

12

– Move columns/lines

12

– Text editing

12

– Export text file to Excel97

13

– Designate text file

13

– Print text file

13

– Transfer text file

13

– Special characters

13

4

Create sample project

15

Function

15

– Set up target system

16

– Configure the XC100 controller

17

– Create program

20

Appendix

25

Technical data

25

Dimensions

27

– Equipment dimensions

27

– Fitting dimensions

27

Insertable labels

27

Index

29

Contents

background image

10/10 MN04802001Z-EN

2

background image

10/10 MN04802001Z-EN

3

About this manual

List of revisions

Compared with the 12/02 edition: the CPU-specific chapters have
been partially or completely deleted. These descriptions are now
only to be found in the manual “Hardware, Engineering and
Functional Description, CPU Modules XC-CPU101...(-XV)“
(MN05003004Z-EN; previously AWB2724-1453GB, a section
“Additional manuals”)
.

The potential equilibration busbar can be omitted from the
installation, a chapter “Assembly of the MMI-PLC system”.

Edition 10/10 MN04802001Z-EN: Change to Eaton terminolgy

Layout

The two text displays XV-101-K42 and XV-101-K84 are text-
oriented display and operating units, with display sizes of 4 x 20
characters (K42) and 8 x 40 characters (K84) and 9, respectively
15, function keys. In conjunction with the CPU series XC-101- ...
XV and a total of three central plug-in XI/OC modules they provide
a universal MMI-PLC systems for use in machinery and plant
controls.

The programming software “XSoft” is used for the project
engineering of this equipment. The configuration of the text
display is supported by function blocks and application modules.

These controllers are fitted with interfaces for connecting to a
programming device (RS232) and for linking to decentralised
CANopen expansion units, so they can form the core of a
comprehensive automation system.

The manual is laid out as follows:

The individual components of the system are graphically
represented in Chapter “MMI-PLC system design”.

Following this, you can find out in the Chapter “Assembly of the
MMI-PLC system”
how to fix the CPU and signal modules to an XV
Text Display.

The Chapter “XVision Tool” describes how to create and load
application-specific characters sets and language-dependent texts
for the XV Text Displays.

This is followed by examples showing you how to use the XSoft
software. You can learn about configuration and programming.
After downloading it, you can test out the project a chapter
“Create sample project”.

Additional manuals

Detailed descriptions of the CPU types XC-101- ... XV and the
XI/OC modules can be found in separate manuals:

• “Hardware, Engineering and Functional Description, CPU

Modules XC-CPU101...(-XV)“ (MN05003004Z-EN; previously
AWB2724-1453GB).

This provides information on the operation of the CPU, the
libraries that are available and the function blocks and functions,
on EMC-compliant implementation of the MMI PLC system
(with a wiring example) or on establishing a connection between
the PC and the XC100.

• “Hardware and Engineering, XI/OC Signal Modules”

(MN05002002Z-EN; previously AWB2725-1452GB).

Here you can find out everything that matters about assembly,
installation and wiring of the various modules.

The manuals are available online as PDF files on the CD. The latest
version of the manuals can be found at:

http://www.eaton.com/moeller

a Support

Enter the MN number as the search text.

Symbols

The symbols used in this manual have the following meanings:

X

Indicates instructions on what to do

Selecting ‹File r New› means: activate the command “New” in
the “File” menu.

In order to provide a clear layout, the chapter title is shown in the
header on left-hand pages, and the current section on right-hand
pages. Exceptions are at the first pages of chapters and empty
pages at the end of chapters.

h

Important!
Warns of a hazardous situation that could result in
damage to the product or components.

i

Caution!
Indicates the risk of major damage to property, or slight
injury.

j

Warning!
Indicates the risk of major damage to property, or serious
or fatal injury.

background image

10/10 MN04802001Z-EN

4

background image

10/10 MN04802001Z-EN

5

1 MMI-PLC system design

The units have a compact design, and can be expanded through
local or remote modules.

The basic unit consists of:

• a text display, XV-101-K42 or XV-101-K84
• a CPU XC-CPU101-...-XV for visualisation, with integral power

supply and local inputs/outputs

• a maximum of 3 XI/OC signal modules.

Figure 1 : Basic unit

a Processor unit XC-CPU101....XV
b XV-101-K42 or XV-101-K84 (see also fig. 2 and fig. 3)
c XI/OC signal modules

c

b

a

Figure 2 : Front view of XV-101-K42

Figure 3 : Front view of XV-101-K84

background image

10/10 MN04802001Z-EN

6

background image

10/10 MN04802001Z-EN

7

2 Assembly of the MMI-PLC system

Fixing the CPU and signal modules

X

Insert the loop on the bottom of the CPU module into the hole
in the XV Text Display

.

X

Press the upper edge of the module (CPU and XI/OC signal
modules) onto the XV Text Display, until you hear it click into
place .

Detaching the CPU and XI/OC signal modules

X

Press in the catch

.

X

Keep the catch pressed in, and pull the top of the module
forwards

.

X

Lift up the module and remove it

.

i

Caution!
The CPU must only be pulled out or plugged in while the
system is “dead”. i.e. supply voltage disconnected.
Discharge yourself from static electricity before touching any
electronic modules. Voltage spikes on the bus connector can
cause malfunction of or damage to the modules.

Figure 4 : Rear view of the XV Text Display

a Slot for CPU
b Slot for XI/OC signal modules (max. 3)

b

a

Figure 5 : CPU installation

1

2

2

1

Figure 6 : Detaching the modules

1

2

3

1

2

3

background image

10/10 MN04802001Z-EN

8

Fixing the terminal block to the CPU and the
XI/OC signal modules

X

Fit an additional terminal block to each signal module or CPU.
This terminal block must be ordered separately.

Two different types of terminal block are available:

• Terminal block with spring-loaded terminal clampsType

XIOC-TERM-18T

• Terminal block with screw-clamp terminalsType

XIOC-TERM-18S

X

Insert the point of the screw in the terminal block into the
threaded hole that is provided.

X

Press the upper side of the terminal block onto the module, until
you hear it click into place.

X

Hold the upper side of the terminal block firmly in position, and
tighten up the screw.

X

Tug on the upper part of the terminal block, to make sure that
it is firmly fixed and will not come loose.

Wall mounting

Figure 7 : Fit the terminal block

1

2

3

h

Please note that:

– All the screws for the terminal clamps are M3

screws. Tighten the screws with a torque of 0.49 to
0.78 Nm.

– If cable ferrules are to be used, they should have a

maximum outside diameter of 6 mm.

– Use at most 2 cable ferrules per terminal.
– Use a cable with maximum 0.75 mm

2

cross-section,

or 0.5 mm

2

if two cable ferrules must be fixed under

the same terminal clamp.

Figure 8 :

a Seal is fixed within the instrument
b 6 x fixing bracket

F1

F2

F3

F4

F5

F6

F7

F8

F9

F10

F11

+/-

7

8

9

F12

F13

,

4

5

6

F14

F15

0

1

2

3

ESC

CLEAR

ENTER

RUN

SF

STOP

SHIFT

ins

b

a

background image

10/10 MN04802001Z-EN

9

3 XVision Tool

You can use XVision Tool to create an application-specific
character set for the XV Text Display, edit it, and then transfer it to
the multimedia card. You can also save various texts to a file in
Excel format and upload them to the flash memory of the XV Text
Display. Function blocks are then used to call up these texts.

There is a default character set that cannot be altered. It is
automatically active if no other character set has been selected.
Additional character sets are also provided:

The character sets can be found in the “Fonts” directory, under
XSoft\Targets\Moeller.

You can also create and save your own character sets. A maximum
of 4 application-specific character sets can be loaded, but not
more than two of them can have a character size of 12 x 16
pixels.

The number of the required character sets is activated by the input
parameter “b_Font” in the appropriate function block.

If you use a large character set (12 x 16 pixels), then this halves
the number of lines and the number of characters per line in the
display: the large display can then show 4 lines of 20 characters
each, and the small display can show 2 lines of 10 characters.

Call XVision Tools

X

In the XSoft register “Resources”, select the menu item
“Controller configuration”.

X

Click on the “Additional parameters” register.

The following window is opened

X

Click on the “Toolbox” button.

This starts up the tool for generating character sets (font sets) and
texts.

Std6x8.xft

6 x 8 pixel character set
(corresponds to the default character set)

Std12x16.xft

12 x16 pixel character set

Std6x8_rus.xft

6 x 8 pixel character set
with Cyrillic characters

Std12x16_rus.xft

12 x 16 pixel character set
with Cyrillic characters

Figure 9 : Call XVision Tools via the “Toolbox” button

background image

XVision Tool

10/10 MN04802001Z-EN

10

Character sets

Edit a character in an existing character set

Via ‹File l Open› you can find the character sets provided by XSoft
(XSoft fonts) in the directory “Fonts”.

X

Open the character set “Std6x8.xft”.

If you then double-click on any character, the following window
will open:

You can use the drawing functions that are provided to edit the
selected character:

X

Click on “Apply” to incorporate the altered character in the
character set.

The complete character set is stored via ‹File l Save› or
‹File l Save as›.

Copy a character within a character set

Mark the required character and press the right mouse button.
Using the context menu, you can cut out or copy the character, or
insert an already copied character at the marked position.

Copy a character between different character sets

X

Load the character set “Std6x8.xft”.

X

Under ‹File l New›, select the menu item “XSoft Font”.

X

Select “Small Characters 6 x 8” and confirm with OK.

A second window is opened, which you can arrange as follows, by
using ‹Windows l Tiled›(a figure 11).

The individual characters can be copied, inserted, cut, or deleted.

X

Save the new character set, using ‹File l Save as›.

Figure 10 : Editing characters

Pixel:

Use the left mouse button to place or delete
individual pixels in the character.

Hatch:

Hold the left mouse button pressed down and
mark the area that you want to hatch. This area is
then hatched when you release the mouse button.

Fill:

Hold the left mouse button pressed down and
mark the area that you want to fill. This area is
then filled when you release the mouse button.
You can also draw lines in this way.

Delete:

Hold the left mouse button pressed down and
mark the area that you want to delete. This area
is then deleted when you release the mouse
button.

background image

10/10 MN04802001Z-EN

Character sets

11

Designate character set

Use the menu item ‹Font l Header› to define a project-specific
name that is up to 30 characters long. When the character set is
printed out, this designation will appear on each page at bottom
right. The name and path for the character set will appear at
bottom left.

Print character set

You can use the menu item ‹File l Print› to print out the character
set. Both the page view and the printout will show the
hexadecimal codes as well as the decimal codes for the individual
characters. The name, path and project-specific header will also be
printed out.

Transfer character sets

Under ‹Resources l Control functions l Additional parameters›
you can select character sets in the “Visualisation” window and
transfer them to the multimedia card. Up to 4 different character
sets can be transferred. Character set No. 0 is the default character
set. It can be seen on the display.

X

Select a character set number, and press the “Change” button.

X

Select the required XSoft character sets in the window.

After clicking on the “Load” button, the system presents a query
whether the controller is in the RUN mode. The controller must be
set to the STOP condition in order to transfer character sets.

Figure 11 : Windows arranged for copying characters from one character set to another

Figure 12 : Extract from a character set, with decimal and hexadecimal

codes

Figure 13 : Selecting character sets for transfer to a Smart Media Card

background image

XVision Tool

10/10 MN04802001Z-EN

12

Text files

X

Make the selection after calling up the XVision Tool ‹File l
New› and then the menu item “XSoft Text”.

The following matrix is opened.

Insert columns/lines

Through the menu item “Edit” you can insert or delete a column
or line.

You can also copy, cut or insert individual texts.

Move columns/lines

X

Using the left mouse button, click on the header of the column
or line that you want to move.

X

After clicking the left mouse button again, the entire column or
line can be moved.

A marked line will be inserted above the red line. A marked column
will be inserted to the left of the red line.

Text editing

The text file has the following structure:

A text can consist of up to 40 characters. This corresponds to the
length of a line in the 8 x 40 text display.

The texts are displayed in a character set with a fixed spacing
(Fixed Font “Courier”). This ensures that the character width is
constant – as in the text display.

Figure 14 : Matrix for editing text files

Language 1

Language 2

...

Language n

1

Language 1, Text
1

Language 2, Text 1

Language n, Text
1

2

Language 1, Text
2

Language 2, Text 2

Language n, Text
2

3

Language 1, Text
3

Language 2, Text 3

Language n, Text
3

4

Language 1, Text
4

Language 2, Text 4

Language n, Text
4

5

Language 1, Text
5

Language 2, Text 5

Language n, Text
5

...

n

Language n, Text
n

Language 2, Text n

Language n, Text
n

background image

10/10 MN04802001Z-EN

Text files

13

The cursor position is shown in the status bar during editing. It
corresponds to the column number in the display, and is primarily
an aid for placing setpoints and actual values in the table.

You can rename a column header after clicking on it with the right
mouse button.

In this window you can enter the number for the character set
(Font No.1 to Font No.4), which will be used to indicate the text
from this column in the text display.

Export text file to Excel97

The menu item ‹Text l Export to Excel97› can be used to export
the text file to Excel for further editing. In this way, it is possible to
create text files and translate them into other languages –
independently from XSoft.

The texts can then be transferred from the Excel file to the text file
in XVision Tool, using the “Copy” and “Insert” functions. The
column header will not be transferred; you will have to enter them
in XVision Tool.

Designate text file

Just as for the character sets, you can also enter a name for the
text files under the menu item ‹Text l Header›. This name can be
read out by the function block “GetTextDBInfo” in the program. In
this way, you can find out which text file has been loaded.

Print text file

You can use the menu item ‹File l Print› to print out the text file.
The printout will also show the date, time and page numbers.

Transfer text file

Under ‹Resources l Control functions l Additional parameters›
you can select a text file in the “Text” window and transfer it to
the XV Text Display.

X

Click on the “ ...” button.

X

Select the required XSoft text file in the window.

After clicking on the “Load” button, the system presents a query
whether the controller is in the RUN mode. The controller must be
set to the STOP condition in order to transfer the text file.

The maximum size permitted for the text file is 64 kByte. If the file
is larger, a warning is shown during saving. It is then not possible
to make the download.

Special characters

The XV Text Displays are able to represent special characters. To
enter special characters in the text file, proceed as follows:

X

Activate the numerical block of the keyboard, by pressing the
“Num” key (the LED must light up).

X

Keeping the “Alt” key pressed down, enter the 4-digit decimal
code for the character on the numerical block, and then release
the “Alt” key.

The printout of a character set includes both the decimal codes
and the hexadecimal codes for the characters. You can also find
the codes in the menu ‹File l Page view›.

Figure 15 : Select and name a character set (font)

h

If you select a different character set here (instead of the
default character set), it will take priority over the
character sets given by the parameter settings “b_Font”
in the blocks WriteMultiStringTextDB or
WriteStringTextDB.

h

A description of the function block “GetTextDBInfo” can
be found in the manual “Function blocks for XSoft”. This
manual is provided as a PDF file (h1456g.pdf) on the CD.

The latest version of the manual can be found at:

http://www.eaton.com/moeller

a Support

Search text: AWB2725-1452GB.

Figure 16 : Select a text file for transfer to the XV Text Display

background image

10/10 MN04802001Z-EN

14

The first 32 characters of the character set cannot be entered in the
manner described above. They must be entered directly by using
the input parameter “stri_Text” for the function block concerned
(see note).

Figure 17 : Special characters, with the decimal and hexadecimal codes

h

The entry of special characters is made by a parameter
setting for the corresponding character (in hexadecimal
code) for the “stri_Text” input of the corresponding
function block. The hex-code for the character must be
separated by a $ sign (see also: XSoft manual, “String
constants”.

This manual is provided as a PDF file (h1437g.pdf) on the
CD. The latest version of the manual can be found at:

http://www.eaton.com/moeller

a Support

Search text: AWB2700-1437GB

background image

10/10 MN04802001Z-EN

15

4 Create sample project

In the following example you will learn how to use the XSoft
software. You create a project by creating a configuration and a
program. You can then test out the project after it has been
downloaded.

The configuration is created in the XSoft configuration editor.
A distinction is made between local and central I/Os:

The local (digital) inputs and outputs are integral parts of the CPU
module, implemented on the power supply board. They are
already pre-configured in the configuration editor. The same
applies to all the keys, as well as the function-key LEDs of the text
display. The keys are preconfigured as inputs, and the function-key
LEDs are preconfigured as outputs.

The central inputs/outputs are to be found in the signal modules
that you can plug into the back of the display unit. You can plug
in a maximum of 3 of the available XI/OC signal modules.
Configure them to suit the requirements of the application.

Connect appropriate CANopen fieldbus participants to the
CANopen interface.

The basis for the configuration is the hardware layout shown
inFigure18.

The example makes use of the XC-CPU101-C128K-8DI-6DO-XV
and the text display XV-101-K84.

The project can also be applied to the XV-101-K42 display unit,
except for the response of the function-key LEDs:

Function

The example illustrates the basics of communication with the XV
Text Display, using a few function blocks from the “Visu.Lib”
library.

1. The second line should show an unsigned integer value in the

middle of the display. The value should be an automatically
moving value and be displayed continuously, using the function
block WriteValue.

2. Three function-key LEDs are to be controlled according to the

integer value above:
– for 10000 LED_F10 on,
– for 20000 LED_F11 on,
– for 30000 LED_F12 on.
– If the value reaches 40000, then the LEDs should go out, and

the value should start again from 0.

3. A 5-figure setpoint value with 2 decimal places can be entered

after operating F1.
In addition, after operating F1, the text “Please enter setpoint”
is to be displayed in the 3rd line, (making use of the function
blocks “InputValue”, “WriteLine” and “ClearLines”).

The procedure is described on the following pages.

Figure 18 : Hardware arrangement for the configuration example

RS 232

XT-SUB-D/RJ45

background image

Create sample project

10/10 MN04802001Z-EN

16

Set up target system

After starting XSoft, create a new file:

X

Select the menu item ‹File r New›. Answer the query about
saving the old project.

.

X

Select the target system
(in this case: XC-CPU101-C128K-8DI-6DO-XV).

X

Select the POU type “Program” and the programming language
(ST).

.

X

Confirm with OK, and save the file under “Example_XV100”.

A window will now appear, in which you can continue with the
programming or configuration (a figure 22).

Figure 19 : Save old project?

Figure 20 : Select target system

Figure 21 : Select the block and programming system

Figure 22 : POU type “Program” in IL representation

background image

10/10 MN04802001Z-EN

Function

17

Configure the XC100 controller

In the example, the “XC-CPU101-C128K-8DI-6DO-XV is to be
used”.

X

Select the “Resources” register (left half of window, at bottom),
to configure the XC100 with the local and central inputs and
outputs.

X

Double-click on the directory “Controller configuration”.

The following diagram will appear:

X

Click on the register card “Additional parameters“.

A window appears with the default values for the XC-CPU101-
C128K-8DI-6DO-XV. Under “Visualisation”, use the “Toolbox”
button to start the editor for texts and character sets
(a chapter 3).

Figure 23 : Configure XC100 controller

Figure 24 : Basic configuration of the XC100 – additional parameters

background image

Create sample project

10/10 MN04802001Z-EN

18

X

To display the I/O configuration, click on the plus sign in front
of the directory XC-CPU101-C128K-8DI-6DO-XV.

The local inputs and outputs are already configured:

• “AT %IB0;Byte; (*Local Inputs*)”
• “AT %QB0;Byte; (*Local Outputs*)”
• “XVision-Keyboard”
• “XVision-LEDs”

In addition, you can also set the parameters for up to three central
signal modules. The slots “EMPTY-SLOT” are placeholders
(= wildcards) for the signal modules that are available.

X

Also click on the plus sign in front of the modules

• “AT %IB0;Byte; (*Local Inputs*)”
• “AT %QB0;Byte; (*Local Outputs*)”
• “XVision-Keyboard”
• “XVision-LEDs”.

You will obtain detailed information about the physical addresses
of the inputs and outputs.

Figure 25 : Basic configuration of the XC100 – local I/Os

background image

10/10 MN04802001Z-EN

Function

19

If you want to join up a central digital input module with 16 inputs,
right next to the CPU, then carry out the following steps:

X

Mark the first “EMPTY-SLOT” and then press on the right
mouse button.

X

Select the field “Replace element” in the window.

The window that is now opened lists the signal modules which are
available.

X

Select the module “XIOC-16DI”.

Figure 26 : Basic configuration of the XC100 – local I/O with physical addresses

Figure 27 : Basic configuration of the XC100 – insert module

background image

Create sample project

10/10 MN04802001Z-EN

20

Create program

As described in the presentation of the task on Page 15, a few
function blocks from the “visu.lib” library should be
parameterized, as examples.

Program for Task 1
The second line should show an unsigned integer value in the
middle of the display. The value should be an automatically
moving value and be displayed continuously, using the function
block WriteValue.

X

Select the register “POUs”

X

Double-click on the element “PLC-PRG”

The declaration and program window will be opened.

X

Create the declaration and the program, as shown below, and
then compile the project.

h

Please note that the central addresses start at IB8,
because of the preconfigured keys. A maximum of 3
modules can be configured.

Figure 28 : Program and declaration window

PROGRAM PLC_PRG

VAR

WriteValue1:

WriteValue;

Counter:

UINT;

END_VAR

(* Count value *)

Counter:=Counter+1;

(* Parameterize block *)

WriteValue1(x_Strobe:=TRUE , b_Line:=1 , b_Column:=18 , b_Digits:=5 , typ_DataType:=WRITE_UINT , udi_IntValue:=Counter );

WriteValue1(x_Strobe:=FALSE);

background image

10/10 MN04802001Z-EN

Function

21

X

Load the project into the controller.

X

Test the project.

The following data types can be parameterized at the input
“typ_DataType”:

– WRITE_USINT
– WRITE_UINT
– WRITE_SINT
– WRITE_INT
– WRITE_UDINT
– WRITE_DINT
– WRITE_REAL

Program extension for Task 2:
Three function-key LEDs are to be controlled according to the
integer value above:

– for 10000 LED_F10 on,
– for 20000 LED_F11 on,
– for 30000 LED_F12 on.
– If the value reaches 40000, then the LEDs should go out, and

the value should start again from 0.

X

Enter the program, as shown below, and then compile the
project.

X

Load the project into the controller.

X

Test the project.

(* Count value *)

Counter:=Counter+1;

CASE Counter OF

10000:XVLED_F10:=TRUE;

20000:XVLED_F11:=TRUE;

30000:XVLED_F12:=TRUE;

END_CASE

IF Counter=40000

THEN Counter:=0; XVLED_F10:=0; XVLED_F11:=0; XVLED_F12:=0;

END_IF

(* Parameterize block *)

WriteValue1(x_Strobe:=TRUE , b_Line:=1 , b_Column:=18 , b_Digits:=5 , typ_DataType:=WRITE_UINT , udi_IntValue:=Counter );

WriteValue1(x_Strobe:=FALSE);

background image

Create sample project

10/10 MN04802001Z-EN

22

Program extension for Task 3:
A 5-figure setpoint value with 2 decimal places can be entered
after operating F1.

In addition, after operating F1, the text “Please enter setpoint” is
to be displayed,

(making use of the function blocks “InputValue”, “WriteLine” and
“ClearLines”).

X

Create the declaration and the program, as shown below, and
then compile the project.

X

Load the project into the controller.

X

Test the project.

PROGRAM PLC_PRG

VAR

InputValue1:

InputValue;

WriteLine3:

WriteLine;

ClearLines3:

ClearLines;

WriteValue1:

WriteValue;

Counter:

UINT;

Value1:

REAL;

SR1:

SR;

END_VAR

(* Count value *)

Counter:=Counter+1;

CASE Counter OF

10000:XVLED_F10:=TRUE;

20000:XVLED_F11:=TRUE;

30000:XVLED_F12:=TRUE;

END_CASE

IF Counter=40000

THEN Counter:=0; XVLED_F10:=0; XVLED_F11:=0; XVLED_F12:=0;

END
_IF

(* Parameterize block *)

WriteValue1(x_Strobe:=TRUE , b_Line:=1 , b_Column:=18 , b_Digits:=5 , typ_DataType:=WRITE_UINT , udi_IntValue:=Counter );

WriteValue1(x_Strobe:=FALSE);

(* Activate block InputValue1 and enable again *)

SR1(SET1:=XVFunction_F1, RESET:= XVEnter OR XVEscape);

InputValue1(x_Enable:=SR1.Q1 , b_Line:=5 , b_Column:=8 , b_Digits:=8 , b_Precision:=2 , ui_Timeout:=20,

typ_DataType:=INPUT_REAL , r_MinFloatValue:=0 , r_MaxFloatValue:=90000.00 ,

r_DefaultFloatValue:=Value1 , r_FloatValue=>Value1 );

(* Output text string and delete again *)

WriteLine3(x_Strobe:=SR1.Q1 , b_Line:=3 , b_Column:=0 , stri_Text:='Please enter setpoint:' , x_Reverse:=1 );

ClearLines3(x_Strobe:=XVEnter OR XVEscape , x_Line3:=1 );

background image

10/10 MN04802001Z-EN

Function

23

Sequence for the setpoint entry on the text display:
A HIGH level on the input “x_Enable” activates the block
“InputValue” – the cursor blinks at the right-hand digit of the
setpoint to be entered.

Use the numerical keys to enter the value; use the ENTER key to
accept the value. This sets the output “x_Active” to the LOW level.

The input “ui_Timeout” provides the time limit (in seconds) by
which the input must be completed. If the input takes longer, the
output “b_Error” will generate the error “6” (entry timeout). A
HIGH signal must be applied to the “x_Enable” input before a
value can be entered again.

Use the CLEAR key to delete the input. You can enter a new value
immediately.

Use the ESC key to quit input. Error “5” appears at the “b_Error”
output (input aborted). A HIGH signal must be applied to the
“XEnable” input before a value can be entered again.

If you enter a value that is larger or smaller than has been set by
the parameter inputs “r_MaxFloatValue” and
“r_MinFloatValue”, then the value set for the
“r_DefaultFloatValue” will be displayed when the ENTER key is
pressed.

You can only enter the minus sign after the decimal point has
appeared.

The most recently entered figure appears on the right.

background image

10/10 MN04802001Z-EN

24

background image

10/10 MN04802001Z-EN

25

Appendix

Technical data

XV-101-K42

XV-101-K84

Display

LCD monochrome

LCD monochrome

Background lighting

LED

LED

Operating life (in hours) of the background lighting at 25°C

100000

100000

Contrast adjustment

yes, through software

yes, through software

Lines x characters

4 x 20

8 x 40

Character height

5/10 mm

5/10 mm

Resolution (pixels)

122 x 32

240 x 64

User-defined characters

256

256

Keyboard

Total number of keys

29

35

Number of function keys

9

15

Number with an LED

6

Insertable labelling strips

for all function keys

for all function keys

Number block

Yes

Yes

Cursor block

Yes

Yes

Key reliability

> 3 million switching operations

> 3 million switching operations

SRAM memory

512kByte

512kByte

PLC

XC-CPU101- ... - XV plug-in

XC-CPU101- ... - XV plug-in

Status LEDs

Run, Stop, SF

Run, Stop, SF

I/O expansion

3 XI/OC signal modules

3 XI/OC signal modules

Operating voltage

24 V DC via XC-CPU101- ...- XV
tolerance 18 – 30 V DC

24 V DC via XC-CPU101- ...- XV
tolerance 18 – 30 V DC

Battery

in XC-CPU101- ... - XV

in XC-CPU101- ... - XV

Real-time clock

Yes

Yes

Dimensions

Dimensions at front (WxHxD) in mm

212 x 156 x 49

212 x 156 x 49

Mounting depth in mm, with CPU and XI/OC modules plugged in

150

150

Panel cut-out (WxH) in mm

198 x 142

198 x 142

Weight in kg (without CPU and signal modules)

approx. 0.9

approx. 0.9

Enclosure protection

Front face

IP65

IP65

Housing

IP20

IP20

background image

Appendix

10/10 MN04802001Z-EN

26

Technical data on the CPU types XC-CPU101-...-XV and the
XI/OC signal modules can be found in separate manuals:

• “Hardware, Engineering and Functional Description,

CPU Modules XC-CPU101...(-XV)“ (MN05003004Z-EN;
previously AWB2724-1453GB).

• “Hardware and Engineering, XI/OC Signal Modules”

(MN05002002Z-EN; previously AWB2725-1452GB).

The manuals are available online as PDF files on the CD.
The latest version of the manuals can be found at:

http://www.eaton.com/moeller

a Support

Enter the MN number as the search text.

Standards and regulations

IEC/EN 61131-2
EN 50178

IEC/EN 61131-2
EN 50178

Ambient temperature in °C (with mounting between the vertical and at
45 °)

0 – 50

0 – 50

Storage temperature in °C

–20/+70

–20/+70

Atmospheric humidity (no condensation)

10 – 95 %, IEC/EN60068-2-30

10 – 95 %, IEC/EN60068-2-30

Vibration resistance

10 ... 57Hz +/- 0.075 mm
57 ... 150Hz +/- 1g

10 ... 57Hz +/- 0.075 mm
57 ... 150Hz +/- 1g

Mechanical shock resistance

15 g/11 ms

15 g/11 ms

Surge voltage rating

850 V

850 V

Overvoltage category

II

II

Interference immunity

EN 61000-6-2

EN 61000-6-2

Interference emission

EN 50081-2, Class A

EN 50081-2, Class A

XV-101-K42

XV-101-K84

background image

10/10 MN04802001Z-EN

Dimensions

27

Dimensions

Equipment dimensions

Fitting dimensions

Insertable labels

The XV-101-K42 has two insertable labelling strips for the F keys
F1 to F5 and F6 to F9. The XV-101-K84 has two additional
insertable labelling strips for the F keys F10 to F15.

The units are delivered with labelling strips marked F1 to F15.
Unlabelled strips are also offered on a DIN-A4 film suitable for
laser printing. One film contains three sets for each type of unit.
Ordering code: XT-BS1, order number: 265365

a

b

c

d

e

f

XV-101-...

212

156

150

7

198

142

Figure 29 :

Figure 30 :

Figure 31 :

a

b

121 mm (4.76”)

5 mm (0.19”)

e

f

background image

10/10 MN04802001Z-EN

28

background image

10/10 MN04802001Z-EN

29

Index

A

Assembly

CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Signal modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Terminal block . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

C

Character set

designation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Character sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

– transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Characters

– copying between different character sets . . . . . . 10
– copying within a character set . . . . . . . . . . . . . . 10
– editing in an existing character set . . . . . . . . . . 10

Column

– insert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
– move . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Creating a program (sample project) . . . . . . . . . . . . . . 20

D

Declaration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

E

EMPTY-SLOT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Entry

– delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
– quit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Error message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

F

Font sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Front view of XV Text Display . . . . . . . . . . . . . . . . . . . . 5

I

Insert

Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Insertable labels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

L

Line

– insert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
– move . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

M

Move

Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Multimedia card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

R

Rear view, XV Text Display . . . . . . . . . . . . . . . . . . . . . . 7

S

Sample project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Setpoint entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Special characters – entering in a text file . . . . . . . . . . 13
Structure of the text file . . . . . . . . . . . . . . . . . . . . . . . . 12
Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

T

Text editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Text file

– export to Excel97 . . . . . . . . . . . . . . . . . . . . . . . . 13
– transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

W

Wall mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

X

XC100 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 17
XI/OC modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

background image

10/10 MN04802001Z-EN

30


Document Outline


Wyszukiwarka

Podobne podstrony:
Control System Toolbox
10 Emission control system
07 emission control system
10 Engine Control System
ENGINE CONTROL SYSTEM
10 Engine Control System
Core Wall Survey Control System for High Rise Buildings
Air Control System
80 Vehicle Control System
Microprocessor Control System for PWM IGBT Inverter Feeding Three Phase Induction Motor
Control Systems Simulation using Matlab and Simulink
wstęp opis złoża i systemu
autronic instrukcja obslugi programowalnego ukladu sterujacego lambda control system al700
80 Vehicle Control System
4 PROFESJONALNE SYSTEMY BUKMACHERSKIE - OPIS, Biznes, Systemy analizy bkmacherskiej
Opis VBA, systemy excela, makra
Lambda Control System AL 720 ENG

więcej podobnych podstron