GFK-2571A
Chapter 4 System Operation
4-13
4
Example
In the following sample logic, the RIV
iolan_controller01_L3
is assigned to a PNC and the RIV
iolan_controller01_L3
is assigned to
an IO-Device
.
If the
iolan_controller01_L3
PNC is communicating with the
versamax_pns01_L3
IO-Device, the
Bool variable
LC_PNC01_PNS01_Status
is set on. In a simplex (non-redundant) system the value of
the
Primary
output is the same as that of the
OK
output. In a duplex system, the Primary output sets
the
L3_PNC01_Primary
variable on if the
iolan_controller01_L3
Controller is the primary Controller.
Reset Smart Module for the PROFINET Controller
Service Request 24, Reset Smart Module can be used to reset a PNC module in the RX3i CPU rack.
The result is the same as extracting the PNC module from the rack then re-inserting it.
When the RX3i CPU encounters the Reset Smart Module service request in the application logic, it
issues a reset command to the specified module (in this case, a PNC). The PNC terminates all
connections to PROFINET IO-Devices. When the PNC powers up and re-establishes
communications with the CPU, the CPU sends the PNC its configuration, and the PNC re-
establishes connections with all its configured PROFINET IO Devices.
The Reset Smart Module request cannot be used to reset modules located in remote nodes.
DO I/O for Remote IO Modules
In addition to the normal I/O updates that occur during the RX3i CPU’s scan, the application program
in the CPU can use the DO I/O function to access the I/O data associated with Remote IO Modules
on the PROFINET network during the logic portion of the CPU sweep. The DO I/O function can
obtain or update the most recent I/O data that is being consumed from or published to the Remote
IO Module by the PROFINET IO Controller. The DO I/O function can also be used to obtain data
associated with the PNC module itself.
It is important to remember that the I/O data being read or written by the DO I/O function is data
currently being stored by the RX3i PNC in its memory. Executing a DO I/O function from the CPU
does not cause additional data to be produced or consumed on the PROFINET NETWORK.
Updates of the actual Remote IO Module I/O data occur during the configured PROFINET cyclic
scanning schedule. The DO I/O function provides the benefit of immediately updating I/O data at the
PNC, as opposed to waiting for the next normal RX3i I/O scan. The DO I/O function can also be
used to obtain the PNC
’s latest input status data values (see chapter 5, “Diagnostics”).