+ All Categories
Home > Documents > ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic...

ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic...

Date post: 22-Mar-2018
Category:
Upload: vuongliem
View: 248 times
Download: 5 times
Share this document with a friend
36
Schneider Electric - Motion & Drives training - Bertrand Guarinos ATV32 ATV Logic Motion & Drives Training
Transcript
Page 1: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

Schneider Electric - Motion & Drives training - Bertrand Guarinos

ATV32 ATV LogicMotion & Drives Training

Page 2: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

2Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV32 ATV LogicSummary

> Objectives

> What is ATV logic ?

> The function blocks

> Programming

> Scrolling poster demo

> Quiz

Page 3: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

3Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicMain features

● Why ATV logic ?

● It allows customers to write their own small application inside ATV32.

● It extends the ATV customization capabilities

● ATV Logic interacts with:

● The drive core control

● The Inputs/Outputs

● The communication buses

● The HMI

● ATV Logic programming

● With Somove software (VSD software)

● A set of Function blocks (FBD) instruction

● Boolean, arithmetic operations, timers, counters, comparators …

Page 4: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

4Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

Comparing of 2 solutions

Integrated solution ATV logic + safety

617€ price list+ cabling 2 hours

ATV312

0.18Kw

Zelio

SR3B261BD

XBT N401

XBT Z938

Modular solution

Pre

venta

SR

3 M

BU

01

BD

Drive

HMI

Safety

PLC

969€ price list+ cabling 1 day

Cont

actor

Page 5: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

5Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicPosition on controllers market

Schneider Electric 2- Division - Name – Date

Application

Size

(code, IOs)

Pe

rfo

rma

nce

s

(Dn

rt)

LOGIC

functionsController

inside

Dnrt: device node response time

Page 6: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

6Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicLanguage FBD under SoMove

Easy programming language with function block diagram (FBD)

Page 7: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

7Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicPerformances

● 30 different function blocks

● HMI customizable menu with up to 8 dedicated parameters

● All drive I/O and more useful parameters and communication accessible

● 3 tasks, 2 synchronized and 1 auxiliary

● Cycle time 2ms (sync with ATV)

● Max function blocks 10 (sync task)

● More in auxiliary task (up to 50)

● 8 Internal Word (%MW)

● System bits (%S), (timer, save conf ..)

Page 8: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

8Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

Schneider Electric 3- Division - Name – Date

M3~

Power

stage

Application

control

HMI IOs Network

Logic Functions

Runtime

ATV LogicInteractions

ATV Logic overlay is inserted

between the core VSD control

and its periphery

It comes in addition with ATV

native functions

Page 9: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

9Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicAchitecture

VSD Inputs VSD outputs

ATV Logic

pre

ATV Logic

post

Page 10: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

10Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicCycle

Page 11: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

11Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV32 ATV LogicSummary

> Objectives

> What is ATV logic ?

> The function blocks

> Programming

> Scrolling poster demo

> Quiz

Page 12: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

12Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicFunctions

Not Not function on a boolean

And, Nand And and Nand on 4 Booleans

Or, Nor, XOR Or, Nor on 4 bouleans

Xor on 2 bouleans

Compare Compares two signed 16 bits words

>, <, =, not =

Boolean Operator Gives the value of the output according to the

combination of inputs.

The function has four inputs, and therefore 16

combinations

Set, Reset The Set input sets the Q output to the true logical state

The Reset input sets the Q output to the false logical

state

Page 13: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

13Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicFunctions

Up/down count Count up, Count down, Reset

Preset inputs, Preset parameter (signed)

Logical output ,Actual value

Mux The Multiplexing function carries out two input

channel multiplexing on the Output.

Trigger Allows an analog value to be monitored relative

to two thresholds. The output changes state if :

•The input value is less than the minimum

value

•The input value is greater than the maximum

value.

Gain Enables analog values (16 bits signed words)

to be converted by changing the scale and

offset Output = (Input value x (A/B)) + C

Used for scalling

Page 14: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

14Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicFunctions

Timer On/Off The Timer function is used to delay, prolong

and control actions over a predetermined time.

The A function: timer on-delay, or timer active,

•The C function: timer off-delay, or timer idle,

•The A/C function: combination of functions A

and C.

Add/Sub Output value = Input A + Input B – Input C.

(A,B,C and output value are 16 bits signed

words)

Mul/Div Output value = (Input A x Input B)/Input C.

(A,B,C and output value are 16 bits signed

words).

Edge The function detects falling, rising or both

edge(s) of a signal.

Page 15: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

15Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicFunctionsSigne Convert word

Signed to not signed, Not signed to signed

Signed input range: -32768 to +32767.

Unsigned output range: 0 to 32767

Read/write

parameter

Read / write drive parameter

Ex Acceleration

Use the ADL containers to link with the

parameters of the drive

Read a parameter bit Read/write a bit in a drive parameter

word. Ex Fault in status word STA

Use the ADL containers to link with the

parameters of the drive

Shift Roll Allows to shift or rolls to the left/right the IN

value of a fixed number of bits

Word to bit

Bit to word

Transfer a contiguous bit string (Bitx to

Bitx+16) to a 16 bits word.

Transfer a a 16 bits word to a contiguous bit

string (Bitx to Bitx+16)

Page 16: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

16Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicFunctions

Internal variables 8 %MW, 5%Sx 8 internal words used also for the

keypad FBD menu

5 system bits, time base, store conf.

Drive I/O LI, AI, LO, AO

Contant Input of constant value

True/False input Input of boolean values

Page 17: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

17Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV32 ATV LogicSummary

> Objectives

> What is ATV logic ?

> The function blocks

> Programming

