Download OPERATION MANUAL

Transcript
Section 10-14
PROGRAM AREA PROTECT
below. The number of words in the parentheses is specified as the number of
words to clear.
PC Setup
80 10
(0100)
Peripheral Device settings
80 11
(00C0)
I/O table
80 12
(0400)
Routing tables
80 13
(0200)
CPU Bus Unit
settings
80 00
(1000)
80 01
(06C0)
80 02
(0840)
Unit No. 0
.
.
.
Unit No. 15
10-14 PROGRAM AREA PROTECT
Protects the program by making it read-only.
Note
1. The program cannot be protected if any other device holds the access right.
2. If memory is write-protected via the key switch on the front panel of the PC,
the PROGRAM AREA PROTECT command will not be effective.
Command Block
03
04
Command
code
00
00
00
00
00
00
Program
Beginning word
no.
Protect code
00
FF
FF
FF
FF
Last word
Password
Response Block
03
04
Command
code
Parameters
Response
code
The command will be executed normally even if the beginning word and last
word are set to values other than those shown below.
Program no. (command): Set to 0000.
Protect code (command): Set to 00.
Beginning word (command): Set to 00000000
Last word (command): Set to FFFFFFFF
Password (command): Set any four ASCII characters. The password is used
with the PROGRAM AREA PROTECT CLEAR command (refer to 10-15 PROGRAM AREA PROTECT CLEAR).
10-15 PROGRAM AREA PROTECT CLEAR
Restores write and read access rights so that data can be written to and read
from the program area.
Note
168
1. Protection cannot be cleared if any other device holds the access right.