MTP01 Tutorial En

83
March 2010 1/83 MTP01 screen & Millenium3 Tutorial This powerpoint will show you the programming functions of MTPWIN, it will take you to open MTP01 and Millenium3 programs to discover the mode of its operation. The Tutorial is an interactive document containing links. The 'arrows', which are usually placed at the top of the documents, allow to jump between the different chapters of the document. The blue rectangles connect to other documents, videos and the example programs.

Transcript of MTP01 Tutorial En

Page 1: MTP01 Tutorial En

March 2010 1/83

MTP01 screen & Millenium3

Tutorial

This powerpoint will show you the programming functions of MTPWIN, it will take you to open MTP01 and Millenium3 programs to discover the mode of its operation.

The Tutorial is an interactive document containing links.

The 'arrows', which are usually placed at the top of the documents,

allow to jump between the different chapters of the document.

The blue rectangles connect to other documents, videos and the example programs.

Page 2: MTP01 Tutorial En

March 2010 2/83

• Software installation and wiring

• The various functionalities of the MTP01 (links to the program descriptions)

• Basics

- Addressing

- Configurating the address zone to pilot MTP01 by Millenium3 (M3)

• MTP01 presentation

- Introducing MTPWIN

- Wiring and commissioning an M3 – MTP01 data exchange

- Read/write word/bit

- Recipe

- Pilot MTP01 by M3

- Read/write parameters M3

- Line graph

- Messages

- Bitmaps

- Reading out sample data

- Links to MTP01 / M3 programs

• Glossary

Contents

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 3: MTP01 Tutorial En

March 2010 3/83

Restart your PC after installation

• Installing the MTPWIN software

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 4: MTP01 Tutorial En

March 2010 4/83

• Installing the software Millenium3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 5: MTP01 Tutorial En

March 2010 5/83

OFF

24VDC+

-

Wiring for program transferDisconnect the power whenever inserting or extracting the programming cable into/from Millenium3 or MTP01 !

or

or

!

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 6: MTP01 Tutorial En

March 2010 6/83

ON

24VDC+

-

Program transfer

or

or

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 7: MTP01 Tutorial En

March 2010 7/83

The data exchange cable Millenium3 MTP01

Supply +24Vdc

0Vdc

Millenium 3 cable

White

Black

Green

Red

Wiring cable 88 970 442 to the connector of MTP01

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 8: MTP01 Tutorial En

March 2010 8/83

Wiring for use / data exchangeDisconnect the power whenever inserting or extracting the Millenium3 - MTP01 data exchange cable !

Connecting

Data exchange

!

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 9: MTP01 Tutorial En

March 2010 9/83

The various MTP01 functionalities

Links:

• Conditions / comparator

• Read/write Word – Bit

• Recipe management

• Piloting MTP01 by M3

• Reading the M3 status

• Reading/writing the M3 clock

• Line Graph

• Bargraph

• Messages

• Bitmaps

• Scrolling messages

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 10: MTP01 Tutorial En

March 2010 10/83

• Addressing» Example

» Address area

– BSLIN

– BSLOUT

– Configurating the address zone to pilot MTP

» Internal address area (MTP)

» External address area (M3)

– Details of the area used by M3

BASICS

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 11: MTP01 Tutorial En

March 2010 11/83

SLIn = Serial Link In Function block that allows M3 to read 8 words by using the M3programming port.

3 blocks with 8 words each can be used (addresses 1-8, 9-16, 17-24)

SLIn S Same as SLIn but saves values at power failure. (Use either SLIn or SLIn S in a program, do not mix both types)

SLOut = Serial Link Out Function block that allows M3 to write 8 words by using the M3

programmimg port.

3 blocks with 8 words each can be used (addresses 25-32, 33-40, 41-48)

M3 Millenium3

MTP = Millenium Touch Panel Screen of the M3

MTPWIN Programming software of the MTP01

WSLIN Word address in MTPWIN related to an SLIn function block

WSLOUT Word address in MTPWIN related to an SLOut function block

BSLIN Bit address in MTPWIN related to an SLIn function block

BSLOUT Bit address in MTPWIN related to an SLOut function block

