Omron CS1G/H-CPUxxH Instructions Manual page 458

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Conversion Instructions
Example
3-12-6 DOUBLE 2'S COMPLEMENT: NEGL(161)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
When CIO 000000 is ON in the following example, NEG(160) calculates the
2's complement of the content of D00100 and writes the result to D00200.
Calculates the 2's complement of two words of hexadecimal data.
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Actual
calculation
Reverse bit status
Add 1
NEGL(161)
S: First source word
S
R
R: First result word
Step program areas
Subroutines
OK
S
CIO 0000 to CIO 6142
W000 to W510
H000 to H510
A000 to A958
T0000 to T4094
C0000 to C4094
D00000 to D32766
E00000 to E32766
En_00000 to En_32766
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Section 3-12
Equivalent
subtraction
−)
NEGL(161)
@NEGL(161)
Not supported
Interrupt tasks
OK
R
A448 to A958
437

Advertisement

Table of Contents
loading

Table of Contents