ACSM1Application GuideFieldbus Control with FPBA-01 PROFIBUS DP Adapter Module and ABB AC500 PLC
Introduction to the manual10Target audienceThis manual is intended for people who plan the drive application control, commission, use, and service the
Starting up fieldbus communication and programming the ABB PLC (one-drive system)1003. From the Online menu, select Communication Parameters…. Check t
Starting up fieldbus communication and programming the ABB PLC (one-drive system)1016. From the Online menu, click Login. The program asks you to down
Starting up fieldbus communication and programming the ABB PLC (one-drive system)102Test the program1. Start the drive by clicking the Off1_3 button a
Starting up fieldbus communication and programming the ABB PLC (one-drive system)103 2. Test the other actions that you have made by clicking the acti
Starting up fieldbus communication and programming the ABB PLC (one-drive system)104
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)105Starting up fieldbus communication and programming the ABB PLC (m
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)106CoDeSysConfigure communication with the SYCON fieldbus configurat
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)107SYCON.net4. -> The SYCON.net tool opens:5. From the Network me
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)1086. Drag and drop CM572-DPM on the green line. In the netConnect-D
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)1098. In the netDevice field, right-click the CM572-DPM icon. Select
Introduction to the manual11• ACSM1 Speed and Torque Control Program Firmware Manual (3AFE68848261 [English])• PROFIBUS DP Adapter Module FPBA-01 User
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)11010. In the Pages Three-View, click Device Assignment. Activate th
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)11112. In the Pages Tree-view, click Station Table under Configurati
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)11213. Right-click the ABB Drives FPBA-01 icon connected to the purp
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)11314. In the Configuration folder, click Parameters. Set the values
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)11415. In the netConnect field, click PPO-5, 4PKW + 10 PZD <Slot
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)11517. Check that the PLC is in the Stop state (Stop in the display)
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)116Tool/StepProgramming the PLC main programProgramming of the PLC m
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)117A list of the Global variables is shown below. Tool/StepProgram
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)118The finished main program is shown below. Tool/StepProgramming t
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)119 Tool/StepProgramming the PLC main program
Introduction to the manual12
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)120 Tool/StepProgramming actionsProgramming of the actions is descri
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)121The program shown below controls a two-axis toggle movement. For
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)122Add the action block toggle_movement to the main program. Tool/St
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)123 Tool/StepProgramming visualizationsProgramming of the visualizat
Starting up fieldbus communication and programming the ABB PLC (multi-axis system)124Tool/StepRunning and testing the programCoDeSysLoad and test the
Example program for a two-axis loading machine125Example program for a two-axis loading machineWhat this chapter containsThis chapter presents an exam
Example program for a two-axis loading machine126ProgramThe program for the toggle movement control is shown below.
Example program for a two-axis loading machine127
Example program for a two-axis loading machine128
Appendix A - How to find out the serial communication parameter values of your PC?129Appendix A - How to find out the serial communication parameter v
Fieldbus control description13Fieldbus control descriptionWhat this chapter containsThe chapter describes how the drive can be controlled by external
Appendix A - How to find out the serial communication parameter values of your PC?1302. Click the Hardware tab and then the Device Manager button.
Appendix A - How to find out the serial communication parameter values of your PC?1314. The communication port settings are shown. Tool/StepHow to f
Appendix A - How to find out the serial communication parameter values of your PC?132
Further informationProduct and service inquiriesAddress any inquiries about the product to your local ABB representative, quoting the type designation
3AUA0000049359 Rev C / ENEFFECTIVE: 2010-05-03ABB OyDrivesP.O. Box 184FI-00381 HELSINKIFINLANDTelephone +358 10 22 11Fax +358 10 22 22681www.abb.com
Fieldbus control description14Setting up communication through a fieldbus adapter moduleBefore configuring the drive for fieldbus control, the adapter
Fieldbus control description15After the module configuration parameters have been set, the drive control parameters (see section Drive control paramet
Fieldbus control description16The fieldbus control interfaceThe cyclic communication between a fieldbus system and the drive consists of 16/32-bit inp
Fieldbus control description17The Control Word and the Status WordThe Control Word (CW) is the principal means of controlling the drive from a fieldbu
Fieldbus control description18When torque or speed reference scaling is selected (by parameter 50.04 FBA REF1 MODESEL / 50.05 FBA REF2 MODESEL), the f
Fieldbus control description19State diagramThe following presents the state diagram for the FBA communication profile. For other profiles, see the Use
ACSM1 Drive Manuals*A multilingual quick installation guide is included with the delivery.AC500 manuals can be found in the CoDeSys online help. Press
Fieldbus control description20
Starting up the FPBA-01 adapter for different communication profiles21Starting up the FPBA-01 adapter for different communication profilesOverviewThis
Starting up the FPBA-01 adapter for different communication profiles22Parameter setting examplesThis section gives the recommended drive parameter set
Starting up the FPBA-01 adapter for different communication profiles23PROFIdrive communication profile (Speed Control Mode) with PPO Type 1The start/s
Starting up the FPBA-01 adapter for different communication profiles24ABB DRIVES communication profile (Speed/Torque Control Mode) with PPO Type 4The
Starting up the FPBA-01 adapter for different communication profiles25*Read-only or automatically detected/set**ExampleThe start sequence for the para
Starting up the FPBA-01 adapter for different communication profiles26PROFIdrive communication profile (Positioning Mode) with PPO Type 4The start/sto
Starting up the FPBA-01 adapter for different communication profiles27*Read-only or automatically detected/setNote: By default, fieldbus is not the on
Starting up the FPBA-01 adapter for different communication profiles28The velocity setpoint and actual values are scaled with the above example values
Starting up fieldbus communication and programming the ABB PLC (one-drive system)29Starting up fieldbus communication and programming the ABB PLC (one
Fieldbus Control with FPBA-01 PROFIBUS DPAdapter Module and ABB AC500 PLCApplication Guide3AUA0000049359 Rev CENEFFECTIVE: 2010-05-03© 2010 ABB Oy. Al
Starting up fieldbus communication and programming the ABB PLC (one-drive system)30Equipment and programsEquipment used in the examples:• ACSM1-04 dem
Starting up fieldbus communication and programming the ABB PLC (one-drive system)31Start-up flowchartThe steps of the start-up procedure are presented
Starting up fieldbus communication and programming the ABB PLC (one-drive system)322 Set up the communication. In this section, you configure communic
Starting up fieldbus communication and programming the ABB PLC (one-drive system)33– – – TWO - D R I V E S Y S T E M – – –Set up the communicat
Starting up fieldbus communication and programming the ABB PLC (one-drive system)34ConnectionsACSM1-041 23 456789Installation of the TA510-CASE24 V DC
Starting up fieldbus communication and programming the ABB PLC (one-drive system)35Installing the DriveStudio PC toolInsert the DriveStudio installati
Starting up fieldbus communication and programming the ABB PLC (one-drive system)363. Click the Read me for installation button and read the instructi
Starting up fieldbus communication and programming the ABB PLC (one-drive system)37Installing the PS551-MC Motion Control LibraryInsert the PS551-MC M
Starting up fieldbus communication and programming the ABB PLC (one-drive system)38Installing additional GSD files and librariesThe GSD file DP-V0 for
Starting up fieldbus communication and programming the ABB PLC (one-drive system)39If needed, copy additional GSD files to the following folder in you
Starting up fieldbus communication and programming the ABB PLC (one-drive system)40StepSetting the drive control program parametersThis section lists
Starting up fieldbus communication and programming the ABB PLC (one-drive system)41 StepSetting the drive control program parameters
Starting up fieldbus communication and programming the ABB PLC (one-drive system)42 StepSetting the drive control program parameters
Starting up fieldbus communication and programming the ABB PLC (one-drive system)43 StepSetting the drive control program parameters
Starting up fieldbus communication and programming the ABB PLC (one-drive system)44StepSetting the drive control program parameters
Starting up fieldbus communication and programming the ABB PLC (one-drive system)45Tool/StepSetting up the communicationFor setting up communication b
Starting up fieldbus communication and programming the ABB PLC (one-drive system)464. In the New POU dialog box, select as shown below. 5. -> The
Starting up fieldbus communication and programming the ABB PLC (one-drive system)476. In the Resources folder, double-click PLC Configuration. 7. In t
Starting up fieldbus communication and programming the ABB PLC (one-drive system)488. Right-click the Couplers[FIX] folder. Select Append Subelement a
Starting up fieldbus communication and programming the ABB PLC (one-drive system)499. In the Couplers[FIX] folder, right-click the Internal - none[SLO
Table of contents5Table of contentsTable of contentsIntroduction to the manualApplicability . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting up fieldbus communication and programming the ABB PLC (one-drive system)50CoDeSysConfigure communication with the SYCON fieldbus configurator
Starting up fieldbus communication and programming the ABB PLC (one-drive system)51SYCON.net4. -> The SYCON.net tool opens:5. From the Network menu
Starting up fieldbus communication and programming the ABB PLC (one-drive system)526. Drag and drop CM572-DPM on the green line. In the netConnect-Dri
Starting up fieldbus communication and programming the ABB PLC (one-drive system)537. Drag and drop the FPBA-01 DP-V0 on the purple line. Tool/StepS
Starting up fieldbus communication and programming the ABB PLC (one-drive system)548. In the netDevice field, right-click the CM572-DPM icon. Select C
Starting up fieldbus communication and programming the ABB PLC (one-drive system)5510. In the Pages Three-View, click Device Assingnment. Activate the
Starting up fieldbus communication and programming the ABB PLC (one-drive system)5612. In the Pages Tree-view, click Station Table under Configuration
Starting up fieldbus communication and programming the ABB PLC (one-drive system)5713. Right-click the ABB Drives FPBA-01 icon connected to the purple
Starting up fieldbus communication and programming the ABB PLC (one-drive system)5814. In the Configuration folder, click Parameters. Set the values o
Starting up fieldbus communication and programming the ABB PLC (one-drive system)5915. In the netConnect field, click PPO-5, 4PKW + 10 PZD <Slot 1&
Table of contents6Installing the PS551-MC Motion Control Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37Inst
Starting up fieldbus communication and programming the ABB PLC (one-drive system)6016. Name the signals. In this example configuration, Input 1 is nam
Starting up fieldbus communication and programming the ABB PLC (one-drive system)61 19. When the downloading is completed, right-click the CM572-DPM i
Starting up fieldbus communication and programming the ABB PLC (one-drive system)62
Starting up fieldbus communication and programming the ABB PLC (one-drive system)63Tool/StepProgramming the PLC main programIn this section, you progr
Starting up fieldbus communication and programming the ABB PLC (one-drive system)643. Select the following libraries and click Open. Tool/StepProgram
Starting up fieldbus communication and programming the ABB PLC (one-drive system)654. Double-click the PS551-MC folder and select the following librar
Starting up fieldbus communication and programming the ABB PLC (one-drive system)665. In this example, the following libraries were inserted. Add func
Starting up fieldbus communication and programming the ABB PLC (one-drive system)672. Replace the default text AND with text acsm1_access_dc. Now, the
Starting up fieldbus communication and programming the ABB PLC (one-drive system)684. -> The Declare Variable assistant appears. In the Class dialo
Starting up fieldbus communication and programming the ABB PLC (one-drive system)696. Configure input axis. Name it axis1 and press Enter. Class: VAR_
Table of contents7Description of the program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting up fieldbus communication and programming the ABB PLC (one-drive system)708. In this section a new program row is made before the access_axis
Starting up fieldbus communication and programming the ABB PLC (one-drive system)71The program made so far is shown below. Right-click in the blank
Starting up fieldbus communication and programming the ABB PLC (one-drive system)72Add function block MC_ReadStatusThis function block returns in deta
Starting up fieldbus communication and programming the ABB PLC (one-drive system)73Add function block MC_ResetThis function block makes the transition
Starting up fieldbus communication and programming the ABB PLC (one-drive system)74The complete main program is shown hereThe complete program is show
Starting up fieldbus communication and programming the ABB PLC (one-drive system)75View of the main program rows: Tool/StepProgramming the PLC ma
Starting up fieldbus communication and programming the ABB PLC (one-drive system)76Tool/StepProgramming the PLC main program
Starting up fieldbus communication and programming the ABB PLC (one-drive system)77Tool/StepProgramming actionsIn this section, you program actions an
Starting up fieldbus communication and programming the ABB PLC (one-drive system)782. Name the action for example velocity. Select FBD for the program
Starting up fieldbus communication and programming the ABB PLC (one-drive system)794. Create separate actions which are needed in the program for exam
Table of contents8
Starting up fieldbus communication and programming the ABB PLC (one-drive system)80Program velocity (MC_MoveVelocity)This Function Block commands a ne
Starting up fieldbus communication and programming the ABB PLC (one-drive system)81The block in the previous picture runs axis1 constantly at velocity
Starting up fieldbus communication and programming the ABB PLC (one-drive system)82Program positiong (MC_MoveAbsolute)This function block commands a c
Starting up fieldbus communication and programming the ABB PLC (one-drive system)83Program relative movement (MC_MoveRelative)This function block comm
Starting up fieldbus communication and programming the ABB PLC (one-drive system)84Program homing (MCA_Home)This function block commands the axis to p
Starting up fieldbus communication and programming the ABB PLC (one-drive system)85Tool/StepProgramming actions
Starting up fieldbus communication and programming the ABB PLC (one-drive system)86Row 0001This section is the main switch. When the drive needs to be
Starting up fieldbus communication and programming the ABB PLC (one-drive system)87Call the actions into the main programTo activate the actions that
Starting up fieldbus communication and programming the ABB PLC (one-drive system)88The action boxes are shown at the end of the main program as follow
Starting up fieldbus communication and programming the ABB PLC (one-drive system)89Tool/StepProgramming visualizationsCoDeSysIn this section, you prog
Introduction to the manual9Introduction to the manualWhat this chapter containsThis chapter describes the target audience, purpose and contents of thi
Starting up fieldbus communication and programming the ABB PLC (one-drive system)90Create an empty visualization fieldClick the Visualization tab. Rig
Starting up fieldbus communication and programming the ABB PLC (one-drive system)91Create buttonsCreate buttons for the needed switches, for example,
Starting up fieldbus communication and programming the ABB PLC (one-drive system)922. Configure the button as follows. Right-click the button. From th
Starting up fieldbus communication and programming the ABB PLC (one-drive system)934. In the Category: dialog box, select Input. Under Input, tick Tog
Starting up fieldbus communication and programming the ABB PLC (one-drive system)945. After making all buttons, the visualization field looks like thi
Starting up fieldbus communication and programming the ABB PLC (one-drive system)95Create indicators1. In the upper tool bar, click the Bar display bu
Starting up fieldbus communication and programming the ABB PLC (one-drive system)96Create visuaization elements1.Visualization elements are ready-made
Starting up fieldbus communication and programming the ABB PLC (one-drive system)972. Double-click the created element. In the Visualization dialog bo
Starting up fieldbus communication and programming the ABB PLC (one-drive system)98 3. Add other elements in the same way as described above.Note: In
Starting up fieldbus communication and programming the ABB PLC (one-drive system)99Tool/StepRunning and testing the programCoDeSysIn this section, you
Commentaires sur ces manuels