Top Banner
File: 1 06/27/22/KH Application SW Interfaces I/O Fieldbu s NC1131-3 Application Software Panel Function Block Library 3~ Motor Control
13

File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

Dec 19, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 1 04/18/23/KH

Application SW Interfaces

I/O

Fieldbus

NC1131-3

Application

Software

Panel

Function Block

Library

3~

Motor

Control

Page 2: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 2 04/18/23/KH

Application SW Interfaces

UinIin

DIA1

DIA2

DIA3

DIB4DIB5

DIB6

2.1.11 I/O Reference

2.1.12 Keypad Ctrl Ref

2.1.13 Fieldbus Ctr Ref

3.1 Control Place

2.1.14 Preset Speed 1

2.1.15 Preset Speed 2

3.2 Keypad Reference

Reference from the Fieldbus

ProgrammableStart/Stop andreverse logic

3.3 Keypad Direction

Start/Stop from the Fieldbus

Direction from the Fieldbus

> 1

Start/Stop buttons

Reset button

Start/Stop

Reverse

Preset speed 1

Preset speed 2

Start forward

Start reverse

Fault reset input

External fault input

(programmable)

(programmable)

(programmable)

Internal frequencyreference

Internal Start/Stop

Internal reverse

Internal fault reset

Example of specification level

I/O Firmware interface

Parameters

Page 3: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 3 04/18/23/KH

Firmware Interface

• Motor Control software (=system software) can be controlled from application by firmware interface

Internal FrequencyReference

Internal Start/ Stop

APPLICATIONFIRMWAREINTERFACE SYSTEM SOFTWARE

FreqRef

Start

AccelerationTime

FreqRamp

t(s)

f(Hz)

Page 4: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 4 04/18/23/KH

CLMonitor Closed loop monitoring valuesSystembus System bus, communication between drivesSystem Control board type, system status, slot-board statusesStatistics MWh counters etc.Diagnostics Fault -related variablesFieldbus Fieldbus interfaceSCI Serial Communication InterfacePanel Keypad -related variables, button status, symbols, etc.CLSettings Closed loop -settingsEXSettings “Expert level” motor control settingsMCSettings Motor control settings, min/max frequency, acceleration time, etc.MotorControl Basic settings, motor nominal values, etc.PowerUnit Power unit settings and monitoringGlobal_Variables Variables created in the application

Firmware interface groups

Page 5: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 5 04/18/23/KH

Firmware interface (MotorControl)

Page 6: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 6 04/18/23/KH

Vacon NC1131-3 Engineering

• NC1131 • NCDef• NCDrive• NCLoad• NCDebug

Page 7: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 7 04/18/23/KH

TOOLS & FILE FOR THE USER

.MDB is also in the VCN-package

Vacon NC1131-3 Engineering

Page 8: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 8 04/18/23/KH

NC1131-3

• 4 programming languages:– FBD (Function Block Diagram)– ST (Structured Text)– SFC (Sequential Function Chart)– LD (Ladder Diagram)

– IEC 1131-3 Programming Methodology» Bonfatti - Monari - Sampieri» ISBN: 2-9511585-0-5

Page 9: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 9 04/18/23/KH

NC1131-3

IF A=TRUE AND B = FALSE

THEN C := TRUE

ELSE C:= FALSE

END_IF

A B C

-| |--|/|----------------( )

AND

A C

B

FBD

ST

LDC := TRUE

C := FALSE

STATE 1

START

ACTION(CODE FOR

STATE 1)

STATE 2ACTION

(CODE FORSTATE 2)

A = TRUE AND B = FALSE

TRANSITION CONDITION

TRANSITION CONDITION

A = FALSE OR B = TRUE

SFC

Page 10: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 10 04/18/23/KH

NC1131-3LIBRARIES

POU’s

TASKS

(Each POU has a code)

Blocks from libraries

Task associations

Page 11: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 11 04/18/23/KH

NC1131-3

• POU’s (program organization units)– Program – Function Block– Function

• Librarys– Vacon_NXS – NXFIFFLIB_V1_02– Own librarys

Page 12: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 12 04/18/23/KH

NC1131-3

• CYCLIC TASKS– 5 priority level – NXP (1-1000ms)– NXS (5-1000ms)

• Special Tasks– Triggered when a parameter value is changed– Triggered from the application

• Start task• Stop task• Dummy task

Page 13: File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC1131-3 Application Software Panel Function Block Library 3~ Motor Control.

File: 13 04/18/23/KH

CYCLIC TASKS: PRE-EMPTIVE SCHEDULING

A

C

B

D

5 ms 10 ms 15 ms 20 ms 25 ms 30 ms 35 ms

IDLE

TASK A: Priority 5ms, Interval 5ms, Execution time 1msTASK B: Priority 5ms, Interval 15ms, Execution time 2msTASK C: Priority 10ms, Interval 10ms, Execution time 1msTASK D: Priority 10ms, Interval 20ms, Execution time 5ms

NC1131-3