Programs are stored in the POU pool of the project navigator. Several programs are allowed. Each program has a header (variables) and a body (program code) written in a programming language.
POUs (program organization units)
Project navigator
Programming editors