Definitions:

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 12: MTP01 Tutorial En

March 2010 12/83

Addressing

MTP M3 M3 MTP

Word address area:

Millenium3: SLIn 1 - 24 MTPWIN: WSLIN 1 - 24

Millenium3: SLOut 25 – 48 MTPWIN : WSLOUT 25 - 48

Words and Bits are used for the data exchange between MTP01 and M3.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 13: MTP01 Tutorial En

March 2010 13/83

Word addressing example

M3: SLIn4 MTPWIN: WSLIN4

SLIn4

SLOut31

M3: SLOut31 MTPWIN: WSLOUT31

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 14: MTP01 Tutorial En

March 2010 14/83

Addressing a bit - BSLIN

M3bit01 - LSB

bit02

bit03

bit04

bit05

bit06

bit07

bit08

bit09

bit10

bit11

bit12

bit13

bit14

bit15

bit16 - MSB

Input 1

MTPBSLIN10

BSLIN11

BSLIN12

BSLIN13

BSLIN14

BSLIN15

BSLIN16

BSLIN17

BSLIN18

BSLIN19

BSLIN1A

BSLIN1B

BSLIN1C

BSLIN1D

BSLIN1E

BSLIN1F

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 15: MTP01 Tutorial En

March 2010 15/83

Addressing a bit - BSLOUT

MTPBSLOUT250

BSLOUT251

BSLOUT252

BSLOUT253

BSLOUT254

BSLOUT255

BSLOUT256

BSLOUT257

BSLOUT258

BSLOUT259

BSLOUT25A

BSLOUT25B

BSLOUT25C

BSLOUT25D

BSLOUT25E

BSLOUT25F

Output 25

M3bit01 - LSB

bit02

bit03

bit04

bit05

bit06

bit07

bit08

bit09

bit10

bit11

bit12

bit13

bit14

bit15

bit16 - MSB

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 16: MTP01 Tutorial En

March 2010 16/83

Addressing bits in M3 is done with these function blocks:

How to address a bit in MTPWIN:

The bits (BLSOUT or BSLIN) are described like this: N word + N°bit

Example: To work with bit 15 on SLOut12, it will be noted as BSLOUT12E.

The address area ranges from 1 to 48 and is defined as follows:

Bit SLIn 1.1 - 24.16 of M3 BSLIN 10 to 24F in the MTPWIN

Bit SLOut 25.1 – 48.16 of M3 BSLOUT 250 to 48F in the MTPWIN

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 17: MTP01 Tutorial En

March 2010 17/83

Basic communication Area to PLC (M3):

Internal addresses reserved to pilot the MTP01

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 18: MTP01 Tutorial En

March 2010 18/83

Internal pilot area (MTP01):

PositionF E D C B A 9 8 7 6 5 4 3 2 1 0

n +BIT ex:

WGR0F = 1 (buzzer on)

Buzzer

Forc

e v

iew

Backlig

ht o

n/o

ff

Blin

kin

g b

acklig

ht

Backlig

ht c

olo

rN+1 ex: WGR1 Not used

N+2 ex:WGR2 Not used

N ex: GDT0 Change screen (hexadécimal)

N+1 ex: GDT1 Not used

N+2 ex:GDT2 Number of the screen actually in use (hexadécimal)

Backlight colors (default = green)

Bit B A

Off 0 0

Green 0 1

Red 1 0

Orange 1 1

One can use keys in the screen to pilot the MTP01

MTP01_Internal_ScreenContr.IOPLink:

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 19: MTP01 Tutorial En

March 2010 19/83

The M3 data zone reserved by default (not adjustable):

To pilot MTP01 by Millenium3

WSLOUT45 from M3

WSLOUT46 from M3

WSLIN23 to M3

WSLOUT47 from M3

WSLOUT48 from M3

WSLIN24 to M3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 20: MTP01 Tutorial En

March 2010 20/83

The M3 data zone

reserved by default:

Copy of WSLOUT47

Change the MTP01 page

Use prohibited

Pilot the MTP01 screen

WSLOUT45 from M3

WSLOUT46 from M3

WSLIN23 to M3

WSLOUT47 from M3

