Integration of the LES 36…/PB in the PROFIBUS
Leuze electronic
LES 36
120
TNT
35/7-2
4
V
11.5
Description of the output data
PROFIBUS trigger
So that a measurement can be triggered on each PROFIBUS cycle, the PROFIBUS trigger
of the LES responds to a change of master output byte
uTrigger
. The control only needs
to increment the trigger value in order to initiate a new measurement.
The maximum trigger frequency is 100Hz. If triggering occurs during a measurement, the
trigger signal is ignored, as is the case in the
Free Running
operating mode (shown on
display:
fRun
).
Activation - Sensor activation
Alternatively, activation can be switched on in detection mode via activation input
InAct
(pin 2 on X1) or master output
uActivation
= 1.
Note!
With the
Disregard
parameter setting in LESsoft, the sensor is always activated; input
InAct
and activation via PROFIBUS are ignored.
Inspection Tasks - Selection of inspection tasks
With master output
uInspTask
(bits IT_b3 … IT_b0 in output data byte 2), inspection tasks
0 … 15 can be selected. The changeover occurs in cyclical IO operation and lasts
approx. 70ms. During the changeover, the PROFIBUS IO data are frozen and the internal
reconfiguration occurs. This is indicated by the scan number, which does not increase.
After changing the inspection task, the PROFIBUS IO data of the sensor are again updated.
Value
uSensorInfo
in the input data then indicates the inspection task set in the sensor and
the scan number again increases with each new measurement.
Attention!
While configuring the LES with LESsoft via Ethernet, global parameter
Enable External
Inspection Task Selection
should be switched off so that the inspection task is not auto-
matically changed by the control during configuration.
After configuring, the check box for this parameter must be selected again before the con-
figuration is transmitted to the sensor by means of
Transmit Configuration To Sensor
.
Otherwise, inspection tasks can no longer be selected via PROFIBUS!