EasyManua.ls Logo

Xinje XD5 - Negative [NEG]

Xinje XD5
389 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
Loading...
128
M0
M1
M2
M3
M17
CML DX0 DM0
M8000
X0
X1
X2
X3
X17
4-6-9Negative [NEG]
1. Summary
Get the negative data
Negative [NEG]
16 bits
NEG
32 bits
DNEG
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands
Function
Data Type
D
The source data address
16 bits/ 32 bits, BIN
3. Suitable soft components
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
NEG D10 (D10) +1 (D10)
M0
D·
Converse each bit of source data (1→0, 0→1), then plus one and store the result in the source
data address.
For example, the source data D10 is 20, when M0 rising edge is coming, D10 become -20.
The following two instructions are the same.
The sequential control
instruction in the left could be
denoted by the following
CML instruction.
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
D
Word
Description

Table of Contents

Related product manuals