WSLOUT48 from M3

WSLIN24 to M3

Use prohibited

Use prohibited

Bit B A

Off 0 0

Green 0 1

Red 1 0

Orange 1 1

Position (WSLOUT47) F E D C B A 9 8 7 6 5 4 3 2 1 0

n +BIT ex: 47+F (buzzer)

Bu

zze

r

Fo

rce

vie

w

Bac

klig

ht O

n/O

ff

Fla

sh

ing

ba

ck

ligh

t

Bac

klig

ht c

olo

r

MTP01_ScreenControl.IOP

Links:Screen_Control.pm3 Back to page 54

Reminders

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 21: MTP01 Tutorial En

March 2010 21/83

MTPWIN presentation

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 22: MTP01 Tutorial En

March 2010 22/83

• PRESENTATION

- Screen management

- First start with MTPWIN

- Creating a new program

- The important menus

- Transfer parameters

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 23: MTP01 Tutorial En

March 2010 23/83

Launching MTPWIN the 1st time (creating a new program).

Tick here to start the flash

Tick here to start the video

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 24: MTP01 Tutorial En

March 2010 24/83

Programming screen

Parts library

Screen manager

The MTPWIN programming window

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 25: MTP01 Tutorial En

March 2010 25/83

Screen management

The screen management is

done by double-clicking here

Or :

mark screen and tick ‘Open’

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 26: MTP01 Tutorial En

March 2010 26/83

Placing a component (part) on the screen

To place a part on the

screen, click on the

part with the left

mouse key, hold the

key, drag the part to

the screen and release

the key where you

want to place it. (Drag

and drop) Like with

the Millenium3

software.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 27: MTP01 Tutorial En

March 2010 27/83

The main menus 1

This shows the address

of a part

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 28: MTP01 Tutorial En

March 2010 28/83

The main menus 2

Reopens the Parts library Access

to the Help file !

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 29: MTP01 Tutorial En

March 2010 29/83

MTPWIN configuration menu

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 30: MTP01 Tutorial En

March 2010 30/83

Reading M3 clock (On or Off)

Backlight brightness setting

Beep (On or Off)

MTP configuration menu

Recipies Line graph

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 31: MTP01 Tutorial En

March 2010 31/83

Transfer parameters and program transfer

Tick here to start the flash

Tick here to start the video

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 32: MTP01 Tutorial En

March 2010 32/83

Wiring for program transfer PC MTP01Disconnect the power whenever inserting or extracting the programming cable into/from MTP01 !

OFF

!

24VDC+

-

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 33: MTP01 Tutorial En

March 2010 33/83

Program transfer PC MTP01

ON

24VDC+

-

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 34: MTP01 Tutorial En

March 2010 34/83

Connection configuration

File Transfer

Where to find the

COM ports

COM configuration

Tick here

Select RS232C

Tick OK

If a USB to serial adapter

is used, select the

appropriate port according

to the Device Manager

before ticking OK !

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 35: MTP01 Tutorial En

March 2010 35/83

Data transfer PC MTP01

Updates Firmware.

Important to mark on first data

transfer.

• All data

• Transfer data after clear screen (optional)

• Select Recipe if necessary

• Enter Recipe File N°(s) if necessary

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 36: MTP01 Tutorial En

March 2010 36/83

Wiring for program transfer PC M3Disconnect the power whenever inserting or extracting the M3 programming

cable!

OFF

or

or

!

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 37: MTP01 Tutorial En

March 2010 37/83

ON

or

or

Program transfer PC M3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 38: MTP01 Tutorial En

March 2010 38/83

Connection

configuration

Tick here

Enter the COM-port according to the information in the Device Manager

Tick OK

Where to find the

COM ports

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 39: MTP01 Tutorial En

March 2010 39/83

Transferring the program PC M3

Tick here to start the flash

Tick here to start the video

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 40: MTP01 Tutorial En

March 2010 40/83

Wiring for use / data exchange ReminderDisconnect the power whenever inserting or extracting the Millenium3 - MTP01 data exchange cable !

!

Connecting

Data exchange

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 41: MTP01 Tutorial En

March 2010 41/83

• Commissioning an M3 – MTP01 program example

