When is the software
protection
activated/deactivated?
A password can be specified at any time. Once it has been specified,
software protection is, however, only active at certain times, as shown
below:
••
in the SOFT STOP mode:
once after calling OB 38
1)
,
cyclically before calling OB 39
1),
••
in the START-UP mode:
once after calling the start-up OBs (OB 20, OB 21 OB 22),
••
in the RUN mode:
cyclically before calling OB 1.
Assignment of the system
data when writing
To call the software protection function, write system data RS 120
with a bit pattern for the function as shown in the following table.
Address: E F078H
High byte
Bit no.
Assignment
15
Action bit: 1 = execute function
14
Function bit: 1 = set password, 0 = delete PW
13
Bit nos. 8 to 13 of a 14-bit password
12
11
10
9
8
Low byte
7
Bit nos. 0 to 7 of a 14-bit password
6
5
4
3
2
1
0
1)
Processing a request does not depend on OB 38 or OB 39 being loaded. This means
that software protection can be activated in the STOP mode.
Table 8-17
Assignment of RS 120 (software protection) when writing
Bit Assignment of the System Data Words
CPU 948 Programming Guide
8 - 36
C79000-G8576-C848-04
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...