Diagnostics with the CP 340
8.2 Diagnostics Messages of the Function Blocks P_SEND, P_RCV and P_PRINT
PtP coupling and configuration of CP 340
140
Manual, 04/2011, A5E00369892-03
Displaying and evaluating the STATUS output
You can display and evaluate the actual address of the function blocks' STATUS outputs.
Note
An error message is only output if the ERROR bit (job completed with error) is set at the
same time. In all other cases the STATUS word is zero.
Event class 30
Event class 30 contains error messages, which could be output during communication via
the S7 backplane bus between CP 340 and the CPU.
The table below contains a description of event class 30.
Table 8- 2
Event class 30
Event class 30 (1EH):
"Communication error between CP and CPU"
Event no.
Event
More information/To correct and avoid errors
(1E)0DH
Job aborted due to warm restart, hot restart or reset
(1E)0EH
Static error when calling RD_REC SFC or RDREC
SFB. The RET_VAL return value for the SFC/SFB is
made available to you for evaluation in the SFCERR
or SFCSTATUS variable respectively on the
instance DB.
Load the SFCERR or SFCSTATUS variable from
the instance DB.
(1E)0FH
Static error when calling WR_REC SFC or RDREC
SFB. The RET_VAL return value for the SFC/SFB is
made available to you for evaluation in the SFCERR
or SFCSTATUS variable respectively on the
instance DB.
Load the SFCERR or SFCSTATUS variable from
the instance DB.
(1E)41H
The number of bytes specified at the FBs' LEN
parameter is not permissible.
You must stay within a range of values of 1 to
1,024 bytes.
(1E)41H
P_PRINT FB:
The number of bytes specified for the variable or
format string in the pointer DB under length is not
permissible.
You must specify a permissible length:
32 bytes for variables, 150 bytes for format strings.
(1E)43H
P_PRINT FB:
No pointer available for format string.
Enter the data block no. and data word no. for the
format string in the pointer DB.
Содержание SIMATIC CP 340
Страница 6: ...Preface PtP coupling and configuration of CP 340 6 Manual 04 2011 A5E00369892 03 ...
Страница 10: ...Table of contents PtP coupling and configuration of CP 340 10 Manual 04 2011 A5E00369892 03 ...
Страница 186: ...Accessories and Order Numbers PtP coupling and configuration of CP 340 186 Manual 04 2011 A5E00369892 03 ...
Страница 190: ...Literature on SIMATIC S7 PtP coupling and configuration of CP 340 190 Manual 04 2011 A5E00369892 03 ...
Страница 200: ...Index PtP coupling and configuration of CP 340 200 Manual 04 2011 A5E00369892 03 ...