PROGRAM VS VARIABLE MEMORY

The memory in a PLC is divided into program and variable memory. The program memory contains the instructions to be executed and cannot be changed while the PLC is running. (Note: some PLCs allow on-line editing to make minor program changes while a program is running.) The variable memory is changed while the PLC is running. In ControlLogix the memory is defined using variable names (also called tags and aliases).