![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030531.webp)
491
Conversion Instructions
Section 3-12
3-12-5 2’S COMPLEMENT: NEG(160)
Purpose
Calculates the 2’s complement of a word of hexadecimal data.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
3
2
0
A
0
0
2
D
x16
7
x16
6
x16
5
x16
4
S+1: CIO 0011
S: CIO 0010
1
9
3
0
0
2
9
6
x10
7
x10
6
x10
5
x10
4
x16
3
x16
2
x16
1
x16
0
x10
3
x10
2
x10
1
x10
0
2X16
5
+13X16
4
+3X16
3
+2X16
2
+10=2961930
R+1: D00101
R: D00100
MBS
MBS
LSB
LSB
NEG(160)
S
R
S
: Source word
R
: Result word
Variations
Executed Each Cycle for ON Condition
NEG(160)
Executed Once for Upward Differentiation
@NEG(160)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
S
R
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Bit Area
H000 to H511
Auxiliary Bit Area
A000 to A959
A448 to A959
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
DM Area
D00000 to D32767
EM Area without bank
E00000 to E32767
EM Area with bank
En_00000 to En_32767
(n = 0 to C)
Indirect DM/EM
addresses in binary
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...