Signed Binary Subtract With Carry: -C(412) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Symbol Math Instructions
3-11-11 SIGNED BINARY SUBTRACT WITH CARRY: –C(412)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
446
Subtraction at 2
0
0
0 0
0
0
Su+1: D00101
Su: D00100
6
8
5 1
F 9 2 D
R+1: D00101
R+1: D00100
CY
1
9
7
A
E
0
6
Final Subtraction Result
Mi+1:
CIO 0201
Mi:
CIO 0200
2 0 F 5
5 A
Su+1:
D00101
Su:
6
8
5 1
F 9 2 D
R+1: D00101
R+1: D00100
CY
9
7
A
E
0
1
The Carry Flag (CY) is turned ON, so the actual number is –97AE06D3.
Because the content of D00101 and D00100 is negative, CY is used to turn
ON CIO 002100 to indicate this.
Subtracts 4-digit (single-word) hexadecimal data and/or constants with the
Carry Flag (CY).
C(412)
Mi: Minuend word
Mi
Su: Subtrahend word
Su
R: Result word
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program
Step program
areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
0
0
D
3
1
0
D00100
6
D
3
Subroutines
areas
OK
Mi
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
Section 3-11
–C(412)
@–C(412)
Not supported.
Interrupt tasks
OK
Su
R
A448 to A959

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents