Diagnostics - Beckhoff EL6631-0010 Manual

Profinet device supplement
Table of Contents

Advertisement

Commissioning
The difference to the use of the virtual device lies in the fact that, when creating a virtual device, a
completely new device is generated (with its own name, MAC, IP, etc.). i.e. as a result the controller sees
two separate devices and can establish two completely separate connections.
In the case of Shared Device, conversely, there is only ever one device. On the device side nothing needs to
be engineered for this; the complete functionality is handled in the ProfiNET stack. A common example for
this would be the use of the safety functionality. A "normal CONTROLLER" is assigned the "normal" inputs
and outputs, while the F-CPU is assigned the safe I/Os. If the requested process image should overlap in
both controllers, then the first AR (primary) that is established is given full read and write access to the
submodule. The second AR (secondary) receives a corresponding ModuleDiff block at the submodules that
are already occupied. If the primary AR is released, then the secondary AR receives an alarm now indicating
that the requested submodule is free. The second controller now has the possibility, if it supports this, to re-
parameterize the submodules and to adopt them into its AR.
4.1.4

Diagnostics

4.1.4.1
Status and Ctrl. flags
PROFINET status
The current status of the PROFINET communication can be monitored by means of PnIoBoxState.
Fig. 9: TwinCAT tree: PROFINET status via "PnIoBoxState"
PnIoBoxState
Comment
0x0001 (Bit 0)
Device is in I/O exchange
0x0002 (Bit 1)
Device is blinking
0x0004 (Bit 2)
Provider State 0=STOP,
1=RUN
0x0008 (Bit 3)
Problem indicator 0=OK,
1=Error
In the absence of an error, the value of PnIoBoxState is "5" - in other words, bits 0 and 2 are set.
PROFINET control
PnIoBoxCtrl can be used for assigning names; only the low byte is to be used for this. The high byte must be
0x00.
4.1.4.2
Port diagnostics
Port diagnostics can be used to identify the neighboring PROFINET devices. The device's own port can also
be diagnosed.
32
Meaning
PROFINET device is exchanging data
PROFINET device is being searched for by
identification
The PROFINET controller is stopped
The PROFINET device has encountered problems
Version: 3.4.0
EL6631-0010

Advertisement

Table of Contents
loading

Table of Contents