Description of the program:

Read/write word and bit between M3 and MTP01.

- Read a word by MTP01

- Read a bit by MTP01

- Write a bit to M3

Links :

QuickMTP01.IOP

QuickProg.pm3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 42: MTP01 Tutorial En

March 2010 42/83

• Read / write bit

Double click on the parts to

open the parameter windows

Drag and drop:

- Switch

- Lamp

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 43: MTP01 Tutorial En

March 2010 43/83

• Read / write word

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 44: MTP01 Tutorial En

March 2010 44/83

• Read / write word

Here one enters the part

number of the keyboard

that has been placed on

the screen.

(Or, if there are several,

the keyboard that is to be

linked to the data entry.)

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 45: MTP01 Tutorial En

March 2010 45/83

• Recipe management

– Control area

– Read/write word

– Read/write bit

Back to page 30MTP Configuration Menu

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 46: MTP01 Tutorial En

March 2010 46/83

A recipe is a group of parameters that belong together.

Description of a recipe: A machine produces parts with different dimensions in different amounts. The parameters and

amounts for each part, called recipies, are sent to Millenium3 by the MTP01 when a new production batch is started.

An example: - Thickness

- Width

- Length

- Number of pieces

All parameters should be sent simultaneously to Millenium3. By using MTP01 one can imagine to have several recipies

(parameter groups). One can create an Excel table which can be imported by the MTPWIN software, allowing to transfer

these recipies (parameter groups) to the MTP01 screen and from there to Millenium3.

- Thickness

- Width

- Length

- Amount

File N°0; Recipe N°0

File N°0Recipe N°2

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 47: MTP01 Tutorial En

March 2010 47/83

Recipe management

WORD/BIT F E D C B A 9 8 7 6 5 4 3 2 1 0

n

Dele

te re

cip

es o

n M

TP

05

Write

from

MT

P0

5 to

M3

n+1 File n

n+2 Recipe n

n+3

Error code N :

0: No errors

1: The file number was not indicated

2: The recipe number was not indicated

3: Insuffisant memory

The M3 pilot area,

adjustable:

Recipe control register (example)

Example on WGR10

File N WGR11

Recipe N WGR12

Error code WGR13

Write to M3 GR100

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 48: MTP01 Tutorial En

March 2010 48/83

• Creating recipies 1Menu: Start editor Recipe

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 49: MTP01 Tutorial En

March 2010 49/83

• Creating recipies 2

Double click

Enter values

manually

Menu: Start editor Recipe

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 50: MTP01 Tutorial En

March 2010 50/83

• Commissioning an M3 program example

Program description:

Recipe management

Preselect values for

counters sent by MTP01.

• Recipe management

File N°0; Recipe N°0

File N°0

Recipe N°2

Links :

Recipe_MTP01.IOP

Rec_MTP.pm3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 51: MTP01 Tutorial En

March 2010 51/83

• Commissioning an M3 program example

• Recipe management

Recipe control register (example)

Example on WGR10

File N WGR11

Recipe N WGR12

Error code WGR13

Write to M3 GR100

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 52: MTP01 Tutorial En

March 2010 52/83

• Pilot MTP01 by M3

– Example

– Configuration « Basic Communication Area »

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 53: MTP01 Tutorial En

March 2010 53/83

• Piloting MTP01 by M3

• Program description:

• Manage pages by M3.

• Buzzer activation with M3 keys.

• Manage MTP01 backlight colors with M3 keys.

• Activate flashing backlight with M3 keys.

Links :

MTP01_ScreenControl.IOP

Screen_Control.pm3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 54: MTP01 Tutorial En

March 2010 54/83

Changing a page

Parameters in the M3 program:Buzzer activation, changing the

backlight color or flashing is done on

word SLOut47, bits 11,12,13,14 and 16.

To realise switching a screen page use

word SLOut45.

The block SLIn17-24 must be present in

the M3 program.

To control the MTP05 with the keys, in- or outputs of M3

one has to use SLOut function blocks.

• REMINDERS

Reminder page 19

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 55: MTP01 Tutorial En

March 2010 55/83

• Page management using M3.

