Xinje XD Series User Manual page 120

Hide thumbs Also See for XD Series:
Table of Contents

Advertisement

Two operands
D
Be subtracted data and result address
S1
Subtract data address
Suitable soft component
Operand
Word
Three operands
S1
S2
D
Two operands
D
S1
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
Description
<Three operands>
appoint the soft unit's content, subtract the soft unit's content appointed by
format of algebra. The result will be stored in the soft unit appointed by
The action of each flag, the setting method of 32 bits operation's soft units are both the same
with the preceding ADD instruction.
The importance is: in the preceding program, if X0 is ON, SUB operation will be executed
every scan cycle.
Refer to chapter 4-6-1 for flag action and functions.
<Two operands>
appoint the soft unit's content, subtract the soft unit's content appointed by
S1·
format of algebra. The result will be stored in the soft unit appointed by
The action of each flag, the setting method of 32 bits operation's soft units are both the same
with the preceding ADD instruction.
The importance is: in the preceding program, if X0 is ON, SUB operation will be executed
every scan cycle. Rising or falling pulse edge is recommended to activate the instruction.
Refer to chapter 4-6-1 for flag action and functions.
System
D *
FD
TD *
CD *
DX
X0
SUB
(D10) — (D12) → (D10)
16 bits /32 bits,BIN
16 bits /32 bits,BIN
Constant
DY
DM *
DS *
K /H
(D10) — (D12) → (D14)
S1·
D10
D12
119
Module
ID
QD
in the
(5-(-8)=13).
in the
S2·
(5-(-8)=13)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xl seriesXd3Xd5

Table of Contents