Technical data

Table Of Contents
S7 Communication
System Software for S7-300/400 System and Standard Functions - Volume 2/2
A5E00739858-01
21-37
Parameter Declaration Data Type Memory Area Description
PI_NAME IN_OUT ANY I, Q, M, D, T, C Pointer to the 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.
With an H system, the following names are
possible:
P_PROGRAM (the start job is valid for
all CPUs in the H system.)
P_PROG_0 (the start job is valid for the
CPU in Rack 0 in the H system.)
P_PROG_1 (the start job is valid for the
CPU in Rack 1 in the H system.)
ARG IN_OUT ANY I, Q, M, D, T, C Execution argument.
If you do not assign a value to ARG, a
warm restart is run on the remote
device.
If you assign the value "C," a cold
restart is run on the remote device (if
the remote device is capable of this
type of startup).
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.
Error Information
The following table contains all the error information specific to SFB 19 that can be
output with the parameters ERROR and STATUS.
ERROR
STATUS
(Decimal)
Explanation
0 11 Warning:
New job cannot take effect since previous job is not yet completed.
The job is now being processed in a priority class having lower priority.
0 25 Communication has started. The job is being processed.
1 1 Communications problems, for example:
Connection description not loaded (local or remote)
Connection interrupted (for example, cable, CPU off, CP in STOP mode)
1 2 Negative acknowledgement from the partner device. The function cannot be
executed.
1 3 The program name entered for PI_NAME is unknown.
1 4 Error in the pointers PI_NAME or ARG involving the data length or the data
type.
1 7 No complete restart possible on the partner device.
1 10 Access to the local user memory not possible (for example, access to a deleted
DB)