Specifications
16 GX Configurator-PN
(c) 2013 MITSUBISHI ELECTRIC CORPORATION
From CPU to PROFINET IO-Controller
Global Variable Identifiers
IO-Device
Number
Values
0 (default)
1
vPN_MGMT_OUTPUTS.IOD_CONSIST[16]
…
vPN_MGMT_OUTPUTS.IOD_CONSIST[31]
16
..
31
…
…
vPN_MGMT_OUTPUTS.IOD_CONSIST[116]
…
vPN_MGMT_OUTPUTS.IOD_CONSIST[127]
116
..
127
Therefore station-specific handshake flags are added to the shared memory, which block simulta-
neous access to the same input or output area by both the master and the PLC program. This solu-
tion is slower, but has the following advantages:
1. IO-controller checks the configuration to detect stations, which require consistency
2. it marks those stations, which require consistency for inputs and outputs.
3. handshake controls access to each station separately, not blocking simultaneous access to all
stations
The disadvantage of this solution is the delay between two updates data from PLC.
Note: PLC CPU and PROFINET Controller cannot write to the same area in shared memory. There-
fore the handshake mechanism requires to define two bits for device inputs and two bits for device
outputs.
Output Handshake Registers (IOD_OUTPUT_HSK_Y and
IOD_OUTPUT_HSK_X)
From CPU to IO-Controller
Global Variable Identifier
Function
vPN_MGMT_OUTPUTS.IOD_OUTPUT_HSK_Y[0]
Take into account new outputs for
device 0
…
Take into account new outputs for
device n
vPN_MGMT_OUTPUTS.IOD_OUTPUT_HSK_Y[127]
Take into account new outputs for
device 127