> Scrolling poster demo

> Quiz

Page 18: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

18Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

Working platform in SoMove

1. Function Block input

zone.

2. Connection.

3. Function block.

4. Wiring sheet.

5. Comments.

6. Links between two

function blocks.

7. Function blocks

number.

8. Function block Output

zone.

9. Palette panel.

Page 19: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

19Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV logic Tasks

Pre The PRE task is executed in priority before Drive task, used to set inputs and motor control. Cycle = 2ms

synchronised

Post The Post task is executed in priority after Drive task, used to feedback motor parameter status. Cycle = 2ms

synchronised

Aux The AUX, used to execute long background task with no priority. Cycle depends on program length and drive

priority task

Page 20: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

20Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV Outputs

table

Principal of assignment

ATV Logic

Virtual inputs

VI1

VI2

ATV Inputs

variables

LI1 (VI1)

Lin (VI2)

Cdn ..

(W.) AI1

(W.) AIn

(W.) Motor

freq

(W.) Motor

torque

(W.)Pulse

….

Acc (W.)

Wn

.

.

VI3

VI4

VI6

VI7

ATV Logic

Virtual outputs

VO1

VO2

V03

VI5

LI2 (VO1)

R1 (VO2)

R2 (VO6)

Virtual inputs

are assign to a

drive variable

like for any

other functions

Select the virtual

input (Vix) in the

ATV logic menu

then assign a LI or

the Word

corresponding to

an ATV variable

Virtual outputs

are assign to a

drive variable

like for any

other functions

Select the drive

function (Rx) in the

ATV l/O menu then

assign the virtual

output (VOx)

Or send the output

of a block directly

to a Word

%MW

Wx (AO)

Page 21: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

21Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

I/O managment

● Each task can use up to 10 virtual inputs (Ix) and outputs (Ox)

Lets realize the following program

Relay R2 is on if LI2 and LI3 are activated

LI2

LI3

R2

Page 22: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

22Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

I/O managment

● To be used the virtual input have first to be assign to a

physical Logic Input of the drive

● This is done in the menu “Function block - Affectation”

Page 23: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

23Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

I/O managment

● To be used the virtual Output have first to be assign to

a physical Logic Output of the drive

● This is done in the menu “Input output - Configuration”

● Like a classical assignment of an output

Page 24: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

24Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

I/O managment

Lets realize the following program

LSP is added to AI1 input then write in

Analog output AO

AI1AO

LSP

Page 25: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

25Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

I/O managment

● To be used virtual analog input have first to be assign

to a physical Analog Input of the drive

● This is done in the menu “Function block - Affectation”

Page 26: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

26Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

I/O managment

● To be used the parameter input has first to be assign to

a ADL container (up to 8) of the drive

● Then the logic address of the parameter is put in the

container in menu “Function block – ADL Container”

● Like a classical assignment of an output

LSP logical address

is 3105

Page 27: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

27Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

I/O managment

● To be used the virtual analog output has first to be assign to

a physical Analog Output of the drive

● This is done in the menu “Input output – Configuration AO1 ”

● Like a classical assignment of an output

Page 28: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

28Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV32 ATV LogicSummary

> Objectives

> What is ATV logic ?

> The function blocks

> Programming

> Scrolling poster demo

> Quiz

Page 29: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

29Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicStand alone applications

Power On

Homing

Select nb posters

Time in place

Scroll speed

Poster length

Start/Stop

Place poster

Wait

Next

Change scroll

direction

Last posterYes

No

Page 30: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

30Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV LogicStand alone applications

Power On

Homing

Select nb posters

Time in place

Scroll speed

Poster length

Start/Stop

Place poster

Wait

Next

Change scroll

direction

Last posterYes

No

ATV32

ATV32

STO

Safe speed

Safety functions

Jam detection

Torque limitation + delay

+ Auto-Manu

Normal sequence

Page 31: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

31Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

Control diagram

AI1 AI3 +10 LI1 LI2 LI3 LI5 LI6 +24V P24

COM PWR LI4 R1 R2 LO1

Au

SafeTorque Off

In

positionJam

Start/stop

OT

R1

-2 L

igh

t

cu

rtain

s

ho

me S

en

so

r

En

co

de

r A

or

po

s s

en

so

r

24V ext

0V ext

Safe

speed

STO2

En

co

der

B o

u

slo

wd

ow

n

Page 32: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

32Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

Power diagram

ATV32

M

GV Q1

24V

ABL7RE2402

0-24Vdc ext

Power on

Encoder Sensors 1-2

Light

curtains

+24v Start

Page 33: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

33Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ATV32 ATV LogicSummary

> Objectives

> What is ATV logic ?

> The function blocks

> Programming

> Scrolling poster demo

> Quiz

Page 34: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

34Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

Quiz● Why ATV logic ?

● It is made to adapt or enhance ATV32 embedded functions

● What is ATV logic ?

● It’s a programming tool which allows to make little automation

sequence in ATV32

● What are the programming software and language ?

● Function block (FBD)

● SoMove

● What is the minimum cycle time

● 2mS in POST an PRE synchronised task

● How many blocks can I put in a synchronised task ?

● 10 max to ensure 2mS cycle time

● ATV logic is a competitor for other =S= PLC

● No it is not designed for that it is less performing than a Zelio

Page 35: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

35Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

uestions and Answers

Title of the training module

Page 36: ATV32 ATV Logic - · PDF fileSchneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008 2 Summary ATV32 ATV Logic Summary > Objectives > What is ATV logic ? > The

36Schneider Electric - Motion & Drives training - ATV32b ATV Logic 23/04/2008Summary

ThanksThanks!

Motion & Drives training

Make the most of your energy


Recommended