Buzzer activation using the M3 keys.

Managing the backlight color of MTP01 using the M3 keys.

Activate the flashing backlight using the M3 keys.

To be able to do this :

1. Go to: File Configuration MTP Configuration

2. Configure the ‘Basic Communication Area’ as shown

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 56: MTP01 Tutorial En

March 2010 56/83

• Read/write M3 parameters

– Read status

– Read/write M3 clock

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 57: MTP01 Tutorial En

March 2010 57/83

• Status M3, Clock M3

• Program description:

• Read M3 status by MTP01.

• Read/write M3 clock

Links :

Status_Clock.IOP

S_C_Base.pm3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 58: MTP01 Tutorial En

March 2010 58/83

• Read M3 status

Reading the status is used to see if M3 is

running, has stopped or shows an error.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 59: MTP01 Tutorial En

March 2010 59/83

• Read M3 clock

Go to: File Configuration

MTP Configuration

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 60: MTP01 Tutorial En

March 2010 60/83

• Write/Read M3 clock

The example shows how to write

to the Millenium3 clock

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 61: MTP01 Tutorial En

March 2010 61/83

• Line Graph

– Program example

– Configuration

• Bargraph

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 62: MTP01 Tutorial En

March 2010 62/83

• Line Graph

• Program description:

• Create a line graph using values from M3.

• Switch the line graph input to show potentiometer values.

Links :

Line_Graph.IOP

Line_Graph.pm3

Back to page 30MTP Configuration Menu

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 63: MTP01 Tutorial En

March 2010 63/83

• Line Graph 1Go to: File Configuration MTP

Configuration Line Graph

Page 80Read out Sample Data

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 64: MTP01 Tutorial En

March 2010 64/83

• Line Graph 2

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 65: MTP01 Tutorial En

March 2010 65/83

Links :

Bargraph.IOP

Bargraph.pm3

• Bargraph

• Program description:

• Create a bargraph using values from M3.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 66: MTP01 Tutorial En

March 2010 66/83

• Bargraph

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 67: MTP01 Tutorial En

March 2010 67/83

• Other functions

– Example programs

• Messages

• Bitmaps

• Scrolling messages

– Comparator

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 68: MTP01 Tutorial En

March 2010 68/83

Links :

MTP01_Messages.IOP

Message_Base.pm3

• Messages

• Program description:

• Display different messages using one SLOut address.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 69: MTP01 Tutorial En

March 2010 69/83

• Messages 1

How the Message parts work:• The Message part automatically splits up a 16bit word address

into four 4bit sub addresses.

• Each of these ‘sub addresses’ allows to show up to 16 different

text messages.

• So using one SLOut address it is possible to display up to 64

different process informations.

1. Define the number of

messages to be displayed.

2. Define the ‘sub address ‘

which is to be used.

In the example on SLOut26 the

possible settings are:

26-0

26-1

26-2

26-3.

The number of the message

(0,1, 2,…) defines which value

is needed to activate it.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 70: MTP01 Tutorial En

March 2010 70/83

• Messages 2

Enter character string,

font type and size.

Words (values) are used in the communicationbetween M3 and MTP.

So in order to activate a specific message, M3has to send the value linked to this message.

There are several possibilities to realise this.

• Create a program similar to the examplebelow.

• Use the example below to define the valuenecessary for a specific message. Write thisvalue to an SLOut when the message needs

to be displayed.

• Use the example as a base to create a table

for the FBD_C (Application SpecificFunction Block) ‘Y=f(x)’. Input = page number to be displayed, output = apropriate value.

Link :

Message_Cam.pm3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 71: MTP01 Tutorial En

March 2010 71/83

• Bitmap and scrolling messages

• Program description:

• Insert a bitmap image

• Show scrolling messages

The scrolling messages are shown on all screens

and are therefore not configurable per screen.

Link :

MTP01_Bitmap.IOP

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 72: MTP01 Tutorial En

March 2010 72/83

• Bitmap 1max. size 128 x 64 dots

How to create a Bitmap:

1. Draw the schematics of ones application using powerpoint, etc.,

(or directly in the MTPWIN software) or copy any picture /

