Chapter 4. PROFINET System Operation
98
PACSystems* RX3i & RSTi-EP PROFINET IO-Controller User Manual
GFK-2571N
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
.
If the
iolan_controller01_L3
PROFINET Controller is communicating with the
versamax_pns01_L3
IO-Device, the
Bool variable
L3_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 Hot Standby CPU Redundancy system, the Primary output
sets the
L3_PNC01_Primary
variable on when the
iolan_controller01_L3
Controller is actively controlling the
versamax_pns01_L3
IO-Device.
Figure 93: PNIO_DEV_COMM Example
4.7.3
Reset Smart Module for the PROFINET Controller
Service Request 24,
Reset Smart Module
7
,
can be used to reset a PNC001 module in the PACSystems RX3i CPU
rack. The result is the same as extracting the PNC001 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 PNC001). The PNC001 terminates all connections to
PROFINET IO-Devices. When the PNC001 powers up and re-establishes communications with the CPU, the
CPU sends the appropriate configuration to the PNC001, and the PNC001 re-establishes connections with all
its configured PROFINET IO Devices.
Note: The
Reset Smart Module
request cannot be used to reset smart modules located in remote nodes.
4.7.4
DO I/O for Remote IO Modules
In addition to the normal I/O updates that occur during the PACSystems
CPU’s scan, the application program i
n
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 PROFINET Controller 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 PROFINET Controller within 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 PROFINET Controller, as opposed to
waiting for the next normal I/O scan. The
DO I/O
function can also be used to obtain the latest input status
from the PROFINET Controller (see Chapter 5
7
This Service Request is not supported by embedded PROFINET Controllers.