EasyManuals Logo

Delta DVP-15MC Series User Manual

Delta DVP-15MC Series
972 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 #116 background imageLoading...
Page #116 background image
Chapter 8 Logic Instructions
8-29
8_
FB/FC
Explanation
Applicable model
FC
Swap is used for swapping the high byte and low byte of a 16-bit value.
DVP15MC11T
DVP15MC11T-06
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-15MC Series and is the answer not in the manual?

Delta DVP-15MC Series Specifications

General IconGeneral
BrandDelta
ModelDVP-15MC Series
CategoryController
LanguageEnglish

Related product manuals