Starting up the device - PROFIBUS interface
Leuze electronic GmbH + Co. KG
CML 730i
116
12.4.11 Beam-stream (1774 bit) (module 9)
12.4.12 Read device parameters (module 10)
With the
Read device parameters
module, various data (e.g., manufacturer, device type, serial number,
etc.) can be read out for diagnostics or to check the configuration during the start-up phase.
Provided the user has configured the module and the desired object, the entire configuration (from all
modules) is sent from the master to the device on start-up. The device checks the data and responds with
the diagnosis message, expanded to include the device-specific (vendor-specific) diagnosis (diagnosis
length > 0).
The diagnosis message contains a number of separating bytes to separate the pieces of information of
multiple objects from one another.
• The first byte is the total length of all data.
• The second byte is the length of the first object.
• The data of the object begin with the third byte.
Example:
Two objects were queried, and the answer should look like this:
[ 0A ]
[ 02 ] [ 00 ] [ 01 ] [ 05 ] [ 01 ] [ 02 ] [ 03 ] [ 04 ] [ 05 ]
•
[ 0A ]
– total length of all data
• [ 02 ] – the length of the first object
• [ 05 ] – the length of the second object
• [ xx ] – the data of the objects
Parameter
Rel.
addr.
Data type
Value range
Default Explanation
Number of the optical cascade
0
Unsigned1024
1 … 48
1
Beam number multiplied by 16, beginning with which the
beam-stream data is to be transmitted.
Start value: 1+(i-1)*16
Reading out of the beam states of all existing individual beams. The object transmits 1774 logical
beams beginning with the configured optical cascade. One bit is transmitted for each interrupted
or uninterrupted beam.
Parameter
Rel.
addr.
Data type
Value range
Default Explanation
Number of the optical cascade
0
Unsigned1774
1
1
Beam number multiplied by 16, beginning with which the
beam-stream data is to be transmitted.
Start value: 1+(i-1)*16
Module 10 must not be used in the productive process; it is only to be used for diagnosis purpo
-
ses.
Because with PROFIBUS-DPV0 no asynchronous communication exists in the process, there is
no possibility to query the data from the device. The only way to query the desired data from the
device during start-up is the PROFIBUS diagnosis.
The principal function depends on the used control and should not be assumed to be present
without testing beforehand.
The control must be configured for the extended device diagnosis. The diagnostic data must be
loaded in a defined memory area in order to be processed later. If this is not done, exception
errors may occur.