File: 1 6/3/2015/KH Application SW Interfaces I/O Fieldbus NC Application Software Panel Function Block Library 3~ Motor Control
File: 2 6/3/2015/KH Application SW Interfaces Example of specification level I/O Firmware interface Parameters
File: 3 6/3/2015/KH Firmware Interface Motor Control software (=system software) can be controlled from application by firmware interface
File: 4 6/3/2015/KH CLMonitorClosed loop monitoring values SystembusSystem bus, communication between drives SystemControl board type, system status, slot-board statuses StatisticsMWh counters etc. DiagnosticsFault -related variables FieldbusFieldbus interface SCISerial Communication Interface PanelKeypad -related variables, button status, symbols, etc. CLSettingsClosed loop -settings EXSettings“Expert level” motor control settings MCSettingsMotor control settings, min/max frequency, acceleration time, etc. MotorControlBasic settings, motor nominal values, etc. PowerUnitPower unit settings and monitoring Global_VariablesVariables created in the application Firmware interface groups
File: 5 6/3/2015/KH Firmware interface (MotorControl)
File: 6 6/3/2015/KH Vacon NC Engineering NC1131 NCDef NCDrive NCLoad NCDebug
File: 7 6/3/2015/KH TOOLS & FILE FOR THE USER.MDB is also in the VCN- package Vacon NC Engineering
File: 8 6/3/2015/KH NC programming languages: –FBD (Function Block Diagram) –ST (Structured Text) –SFC (Sequential Function Chart) –LD (Ladder Diagram) –IEC Programming Methodology »Bonfatti - Monari - Sampieri »ISBN:
File: 9 6/3/2015/KH NC IF A=TRUE AND B = FALSE THEN C := TRUE ELSE C:= FALSE END_IF A B C -| |--|/| ( ) AND A C B FBD ST LD SFC
File: 10 6/3/2015/KH NC LIBRARIES POU’s TASKS (Each POU has a code) Blocks from libraries Task associations
File: 11 6/3/2015/KH NC POU’s (program organization units) –Program –Function Block –Function Librarys –Vacon_NXS –NXFIFFLIB_V1_02 –Own librarys
File: 12 6/3/2015/KH NC 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
File: 13 6/3/2015/KH CYCLIC TASKS: PRE-EMPTIVE SCHEDULING NC1131-3