Valid result codes
Value
Explanations
0000H
No error
4x01H
The maximum number of delete attempts has been exceeded. The counter can only be
reset with a cold restart.
4x02H
Illegal password (0000H or 3FFFH)
4x04H
You have attempted to specify a new password while the password protection was active (x
= number of attempts to delete)
4x08H
You attempted to delete the existing password (deactivate protection) with an incorrect
password. The error counter for incorrect attempts was incremented. The counter
reading x is transferred in the result code (binary number in bits no. 8 to 10).
4010H
You attempted to delete a non-existent password.
The best time to activate
software protection
The most effective protection is achieved when you activate the
software protection in OB 38/OB 39 (SOFT STOP mode). Protection
is then active immediately following an overall reset even with the
memory card inserted.
Reactions to violations of the
software protection
Once the software protection is active, the system program reacts to
violations of the protection by PG jobs. The following table lists the
reactions to various PG jobs.
PG function
Output on PG
Delete block
Message "Block type and number illegal"
Read block
Output of a dummy block:
FB/FX:
FB number
NAME
:DUMMY
:BE
DB/DX:
DW0
6500
OB/PB/SB:
:BE
Overwrite block
(block does not yet exist)
The block is entered
Overwrite block
(block already exists)
Message "Block exists"; after confirming with the enter key
the message "Block type and number wrong" is displayed.
Bit Assignment of the System Data Words
CPU 948 Programming Guide
8 - 38
C79000-G8576-C848-04
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...