Exchange - Delta Electronics DVP15MC11T Operation Manual

Table of Contents

Advertisement

DVP15MC11T Operation Manual
8.4.5

Exchange

FB/FC
FC
Exchange is used for the data exchange.
Parameters
Parameter
Meaning
name
Input
In1
signal
Input
In2
signal
● ●
In1
● ●
In2
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
The Exchange instruction exchanges the values of In1 and In2.
Precautions for Correct Use
The data types of In1 and In2 must be same.
The instruction has no output but two input parameters.
_8
Programming Example
The variable table and program
Exchg_EN
Exchg_In1
Exchg_In2
8-24
Input/
Output
Input
Data to exchange
Input
Data to exchange
Bit string
Variable name
Ex chg_EN
Ex chg_I n1
Ex chg_I n2
Explanation
Ex change
EN
ENO
In1
In2
Description
Depends on the data type of the variable
that the input parameter is connected to.
Depends on the data type of the variable
that the input parameter is connected to.
Integer
Data type
BOOL
INT
INT
1
Ex change
EN
ENO
In1
In2
Applicable
DVP15MC11T
Valid range
Real
Time, date
number
Current value
TRUE
30
10
model

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents