1. A method for programming or diagnosis of a memory-programmable controller having at least one memory-programmable function component that can be programmed by a predetermined programming system to predetermine system variables, the method comprising: programming the at least one memory-programmable function component with information exchange sequences; outputting results of the programming during an offline, non-debugging programming mode via an output device; and modifying a declaration of instances of the function component or a program organization unit to input information that is at least in part stored permanently in non-volatile memory of the at least one memory-programmable function component.