Technical data

Table Of Contents
S7 Communication
System Software for S7-300/400 System and Standard Functions - Volume 2/2
21-34
A5E00739858-01
If you attempt to disable, for example, a font that is not enabled or execute a
function that the printer does not recognize, the control instruction is ignored. The
following table contains the errors that may occur with the FORMAT in/out
parameter.
Error Printer Output
Conversion instruction cannot be executed * characters are output according to the (maximum)
length of the default representation or the specified
width.
Specified width too small In the representations A, C, D, N, S, T, and Z, as
many characters are printed as specified by the
selected width. With all other representations, *
characters are printed across the specified width.
Too many conversion instructions The conversion instructions for which there is no
send area pointer SD_i are ignored.
Too few conversion instructions Send areas for which there is no conversion
instruction are not printed out.
Undefined or unsupported conversion instructions
******
is printed out.
Incomplete conversion instruction
******
is printed out.
Undefined or unsupported control instructions Control instructions that do not comply with the
Syntax shown in the figure above are ignored.
Error Information
The following table contains all the error information specific to SFB 16 "PRINT"
that can be printed out using the ERROR and STATUS parameters.
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 Communication problems, for example
Connection description not loaded (local or remote)
Connection interrupted (for example, cable, CPU off, CP in STOP mode)
1 2 Negative acknowledgment from printer. The function cannot be executed.
1 3 PRN_NR is unknown on the communication link specified by the ID.
1 4 Error in the FORMAT in/out parameter or in the send area pointers SD_i in
terms of the data length or data type.
1 6 The remote printer is OFFLINE.
1 7 The remote printer is not in the correct status (for example, paper out).
1 10 Access to the local user memory not possible (for example, access to a deleted
DB).
1 13 Error in the FORMAT in/out parameter
1 20
S7-400: Not enough work memory available. If there is still enough total
work memory available, then the solution is to compress the work memory.
H system: a first call of SFB is not possible during an update since the
communication buffer in the work memory is being created. Measures that
change the work memory are not possible during an update.