Technical data

Table Of Contents
S7 Communication
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
21-41
The CPU must be in the STOP mode.
The key switch of the CPU must be set to "RUN" or "RUN-P."
When you created the configuration with STEP 7, you allowed for a manual hot
restart.
There must be no condition preventing a hot restart.
Once the hot restart has been completed, the device changes to the RUN mode
and sends a positive execution acknowledgement. When the positive
acknowledgement is evaluated, the status parameter DONE is set to 1. Any errors
that occurred are indicated in the status parameters ERROR and STATUS.
A restart can only be activated again in the same remote device after the previous
hot restart has been completed.
Parameter Declaration Data Type Memory Area Description
REQ INPUT BOOL I, Q, M, D, L Control parameter request, activates the SFB
at a rising edge
ID INPUT WORD I, Q, M, D,
constant
Addressing parameter ID, refer to Common
Parameters of the SFBs/FBs and SFCs/FCs
for S7 Communication
DONE OUTPUT BOOL I, Q, M, D, L DONE status parameter:
0: Job not started or still running
1: Job has been executed error-free
ERROR
STATUS
OUTPUT
OUTPUT
BOOL
WORD
I, Q, M, D, L
I, Q, M, D, L
ERROR and STATUS state parameters, error
display:
ERROR=0 and STATUS has the value:
0000H: neither warning nor error
<> 0000H: Warning, STATUS supplies
detailed information
ERROR=1
There is an error. STATUS supplies
detailed information on the type of error.
PI_NAME IN_OUT ANY I, Q, M, D Pointer to memory area in which the name of
the program (ASCII code) to be started is
located. This name must not contain more
than 32 characters. With an S7 PLC, it must
be P_PROGRAM.
ARG IN_OUT ANY I, Q, M, D, T, C Execution argument. Not currently relevant.
Do not assign a value to this parameter if
your communication partner is an S7
programmable controller.
IO_STATE IN_OUT BYTE I, Q, M, D, L Not currently relevant. Do not assign a value
to this parameter if your communication
partner is an S7 programmable controller.