Title: Application SW Interfaces
1Application SW Interfaces
Panel
Function Block Library
I/O
NC1131-3 Application Software
Motor Control
Fieldbus
2Application SW Interfaces
Example of specification level
Parameters
Firmware interface
I/O
3Firmware Interface
- Motor Control software (system software) can be
controlled from application by firmware interface
4Firmware interface groups
CLMonitor Closed loop monitoring
values Systembus System bus, communication
between drives System Control board type, system
status, slot-board statuses Statistics MWh
counters etc. Diagnostics Fault -related
variables Fieldbus Fieldbus interface SCI Serial
Communication Interface Panel Keypad -related
variables, button status, symbols,
etc. CLSettings Closed loop -settings EXSettings
Expert level motor control settings MCSettings Mo
tor control settings, min/max frequency,
acceleration time, etc. MotorControl Basic
settings, motor nominal values,
etc. PowerUnit Power unit settings and
monitoring Global_Variables Variables created in
the application
5Firmware interface (MotorControl)
6Vacon NC1131-3 Engineering
- NC1131
- NCDef
- NCDrive
- NCLoad
- NCDebug
7Vacon NC1131-3 Engineering
TOOLS FILE FOR THE USER
.MDB is also in the VCN-package
8NC1131-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
9NC1131-3
FBD
SFC
AND
A C B
IF ATRUE AND B FALSE THEN C TRUE ELSE C
FALSE END_IF
ST
LD
10NC1131-3
Blocks from libraries
LIBRARIES
POUs
(Each POU has a code)
Task associations
TASKS
11NC1131-3
- POUs (program organization units)
- Program
- Function Block
- Function
- Librarys
- Vacon_NXS
- NXFIFFLIB_V1_02
- Own librarys
12NC1131-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
13NC1131-3
CYCLIC TASKS PRE-EMPTIVE SCHEDULING