Profinet System Variables
All PND system variables gather information regarding PROFINET I-Device functionality.
| System Variable | Data Type | Specification |
|---|---|---|
| PND_S1_PLC_RUN | BOOL | Higher level Controller PC is in RUN mode |
| PND_S1_VALID_DATA_CYCLE | BOOL | True if I-Device configuration is ok
Controller PLC must be connected but can be in STOP or RUN mode |
| PND_S1_OUTPUT_STATUS_GOOD | BOOL | Status of output data (Controller PLC must be in RUN mode) |
| PND_S1_INPUT_STATUS_GOOD | BOOL | Status of input data (Controller PLC must be in RUN mode) |
| PND_S1_DATA_LENGTH | WORD | Length of input and output data in Byte. (Will be actualized if controller PLC is connected PND_S1_VALID_DATA_CYCLE = TRUE) |
| PND_S1_OUTPUTS | PND_IO_512 | Output data array from the iCube I-Device to the PROFINET controller |
| PND_S1_INPUTS | PND_IO_512 | Input data array from the PROFINET Controller to the iCube I-Device |
| PND_IO_DRIVEN_BY_PLC | INT | Applicative system redundancy -number of the PROFINET controller currently connected to the PN device. 0 = No PROFINET controller, 1 = PROFINET controller A, 2 = PROFINET controller B.
(Will be actualized if controller PLC is connected PND_S1_VALID_DATA_CYCLE = TRUE) |
All PNIO system variables gather information regarding PROFINET IO Controller functionality.
| System Variable | Data Type | Specification |
|---|---|---|
| PNIO_SYSTEM_BF | BOOL | Missing connection to a configured PROFINET device. - An error has occurred in the PROFINET network, i.e. no connection could be established to at least one configured PROFINET device. - This value is not set if the "Drive BF" parameter on a PROFINET device was set to FALSE. The PROFINET device was thus removed from the connection monitoring. |
| PNIO_SYSTEM_SF | BOOL | Diagnostic interrupt on a configured PROFINET device. - At least one PROFINET device reports a system error as a diagnostic interrupt or maintenance alarm. - The error priority can be found in the variables PNIO_MAINTENANCE_DEMANDED and PNIO_MAINTENANCE_REQUIRED. |
| PNIO_MAINTENANCE_DEMANDED | BOOL | maintenance demand - At least one PROFINET device reports a "maintenance demand" - maintenance alarm with high priority when the connection is active. - The PROFINET device can be identified by means of the RALRM diagnostic block. |
| PNIO_MAINTENANCE_REQUIRED | BOOL | maintenance required - At least one PROFINET device reports a "maintenance required" - maintenance alarm with low priority when the connection is active. The PROFINET device can be identified by means of the RALRM diagnostic block. |
| PNIO_CONFIG_STATUS | WORD | Configuration status of the PN controller. The word value represent the following mapping : PNIO_CONFIG_STATUS_READY - Bit 0 PNIO_CONFIG_STATUS_ACTIVE - Bit 1 PNIO_CONFIG_STATUS_CFG_FAULT - Bit 2 |
| PNIO_CONFIG_STATUS_ACTIVE | BOOL | target configuration loaded. - This variable is TRUE when a target configuration was uploaded to the PROFINET controller. - In this state, the PROFINET controller tries to establish a connection cyclically to all devices of the target configuration. |
| PNIO_CONFIG_STATUS_READY | BOOL | PROFINET controller initialized. - This variable is TRUE if the PROFINET controller could be initialized without errors. - This variable is FALSE if No target iCube Engineer configuration has been loaded yet. |
| PNIO_CONFIG_STATUS_CFG_FAULT | BOOL | desired PN controller configuration has not been applied due to a serious error. |
| PNIO_FORCE_FAILSAFE | BOOL | All PN devices are prompted to set their configured substitute values. The system variable can be written/set from the program if required |
| PNIO_FORCE_PRIMARY | BOOL | function blocks use this variable for applicative redundancy to specify the SRL role of the PN controller |