080611 AC500 Motion Control Library PS551 MC E
-
Upload
livingston-alphonse -
Category
Documents
-
view
237 -
download
10
Transcript of 080611 AC500 Motion Control Library PS551 MC E
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
ABB STOTZ-KONTAKT GmbHHeidelberg - Germany
PS551-MC
Libraryfor AC500
Stefan Buchholz
June, 11th 2008
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s AC500 library
PS551-MC Coming up
Motivation
AC500 PLC system
PLCopen Motion Control
PS551-MC library
First steps, demonstration
Preview Standard Drive Library
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Introduction: ABB SolutionsAC500 library
PS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s Fieldbus configuration principle
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s AC500 CoDeSys configuration
Program MCW, Ref1, Ref2,... Program a Motion / Velocity
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s AC500 library
PS551-MC Content
AC500 PLC system
PLCopen Motion Control
PS551-MC library
First steps, demonstration
Preview Standard Drive Library
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s AC500 library
PS551-MC Coming up
AC500 PLC
PLCopen Motion Control
PS551-MC library
First steps, demonstration
Preview Standard Drive Library
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Introduction – Configurations for PLCopen library
Servo motors Frequency converters PLCs 9C-Series ACSM1 HDP xx ACS800-MC AC500 … ACS350
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PLCopen Motion Control
Specifications by PLCopen foundation
Functionality for motion control
- continuous motion (velocity ref)
- discrete motion (position ref)
- synchronous motion
State machine
Independent of used hardware
(PLC, Fieldbus, Drive)
Independent of physical unit
Independent of programming language
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PLCopen State MachineAC500 library
PS551-MC
PLCopen Specification: AC500 visualization:
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PLCopen Function Blocks
PLCopen describes hardware independent function blocks
AC500 libraryPS551-MC
Name Function
Inputs Outputs
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s AC500 library
PS551-MC PLCopen Function Blocks
Example: definition of MC_MoveAbsolute
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PLCopen Specification of technical unit
Technical Unit [u]:
length unit [u] is not physically specified – manufacture dependent
only its relation with others is specified
velocity [u/s] acceleration / decceleration [u/s2 ] jerk [u/s3]
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PLCopen Function Blocks
Overview of defiened function blocks by PLCopen
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PLCopen - Programming structureAC500 library
PS551-MC
Drive: ACSM1 / ACS800-MC / …
PLCopen Motion Control FBsMC_XXX
MC_MoveAbsoluteMC_StopMC_Home
Communication Layer
ACSM1_ACCESS, ACS800_ACCESS…
AXIS_REF
AC500
Fieldbus (Profibus )
Fieldbus-Master
Fieldbus-Coupler
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s AC500 library
PS551-MC Coming up
AC500 PLC
PLCopen Motion Control
PS551-MC library
First steps, demonstration
Preview Standard Drive Library
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s ACSx_ACCESSFunction Block
Function Blocks – programming structurAC500 library
PS551-MC
MC_...Function Blocks
Axis_Ref
FieldbusConfiguration
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Function Blocks – ACSM1_ACCESS_dc
ACSM1_ACCESS_dc
Once per drive
Interface to Fieldbus
AC500 libraryPS551-MC
Axis variable is used as reference for all other MC-FBs
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
MC_Power
AC500 libraryPS551-MC Function Blocks – MC_Power
Enable sets the drive into
“ready for reference”
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
MC_MoveRelative
AC500 libraryPS551-MC Function Blocks – MC_MoveRelative
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Visualization
Common Visualization for each drive
Visualization for
each different drive
type is included in
the library
StateMachine Axis error Axis actual values Main Control word Main Status word
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Visualization for each type of MC_ Function Block
Use for
Indication
Control from internal Visualization
AC500 libraryPS551-MC Visualization
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PS551-MC contents
PS551-MC package contains:
Libraries with FBs, Visualization, …
Documentation including needed drive parameter settings
Manual for first steps and configuration
“First example” program for each type of drive
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Library structur
AC500 libraryPS551-MC PS551-MC – libraries structur
internally needed
& visualization
drive independent
Function Block for communication layer
for specific drive
MC Function
Blocks
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Library – Function Blocks realized for ACSM1
ACSM1 Library
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
ACS800 Library
AC500 libraryPS551-MC Library – Function Blocks realized for ACS800
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
ACS350 Library
AC500 libraryPS551-MC Library – Function Blocks realized for ACS350
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Documentation
Common description of PLCopen Motion Control functions blocks
Specific description of ABB-library
Description of parameter adjustment for drives
AC500 libraryPS551-MC Library – Documentation
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Library – Example programs
Example programs for each different drive type
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PS551-MC state on 11th of June
BETA Version 1.0.2 for internal use only!
First pilot projects coming up, demo units shown on SPS and Hannover fair
Release for special customers / projects is possible, please contact
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s AC500 library
PS551-MC Coming up
AC500 PLC
PLCopen Motion Control
PS551-MC library
First steps, demonstration
Preview Standard Drive Library
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
First stepsAC500 library
PS551-MC
Drive: ACSM1 / ACS800-MC / …
PLCopen Motion Control FBsMC_XXX
MC_PowerMC_MoveAbsoluteMC_Stop
Communication Layer ACSxxx_ACCESS,
AXIS_REF variable
AC500
Fieldbus (Profibus )
Fieldbus-Master
Fieldbus-Coupler
Fieldbus Configuration
Communication Parameters
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Function Blocks – first steps
Drives Parameters have to be adjusted
-> use documentation to adjust or -> copy prepared reduced parameter list (ACSM1)
Profibus configuration with Sycon.net
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Function Blocks – first steps – task setup
Create or select ONE task for all MC-FBs related to this axis
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Function Blocks – first steps – ACSM1_ACCESS_dc
Call the one ACCESS-FB for the axis
Connect the first fieldbus input variable with ADR operator to “field_in”
Connect the first fieldbus output variable with ADR operator to “field_out”
Connect axis-variable to in_output “axis”
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Function Blocks – first steps – ACSM1_ACCESS_dc
Write your programm with MC-Function Blocks
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PLC-Open Motion Control - applications
Demonstration model for store application
3 linear axis – ACSM1, 1 rounde axis – ACSM1
PLC-control with PM581 via Profibus User Interface with CP450 - Ethernet
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
PLC-Open Motion Control - applications
Democase ACSM1 with AC500
ACSM1-Democase with two drives modified for use with 230V AC.
PLC-control with PM581 via Profibus Optional use of CP440 Touchpanel
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s AC500 library
PS551-MC Coming up
AC500 PLC
PLCopen Motion Control
PS551-MC (AC500 library)
First steps, demonstration
Preview Standard Drive Library
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s
Standard Drive Control library for speed control - PREVIEW
Standard Function Block for speed control,
using PowerUp Statemachine
Engineering Function Blockwill be defined
AC500 libraryPS551-MC
© A
BB
Sto
tz –
Kon
takt
ST
O/C
P P
age
- (#
) -
PS
551-
MC
: AC
500
Mot
ion
Con
trol
Lib
rarie
s