Fmu_Dataexchange - Panasonic FMU Technical Manual

Programmable logic controller
Table of Contents

Advertisement

Programming Information for Control FPWIN Pro

5.3 FMU_DataExchange

The FMU_DataExchange function block is used to start communication with the network. It has
to be supplied with information about the input and output size, and network-specific data.
Just leave the pins unconnected that you do not require.
PLC types: available for FP2/FP2SH and FPΣ.
Variables of this function block have to be of one of the following data types:
Inputs
Data type
Input
INT
iUnitSlotNumber
INT
NetworkType
BOOL
DataExchange_bRun
POINTER
DataExchange_pInputData
POINTER
DataExchange_pOutputData
BOOL
SlaveDiagnostic_bStart
INT
SlaveDiagnostic_iNumber
BOOL
bMasterReset
Outputs
Data type
Output
BOOL
Unit_blsReady
INT
Unit_ErrorNumber
DUT
dutNetworkStatus
BOOL[128]
Slaves_abIsConfigured
BOOL[128]
Slaves_abIsConnected
BOOL[128]
Slaves_abHasDiagnostic
36
Function
Installation position of the FMU.
Use:
• FMU_ProfibusDP
• FMU_DeviceNet
• FMU_CANopen
Defined in the library as VAR_GLOBAL_CONSTANT.
If true, network communication runs.
Pointer to the input's process data table.
Pointer to the output's process data table.
If rising edge, slave diagnostic starts on time.
Node number for diagnostic.
If true, the unit is in reset stage.
Function
ON if unit is ready.
Unit is in error.
Depends on the network (see "dutNetworkStatus Output"
on page 37).
Depends on the network (see "Slaves_abIsConfigured
Output" on page 48).
Depends on the network (see "Slaves_abIsConnected
Output" on page 49).
Depends on the network (see "Slaves_abHasDiagnostic
Output" on page 50).
FMU Technical Manual

Advertisement

Table of Contents
loading

Table of Contents