Omron SYSMAC CS Series Instruction & Reference Manual page 312

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
–C/–CL
Instruction
SIGNED BINARY SUBTRACT
WITH CARRY
DOUBLE SIGNED BINARY
SUBTRACT WITH CARRY
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
–C: Minuend word
Mi
–CL: First minuend word
–C: Subtrahend word
Su
–CL: First subtrahend word
–C: Result word
R
–CL: First result word
 Operand Specifications
Area
CIO
WR
HR
MI, Su
–C
OK
OK
OK
R
Mi, Su
–CL
OK
OK
OK
R
278
Mnemonic
Variations
–C
@–C
–CL
@–CL
–C
−C(412)
Mi: Minuend word
Mi
Su: Subtrahend word
Su
R
R: Result word
Block program areas
Step program areas
OK
OK
Description
Word addresses
AR
T
C
DM
EM
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Function
code
Subtracts 4-digit (single-word) hexadecimal data
412
and/or constants with the Carry Flag (CY).
Subtracts 8-digit (double-word) hexadecimal data
413
and/or constants with the Carry Flag (CY).
Subroutines
Interrupt tasks
OK
Data type
–C
–CL
INT
DINT
INT
DINT
INT
DINT
Indirect
DM/EM
Registers
Con-
addresses
stants
@DM
*DM
DR
IR
@EM
*EM
OK
OK
OK
OK
---
---
OK
OK
OK
---
---
---
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
–CL
–CL(413)
Mi
Mi: Minuend word
Su
Su: Subtrahend word
R
R: Result word
SFC action or
transition programs
OK
OK
Size
–C
–CL
1
2
1
2
1
2
Pulse
TK
CF
bits
Indirect
using IR
OK
---
---
---
OK
---
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents