JetWeb
Jetter AG
49
7.6
Diagnose
The PROFIBUS module offers the possibility of sending diagnose telegrams. The
diagnose mechanism of the PROFIBUS-DP consists of two steps: First, the slave
signalizes to the master, that there are new diagnose data. Being the slave, it can
never start communication; it will, in a standard data exchange, respond by a
telegram of high priority, though. Then, the master will send a diagnose request to
the slave, which will, in return, transmit the present diagnose data.
From the user’s point of view, the diagnose process is structured as follows:
7.6.1
Registers for Diagnose Data
From the user’s point of view, the process is structured as follows:
Fig. 10: Structuring of the registers for user diagnose data
Register 1m139:
Check, whether carrying out a diagnose command has
been completed, i.e. whether the diagnose telegram sent
last has been fetched by the master. The register value
must be 0 then. Only then, a new diagnose telegram can
be created. This is to make sure that diagnose information
does not get lost.
To interrupt the transmission of a diagnose telegram, issue
command 10 (see section 6.3.2 "Commands for
Transmitting Diagnose Data").
Register 1m140:
Enter the length of the diagnose data in byte. The length
must amount to between 10 and 32 bytes.
•
Length = 10 bytes:
Only the standard diagnose data are transmitted according
to the PROFIBUS specification.
•
Length = (10 + number of user bytes) bytes:
Additional transfer of user diagnose data
(e.g. if diagnose data of 4 bytes are to be transmitted to the
master, length = 14 must be written into the register).
Register 1m146:
From this register onwards, the diagnose data can be
entered in word mode now, the LowByte being placed on
the lower address.
Register 1m210:
From this register onwards, the above registers can also be
accessed in byte mode, the LowByte being placed on the
lower address.
Register 1m141 to
1m145 (resp.
1m200 to 1m209):
These registers are already occupied with the standard
diagnose data and must not be changed.
210
211
212
213
146
147
Byte
Access
Word Access
214
215
216
217
148
149
218
219
150
230
231
156
Содержание JetWeb JX2-PR0FI1
Страница 1: ...Article 608 641 01 November 2002 Printed in Germany ...
Страница 4: ...JX2 PROFI1 Table of Contents Jetter AG 4 ...
Страница 13: ...1 Safety Instructions JetWeb 13 Jetter AG ...
Страница 14: ...JX2 PROFI1 2 Physical Dimensions Jetter AG 14 2 Physical Dimensions Fig 2 Front View JX2 PROFI1 ...
Страница 15: ...JetWeb 15 Jetter AG Fig 3 Side View JX2 PROFI1 Fig 4 Top View JX2 PROFI1 ...
Страница 19: ...JetWeb 19 Jetter AG ...
Страница 21: ...JetWeb 21 Jetter AG ...
Страница 23: ...JetWeb 23 Jetter AG 5 3 Features ...
Страница 43: ...JetWeb 43 Jetter AG ...
Страница 45: ...JetWeb Jetter AG 45 ...
Страница 61: ...JetWeb Jetter AG 61 43 rPB_DiagData1 12146 44 rPB_DiagData2 12147 45 46 rPB_DataIn 12300 47 rPB_DataOut 12400 ...
Страница 62: ...JX2 PROFI1 8 Sample Programs 62 Jetter AG ...
Страница 63: ...JX2 PROFI1 Appendices Jetter AG 63 Appendices ...