
System variables and status information
6959_en_07
PHOENIX CONTACT
79
4.2
Status information of each PROFINET device
(ILC 330 PN / ILC 350 PN)
The “~PNIO_DATA_STATE” byte that contains the corresponding status bits is available for
every PROFINET device. A PROFINET device only provides valid data if this bit is set. Hide
bits that are not described in the control program by linking to a corresponding bit mask.
These variables can be linked as process data.
PNIO_DATA_VALID
For PROFINET, it may be normal during operation that a PROFINET device within the
network cannot be accessed (e.g., undocking devices).
Furthermore, applications are conceivable which cannot be implemented with INTERBUS.
For example, in the event of a device failure it can be ensured that the operation of all other
PROFINET devices remains unaffected.
This means that an application program must know whether or not a PROFINET device is
supplying valid data. This is why each device has a “PNIO_DATA_VALID” process data
item.
PNIO_APPL_RUN
The display of this bit is interesting, for example, if controllers will be used as PROFINET
devices in future. This bit would then indicate whether or not the control program is running
on the PROFINET device.
PNIO_NO_DIAG
If this bit is set, the device diagnostics can be read from the PROFINET device using a
special function block in an additional implementation step of the basic system if additional
information on the error that occurred is required in the control program.
Table 4-14
Status information variables of a PROFINET device
Variable
Type
Meaning
~PNIO_DATA_STATE
BYTE
Status of a PROFINET device
PNIO_IS_PRIMARY
BOOL
Reserved
PNIO_DATA_VALID
BOOL
This bit must be set for the PROFINET device to supply
valid data and all other process values to be valid.
PNIO_APPL_RUN
BOOL
Application running on the PROFINET device.
PNIO_NO_DIAG
BOOL
If this bit is set, there are no device diagnostics present.
Содержание ILC 330 Series
Страница 1: ...User manual Installing and operating the ILC 330 and ILC 350 Inline controllers...
Страница 8: ...ILC 330 350 8 PHOENIX CONTACT 6959_en_07...
Страница 10: ...ILC 330 350 10 PHOENIX CONTACT 6959_en_07...
Страница 42: ...ILC 330 350 42 PHOENIX CONTACT 6959_en_07...
Страница 68: ...ILC 330 350 68 PHOENIX CONTACT 6959_en_07...
Страница 80: ...ILC 330 350 80 PHOENIX CONTACT 6959_en_07...
Страница 96: ...ILC 330 350 96 PHOENIX CONTACT 6959_en_07 T Terminal box 27 U Update 9 43 Updating the firmware 89...