EasyManuals Logo
Home>Delta Electronics>Controller>DVP15MC11T

Delta Electronics DVP15MC11T User Manual

Delta Electronics DVP15MC11T
601 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #97 background imageLoading...
Page #97 background image
DVP15MC11T Operation Manual
_8
8.4.6 Swap
FB/FC
Explanation
Applicable
model
FC
Swap is used for swapping the high byte and low byte of a 16-bit value. DVP15MC11T
Parameters
Parameter
name
Meaning
Input/
Output
Description Valid range
In
Input
signal
Input Data to swap 0~65535 for word data type
Out
Output
signal
Output Result 0~65535 for word data type
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In
Out
Note:
The symbol indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
The Swap instruction exchanges the high byte and low byte of the value of In and the result is output to
Out.
Programming Example
The variable table and program
Variable name
Data type
Current value
Swap_EN
BOOL
TRUE
Swap_In
UINT
32768
Out1
UINT
128
Swap
EN ENO
In Out
1
Swap
EN ENO
In Out
Swap_EN
Swap_In Out1
8-26

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta Electronics DVP15MC11T and is the answer not in the manual?

Delta Electronics DVP15MC11T Specifications

General IconGeneral
BrandDelta Electronics
ModelDVP15MC11T
CategoryController
LanguageEnglish

Related product manuals