
Programming Information for Control FPWIN Pro
FMU Technical Manual
36
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
Function
INT
iUnitSlotNumber
Installation position of the FMU.
INT NetworkType
Use:
•
FMU_ProfibusDP
•
FMU_DeviceNet
•
FMU_CANopen
Defined in the library as VAR_GLOBAL_CONSTANT.
BOOL
DataExchange_bRun
If true, network communication runs.
POINTER
DataExchange_pInputData
Pointer to the input's process data table.
POINTER
DataExchange_pOutputData
Pointer to the output's process data table.
BOOL SlaveDiagnostic_bStart
If rising edge, slave diagnostic starts on time.
INT SlaveDiagnostic_iNumber
Node number for diagnostic.
BOOL
bMasterReset
If true, the unit is in reset stage.
Outputs
Data type
Output
Function
BOOL
Unit_blsReady
ON if unit is ready.
INT
Unit_ErrorNumber
Unit is in error.
DUT
dutNetworkStatus
Depends on the network (see "dutNetworkStatus Output"
on page 37).
BOOL[128] Slaves_abIsConfigured
Depends on the network (see "Slaves_abIsConfigured
Output" on page 48).
BOOL[128] Slaves_abIsConnected
Depends on the network (see "Slaves_abIsConnected
Output" on page 49).
BOOL[128] Slaves_abHasDiagnostic
Depends on the network (see "Slaves_abHasDiagnostic
Output" on page 50).
Summary of Contents for FMU
Page 1: ...programmable logic controller FMU Technical Manual ...
Page 3: ......
Page 9: ......
Page 10: ...Chapter 1 Features and Restrictions ...
Page 13: ......
Page 14: ...Chapter 2 Parts and Functions ...
Page 23: ......
Page 24: ...Chapter 3 Specifications ...
Page 30: ...Chapter 4 Installation and Wiring ...
Page 42: ...Chapter 5 Programming Information for Control FPWIN Pro ...
Page 70: ...Chapter 6 Outline Dimensions ...
Page 73: ......
Page 76: ...Record of Changes Manual No Date Description of changes ACGM0161V10EN July 2008 First edition ...