User manual

24
display and uses it for programming the EEPROM. You know this from the car: When you
activate the starter, the light and radio will go out for a brief moment.
You can change the already-present programme in a single location as well. Use S2 to scroll to
the desired location and change the command or data with S1, to save them with S2.
For the first part, a programme with only two commands is entered. It switches on three LEDs
and leads into an endless loop.
Address
Command
Data
Comment
00
1
7
A14 = 0111
01
3
0
Jump 0
Listing 7: Switching on LEDs
Instead of a detailed listing, you can choose an abbreviated form as well. The two bytes are
summarised in hex numbers: 17h, 30h. Below, the hexadecimal way of writing is used. The
programmes are therefore written in the short version without the hex mark: 17 30
You need to type the following for input:
S2 + Reset
2 x S1
S2
8 x S1
S2
4 x S1
S2
1 x S1
S2
If you have pushed the button S1 once too often by accident, you can still reach the right
number. Go to above 15, which is followed by the value 0.
After complete input, the new programme is started again with the reset button. You can see
that three LEDs are connected. Nothing else happens. The controller will no longer react to the
conditions at the inputs E1 to E4 anymore, since the original programme has been partially
overwritten. The example programmes cannot be started anymore either.
Since you have only changed the first two memory addresses, you can easily start the original
programme again. For this, just enter the first two commands (64 51) anew according to the
listing from the last section.
Test the original function of the example programmes. Best enter the new exercise programme
again. You will quickly gain security in handling the programme input.