diagram into PowerPoint, redimension it, tick right, ‘save as

image’, .bmp.

2. To verify the size, copy to Paint, tick ‘Image’, ‘Attributes’, or

move the mouse over the saved image to activate the pop-up.

3. Copy and paste it into an empty MTP01 screen, or enter it into

the MTPWIN Bitmap Library.

Black and white diagrams and pictures produce the best results.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 73: MTP01 Tutorial En

March 2010 73/83

Creating a bitmap

Create your own library

of images, and you can

use them in any

program you make.

• Bitmap 2max. size 128 x 64 dots

Go to: Start Editor Bitmap

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 74: MTP01 Tutorial En

March 2010 74/83

Inserting a bitmap

• Bitmap 3max. size 128 x 64 dots

Bitmap video

Bitmap flash

Double click

Click

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 75: MTP01 Tutorial En

March 2010 75/83

• Scrolling messages 1

Go to: Start Editor Flow Display

Enter text here

If activated by key

of the MTP displayIf activated by M3

Define font

type and size.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 76: MTP01 Tutorial En

March 2010 76/83

• Scrolling messages 2

Message video

Message flash

Define font

type and size.

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 77: MTP01 Tutorial En

March 2010 77/83

• Comparator 1Go to: Start Editor Write Device

The « Write Device » will

compare a value and,

according to the result,

carry out an operation on

a word or bit.

One can apply the

comparator to a specific

screen or to all screens

of a program.

Links :MTP01_Write_Device.IOP

WriteDevice.pm3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 78: MTP01 Tutorial En

March 2010 78/83

• Comparator 2

Write Device video

Write Device flash

After defining the

condition(s):

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 79: MTP01 Tutorial En

March 2010 79/83

• Comparator 3The advantage of using ‘Write Device’:

The program ‘Comparator_M3.pm3’ together with ‘Comparator_M3.IOP’ has the same functionality,

as ‘WriteDevice.pm3’ in connection with ‘MTP01_Write_Device.IOP’.

In case of ‘WriteDevice’ the M3 program is smaller, because the functions of switching Messages, pages,and colour, and the complete value comparision has been transfered to the Write Device of the MTP.

WriteDevice.pm3Comparator_M3.pm3

MTP01_Write_Device.IOPComparator_M3.IOP

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 80: MTP01 Tutorial En

March 2010 80/83

Go to: Start Programs Crouzet MTPWIN Tools MTP Memory Editor

• Accessing Sampled Data 1

Select Graph, then

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 81: MTP01 Tutorial En

March 2010 81/83

• Accessing Sampled Data 2

In this example, the last 160 samples

that have been registered, up to the

moment the transfer order has been

given, can be read out and saved.

Back to page 63Line Graph

Number of registered samples

available for transfer.

See 'Line graph' configuration

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 82: MTP01 Tutorial En

March 2010 82/83

• Links to M3 / MTPWIN programs

M3 Programs: MTPWIN Programs:

Conditions Conditions

Comparator M3

Bitmap & Scroll messagesMessage explanation

MessagesMessages

BargraphBargraph

Line graphLine graph

Status / clockM3 status / clock

MTP01 piloted by M3Pilot MTP01 by M3

RecipeRecipe

Read/write bit/wordRead/write bit/word

Internal screen control

Comparator by M3

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01

Page 83: MTP01 Tutorial En

March 2010 83/83

• Glossary

• Bit logic status (1 or 0)

• Word a 16 bit value

• WGR internal MTP register (Word)

• GDT internal MTP register (Word)

• GR internal MTP register (Bit)

• WSLOUT word/address on block SLOut M3

• WSLIN word/address on block SLIn M3

• BSLOUT bit of a word on block SLOut M3

• BSLIN bit of a word on block SLIn M3

• M3 Millenium3

• MTPxx Millenium Touch Panel (screen of the M3)

• .pm3 program written with the M3 software

• .IOP program written with the MTPWIN software

Software

Installation

and Wiring

MTP01

Functiona-

lities

Addressing

Internal

Address

Zone

MTPWIN

Introduction

Links to

M3 + MTP01

Programs

Data

BackupGlossary

Commi-

sioning

M3+MTP01