Hardware manual

Starting up fieldbus communication and programming the ABB PLC
89
Tool/Step
Introduction to the PLC main program
This section introduces the ABB_Drives_PB_demo.pro main program and the
global and local variable lists. If you want to modify the ready-made project
ABB_Drives_PB_demo.pro, see How to add function blocks on page 92.
For detailed function block descriptions, refer to
CoDeSys Online Help (Press F1 in the CoDeSys software)
User Manual for PLC Programming with CoDeSys 2.3 by 3S – Smart Software
Solutions GmbH
Main program
The main program has function blocks that pack Control Word and unpack Status
Word, as well as function blocks that declare actions presented in section
Introduction to the actions on page 97.
1. The main program is located under the POUs tab. To open the program, double-
click PLC_PRG (PRG) under the POUs folder.