Internal data points of the PROFIsafe driver
An internal data point of type _PROFIsafe is automatically created for each connection of the PROFIsafe driver. The name of the connection must be unique within the system.
Following table shows the elements of data type _PROFIsafe:
_PROFIsafe
Data point element | Type | Description |
---|---|---|
Config.Address | string | Address configuration of PROFINET card and safety controller. |
Config.ReconnectTimeout | uint |
Reconnect interval in seconds. Default = 20 |
Config.LifebeatTimeout | uint |
Lifebeat interval in seconds. Default = 20 |
Config.EstablishmentMode | uint |
|
Config.SetInvalidBit | bool | Defines if the invalid bit is set on connection loss. For PROFIsafe the invalid bit is always set if the PROFIsafe connection state is not "running". |
Config.AcquireValuesOnConnect | bool |
Triggers a general query when the connection to the PLC is established. Default = TRUE |
Config.EnableStatistics | bool |
Enables the statistical evaluation of data for this connection. Default = TRUE |
Config.Modules.Slot | dyn_uint | Slot number of the transfer area. |
Config.Modules.Area | dyn_char | Direction (input, output ,bidirectional) of the transfer area. |
Config.Modules.Size | dyn_uint | Size (in bytes) of the transfer area. |
Config.Modules.Sil | dyn_uint |
Safety Integrity Level of the transfer area.
|
Config.Modules.FSource | dyn_uint | Corresponds to the F_Source_Add parameter in TIA Portal. |
Config.Modules.FDest | dyn_uint | Corresponds to the F_Dest_Add parameter in TIA Portal. |
Config.Modules.FCrcSize | dyn_uint | Size of F-CRC parameter in bytes. |
Config.Symbolic.SymAddr | dyn_string | List of symbolic addresses. |
Config.Symbolic.AbsAddr | dyn_string | List of absolute addresses. |
Config.IM_Data | blob | I&M data (Identification & Maintenance, for PROFINET IO devices), only used for internal remanence. |
Config.ModeTag | string |
Mode tag required for the WinCC OA redundancy. The byte defined here is used to inform the safe controller if the driver (F-device) is active or passive. Must be stated in format <slot number>.<byte number> |
Config.DrvNumber | uint | Driver number of the PROFIsafe driver in the project. |
Command.Enable | bool | Activates / deactivates the connection. |
Command.GQ | bool | Triggers a general query. |
Command.IGQ | bool | Triggers an inverse general query. |
State.ConnState | uint |
Connection state:
|
State.DrvType | string | <driver type>:<driver number> |
State.Disabled | bool | |
State.GeneralInfo | string | General information on the connected F-host etc. |
State.Profinet | uint |
Operating state of the PROFINET network:
|
State.Profisafe | uint |
Connection state of the PROFIsafe network:
|
Statistics.PnReadsPerSec | float | Read PROFINET tags per second in the last interval. |
Statistics.PnWritesPerSec | float | Written PROFINET tags per second in the last interval. |
Statistics.PsReadsPerSec | float | Read PROFIsafe tags per second in the last interval. |
Statistics.PsWritePerSec | float | Written PROFIsafe tags per second in the last interval. |