Advanced ladder logic functions such as timers and counters allow controllers to perform calculations, make decisions and do other complex tasks. They are more complex than basic input contacts and output coils and they rely upon data stored in the memory of the PLC. The memory of the PLC is organized to hold different types of programs and data. This chapter will discuss these memory types. Functions that use them will be discussed in following chapters.