
Starting up fieldbus communication and programming the ABB PLC (one-drive system)
32
2 Set up the communication. In this section, you configure communication between the PLC
and the drive.
Setting up the communication, page 45
• Create a new project, page 45
• Configure communication with the SYCON fieldbus
configurator, page 50
3 Program the main program to the
PLC.
In this section, you program function blocks for communication
and basic drive control.
Setting up the communication, page 45
• Create a new project, page 45
• Configure communication with the SYCON fieldbus
configurator, page 50
Programming the PLC main program, page 63
• Load additional libraries for programming assistance, page 63
• Add function block ACSM1_ACCESS_dc, page 66
• Add function block MC_ReadStatus, page 72
• Add function block MC_ReadActualPosition, page 72
• Add function block MC_ReadAxisError, page 72
• Add function block MC_Reset, page 73
• Add function block MC_Power, page 73
• The complete main program is shown here, page 74
4 Program actions to the PLC
program.
In this section, you program function blocks for motion control.
Programming actions, page 77
• How to create actions, page 77
• Program velocity (MC_MoveVelocity), page 80
• Program stopping (MC_Stop), page 81
• Program positiong (MC_MoveAbsolute), page 82
• Program relative movement (MC_MoveRelative), page 83
• Program homing (MCA_Home), page 84
• Program toggling between two positions, page
84
• Call the actions into the main program, page 87
5 Program the visualization. In this section, you program function blocks for visualizing the
motion control.
Programming visualizations, page 89
• Create an empty visualization field, page 90
• Create buttons, page 91
• Create indicators, page 95
• Create visuaization elements, page 96
6 Run and test the program. In this section, you run and test the program that you have made.
Running and testing the program, page 99
• Load the program to the controller, page 99
• Test the program, page 102
No. Task Description / See instruction
Commentaires sur ces manuels