hit counter script

Siemens SIMATIC S7-1200 System Manual page 308

Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

Basic instructions
8.8 Program control operations
Calling ENDIS_PW with REQ=1 disallows password types where the corresponding
password input parameter is FALSE. Each password type can be allowed or disallowed
independently. For example, if the fail-safe password is allowed and all other passwords
disallowed, then you can restrict CPU access to a small group of employees.
ENDIS_PW is executed synchronously in a program scan and the password output
parameters always show the current state of password allowance independent of the input
parameter REQ. All passwords that you set to allow must be changeable to
disallowed/allowed. Otherwise, an error is returned and all passwords are allowed that were
allowed before ENDIS_PW execution. This means that in a standard CPU (where the fail-
safe password is not configured) F_PWD must always be set to 1, to result in a return value
of 0. In this case, F_PWD_ON is always 1.
Note
• ENDIS_PW execution can block the access of HMI devices, if the HMI password is
disallowed.
• Client sessions that were authorized prior to ENDIS_PW execution remain unchanged by
ENDIS_PW execution.
After a power-up, CPU access is restricted by passwords previously defined in the regular
CPU protection configuration. The ability to disallow a valid password must be re-established
with a new ENDIS_PW execution. However, if ENDIS_PW is immediately executed and
necessary passwords are disallowed, then TIA portal access can be locked out. You can use
a timer instruction to delay ENDIS_PW execution and allow time to enter passwords, before
the passwords become disallowed.
Note
Restoring a CPU that locks out TIA portal communication
Refer to the "Recovery from a lost password (Page 151)" topic for details about how to erase
the internal load memory of a PLC using a memory card.
An operating mode change to STOP caused by errors, STP execution or STEP 7 does not
abolish the protection. The protection is valid until the CPU is power cycled. See the
following table for details.
Action
After memory reset from
STEP 7
After powering on, or changing
a memory card
After ENDIS_PW execution in a
program cycle or startup OB
After change of the operating
mode from RUN or STARTUP
to STOP through STP instruc-
tion, error, or STEP 7
308
Operating mode
STOP
STOP
STARTUP, RUN
STOP
System Manual, V4.2, 09/2016, A5E02486680-AK
ENDIS_PW password control
Active: Disallowed passwords
remain disallowed.
Off: No passwords are disal-
lowed.
Active: Passwords are disal-
lowed according to ENDIS_PW
parameters
Active: Disallowed passwords
remain disallowed
S7-1200 Programmable controller

Advertisement

Table of Contents
loading

Table of Contents

Save PDF