Omron FZ4 Series User Manual page 595

Vision sensor
Table of Contents

Advertisement

Unit
Reference:
Processing unit (p.592)
2's complement
Binary numbers are generally used to represent negative numbers.
Negative numbers are expressed by "Inverting all bits of a positive number and adding 1 to the result".
(Example) "-1" is expressed as 2's complement
"-1" can be calculated by "0-1".
There are methods for simple calculation without performing this kind of computation.
For instance, "Negative number = inverting all bits of a positive number and then adding 1 to the result".
The first digit is used to judge whether the number is positive or negative.
When 0: Positive number (or 0)
When 1: Negative number
The advantage of two's complement numbers is that positive and negative numbers can be used as is in
calculations.
(Example) When -1+10=9
FZ4 User's Manual
Terminology Explanations
8
593

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents