Fns_Profinetio Function Block - Panasonic FPSIGMA Technical Manual

Fieldbus slave units
Table of Contents

Advertisement

Programming Examples for FPWIN Pro
In the ladder diagram body you can see an instance of the FNS_ProfinetIO function block
called Profinet, and how the inputs, outputs and configuration data have to be supplied to the
function block.

5.8.1 FNS_ProfinetIO Function Block

The FNS_ProfinetIO function block configures the FP-FNS block ProfinetIO. It has to be
supplied with information about the configuration, the input and output size and
network-specific data.
If no inputs or no outputs are used, just leave the corresponding pins unconnected.
PLC types: available for FP2/FP2SH and FP.
Variables of this function block have to be of one of the following data types:
Inputs
Input
bReset
iSlotNo
bSetStationName
sStationName
pInputs
pInConfig
pOutputs
pOutConfig
iWatchdogTime_ms
68
Data Type
Function
BOOL
Reset pin; network block will be reset while bReset is set.
INT
Installation position of the FNS unit
BOOL
A rising edge of this input sets the string stored in sStationName
as the station's name and performs a power-up reset of the unit.
STRING
The Station Name identifies the PROFINET IO unit in the
PROFINET network. If this value is set with bSetStationName
while the connection with the IO controller is established, the unit
will reset so changes can take effect. Changes made through
DCP will take immediate effect without reset.
POINTER
Pointer to the input's process data table
POINTER
Pointer to the input's configuration data table
POINTER
Pointer to the output's process data table
POINTER
Pointer to the output's configuration data table
INT
Watchdog timeout value for unit in ms. Valid values from 1 to
32767. 0: default of 700ms.

Advertisement

Table of Contents
loading

Table of Contents