RSTI-EP PROFINET I/O Controller User Manual
Section 4
GFK-2571R
May 2021
PROFINET System Operation
94
4.7.2
PNIO_DEV_COMM Function Block
The PNIO_DEV_COMM function block monitors communications between a specified
PROFINET Controller and a specified IO-Device.
Figure 92: PNIO_DEV_COMM Function Block
PNIO_DEV_COMM can be used by the application logic to take a corrective action or turn
on an indicator if a specific device fails. It might also be used by a custom HMI to show which
PROFINET IO-Device connections are currently established.
It is recommended that the All Devices Connected status bit be checked first to determine
whether all devices belonging to the PROFINET Controller are functioning. If this bit is 0,
indicating that one or more devices is not OK, the PNIO_DEV_COMM function block can
then be used to determine which specific devices are not communicating. For details on this
status bit, refer to Status Reporting in Section 5:, Diagnostics.
Parameters and Outputs of PNIO_DEV_COMM
PNIO_DEV_COMM returns a Boolean indication of whether a given PROFINET Controller is
currently communicating with a specified IO Device. The PROFINET Controller is identified
by the I/O Controller input parameter, which is a PNIO_CONTROLLER_REF data type. The IO-
Device is identified by the I/O Device input parameter, which is a PNIO_DEVICE_REF data
type.
PNIO_DEV_COMM has two Boolean outputs (in addition to ENO) labeled OK and Primary.
OK is set ON/true if the PROFINET Controller is successfully communicating with
the IO-Device; otherwise it is OFF/false.
Primary is set ON/true if the IO-Device is currently being actively controlled by the
PROFINET Controller. In a Hot Standby CPU redundancy application, only one
PROFINET Controller is actively controlling an IO-Device at any given time. For
details, refer to the PACSystems Hot Standby CPU Redundancy User’s Manual, GFK
2308.
The application logic must identify the PROFINET Controller and the IO Device in a symbolic
manner, passing appropriate Reference ID Variables (see Figure 93) to the corresponding
input parameters.
Example
In the sample logic (Figure 93), the RIV iolan_controller01_L3 is assigned to a PROFINET
Controller and the RIV iolan_controller01_L3 is assigned to an IO-Device.
Summary of Contents for PACSystems RX3i
Page 46: ...RSTI EP PROFINET I O Controller User Manual Section 2 GFK 2571R May 2021 Installation 39 ...
Page 51: ...RSTI EP PROFINET I O Controller User Manual Section 2 GFK 2571R May 2021 Installation 44 ...
Page 72: ...RSTI EP PROFINET I O Controller User Manual Section 3 GFK 2571R May 2021 Configuration 65 ...
Page 82: ...RSTI EP PROFINET I O Controller User Manual Section 3 GFK 2571R May 2021 Configuration 75 ...