EasyManuals Logo

Delta DVP-SS2 User Manual

Delta DVP-SS2
1006 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 #326 background imageLoading...
Page #326 background image
3. Instruction Set
3-205
K30: Swap 16-bit data
Swap the Bit data stored in S+0~S+(N-1) to D+0~D+(N-1).
The movement of BIT SWAP: BIT15BIT0, BIT14BIT1, BIT13BIT2 and so on.
Example: DTM D0 D10 K30 K8
D0 = 0x0001 D10 = 0x8000
D1 = 0x0002 D11 = 0x4000
D2 = 0x0004 D12 = 0x2000
D3 = 0x0008 D13 = 0x1000
D4 = 0x0010 D14 = 0x0800
D5 = 0x0020 D15 = 0x0400
D6 = 0x0040 D16 = 0x0200
D7 = 0x0080 D17 = 0x0100
K31: Copy word type data to the consecutive registers of the PLC
Copy the source value stored in S to the target device as the index value indicated and
then accumulate 1 to the index value.
Note1: when the index value (D+0) is less than 1, it will be treated as 1 and the actions of
data copy and accumulation begin. When the index value (D+0) is bigger than n (default:
n+1), the action of data copy will not begin.
Note 2: D1000~D1999 cannot be used as D devices.
Example:
1. If M0 switches OFFON for 5 times in a row, execute the instruction DTM will copy the
values stored in D0 to D101~105, as the image shown below:

Table of Contents

Other manuals for Delta DVP-SS2

Questions and Answers:

Question and Answer IconNeed help?

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

Delta DVP-SS2 Specifications

General IconGeneral
BrandDelta
ModelDVP-SS2
CategoryController
LanguageEnglish

Related product manuals