Chapter 4. PROFINET System Operation
96
PACSystems* RX3i & RSTi-EP PROFINET IO-Controller User Manual
GFK-2571N
4.7
PACSystems CPU Operations for PROFINET
This section describes several PACSystems CPU functions as related to their operation when used with a
PROFINET network.
In addition, PACSystems CPUs with version 7.0 or later firmware and Proficy Machine Edition version 7.0 or
later provide special tools for use in systems with PROFINET networks based on the PROFINET Controller:
•
Reference ID Variables (RIVs)
•
PNIO_DEV_COMM function block
4.7.1
Reference ID Variables for the PACSystems Application
RIVs are available to the PACSystems application logic to provide a simple symbolic reference to an entity. The
following RIV types are defined for use with PROFINET Controllers and IO-Devices.
RIVs are assigned in Proficy Machine Edition by editing the Properties for a PROFINET Controller or IO-Device in
the hardware configuration.
4.7.1.1
Reference ID Variable Data Types
Data Type
Associated With
PNIO_CONTROLLER_REF PACSystems PROFINET Controller
PNIO_DEVICE_REF
PROFINET IO-Device
PNIO_CONTROLLER_REF Variable
Each PACSystems PROFINET Controller can have a PNIO_CONTROLLER_REF variable assigned to it.
When assigned, it is linked to the PROFINET Controller and its value cannot be changed. If a linked
PNIO_CONTROLLER_REF variable is present, the application logic and hardware configuration are coupled. The
name of the PNIO_CONTROLLER_REF linked variable corresponds to the controller’s
Device Name
used in the
hardware configuration to identify the module on the PROFINET network. Whenever the
PNIO_CONTROLLER_REF variable is renamed, Proficy Machine Edition will make sure all uses of that variable in
logic convert to the new variable name.
Unlinked PNIO_CONTROLLER_REF variables can be passed to the IN and Q parameters of the MOVE_DATA
function block. Linked PNIO_CONTROLLER_REF variables can only be passed to the IN parameter of the
MOVE_DATA function block.
PNIO_DEVICE_REF Variable
An RIV of type PNIO_DEVICE_REF uniquely identifies a PROFINET IO-Device. It is an unsigned integer in the
range of 1
–
255.
Each PROFINET IO-Device in an PACSystems hardware configuration can have a PNIO_DEVICE_REF variable
assigned to it. When assigned, it is linked to a PROFINET IO-Device. When a linked PNIO_DEVICE_REF is
present, the logic and hardware configuration are coupled. The name of the PNIO_DEVICE_REF linked variable
corresponds to a combination of the
LAN ID
and the
Device Name
used to identify the IO-Device on that LAN.
Whenever the PNIO_DEVICE_REF variable is renamed, Proficy Machine Edition will make sure all uses of that
variable in logic convert to the new variable name.
Unlinked PNIO_DEVICE_REF variables can be passed to the IN and Q parameters of the MOVE_DATA function
block. Linked PNIO_DEVICE_REF variables can only be passed to the IN parameter of the MOVE_DATA function
block.