Diagnostics with the CP 341
8.1 Diagnostics Functions of the CP 341
CP 341 Point-to-Point Communication, Installation and Parameter Assignment
204 Manual, 09/2008, A5E02191071-01
1st, 3rd, and 4th bytes:
The 1st, 3rd, and 4th bytes of the diagnostic data represent the error that has occurred.
Bit 0 in the 1st byte is the group error display (SF). Bit 0 is always set to "1" if at least one bit
from bits 1 to 7 is set to "1", i.e. if at least one error is entered in the diagnostic data.
Event 1st Byte 3rd Byte 4th Byte
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Wire break 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0
Incorrect parameter 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Diagnostic information (hexadecimal)
The table below shows the 4 bytes of diagnostic data of the CP 341 in hexadecimal notation.
Event 1st Byte 2nd Byte 3rd Byte 4th Byte
Wire break 25H 0CH 02H 00H
Incorrect parameter 83H 0CH 00H 00H
Relationship of the diagnostic interrupt and the CPU operating mode
A diagnostic interrupt is generated via the I/O bus on an incoming event (rising edge) and
outgoing event (falling edge).
When the CPU switches from STOP to RUN mode, the following applies:
● Events (either incoming or outgoing) that occurred when the CPU was in STOP mode are
not stored
● Events that are still present when the CPU switches back to RUN mode are signaled via
a diagnostic interrupt.
该文档是极速PDF编辑器生成,
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/