Omron SYSMAC CVM1 Series Operation Manual page 282

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Symbol Math Instructions
DOUBLE SIGNED BINARY SUBTRACT WITH CARRY: –CL(413)
Ladder Symbol
(413)
–CL
Mi
Variations
j –CL(413)
Description
Precautions
264
Operand Data Areas
Mi: Minuend word
Su
R
Su: Subtrahend word
R: Result word
SIGNED BINARY SUBTRACT WITHOUT CARRY
When the execution condition is OFF, –(410) is not executed. When the execu-
tion condition is ON, –(410) subtracts the contents of Su from Mi and places the
result in R. If the subtraction resulted in a borrow, CY is set. To obtain the true
answer when the result is negative, the 2's complement placed in R must be sub-
tracted from 0000.
DOUBLE SIGNED BINARY SUBTRACT WITHOUT CARRY
When the execution condition is OFF, –L(411) is not executed. When the execu-
tion condition is ON, –L(411) subtracts the 8-digit value in Su and Su+1 from the
8-digit value in Mi and Mi+1, and places the result in R and R+1. If the subtraction
resulted in a borrow, CY is set.
SIGNED BINARY SUBTRACT WITH CARRY
When the execution condition is OFF, –C(412) is not executed. When the execu-
tion condition is ON, –C(412) subtracts the contents of Su and CY from Mi and
places the result in R. If the subtraction resulted in a borrow, CY is set.
Mi
DOUBLE SIGNED BINARY SUBTRACT WITH CARRY
When the execution condition is OFF,
execution condition is ON,
and Su+1 from the 8-digit value in Mi and Mi+1, and places the result in R and
R+1. If the subtraction resulted in a borrow, CY is set.
Refer to page 101 for general precautions on operand data areas.
CIO, G, A, T, C, #, DM,
CIO, G, A, T, C, #, DM,
CIO, G, A, DM,
Mi
Su
CY
Mi + 1
Su + 1
CY
R + 1
– Su
– CY
CY
–CL(413)
–CL(413)
subtracts CY and the 8-digit value in Su
Mi + 1
Su + 1
CY
R + 1
Section 5-20
R
Mi
Su
R
R
is not executed. When the
Mi
Su
CY
R

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents