EasyManuals Logo
Home>Omron>Controller>CQM1H - PROGRAM

Omron CQM1H - PROGRAM User Manual

Omron CQM1H - PROGRAM
602 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #83 background imageLoading...
Page #83 background image
58
Calculating with Signed Binary Data Section 1-7
modes can be used if an optional Serial Communications Board is installed in
the PC.
Some Programmable Terminals are equipped with Programming Console
functions which allow the Programmable Terminal to program and monitor the
CQM1H. The Programmable Terminal’s Programming Console functions can-
not be used if a Programming Console is connected to the CQM1Hs periph-
eral port. Refer to the Programming Terminal’s Operation Manual for details
on the Programming Console functions.
Communications
Procedure
With NT Link communications, the PC automatically responds to commands
issued from the Programmable Terminal, so communications programming is
not required in the CQM1H and there is no NT Link communications proce-
dure to perform.
1-6-6 Wiring Ports
Refer to the CQM1H Operation Manual for information on wiring the commu-
nications ports.
1-7 Calculating with Signed Binary Data
The CQM1H PCs allow calculations on signed binary data. The following
instructions manipulate signed binary data. Signed data is handled using 2’s
complements.
The following signed-binary instructions are available in CQM1H PCs:
Single-word Instructions
2’S COMPLEMENT – NEG(––)
BINARY ADD – ADB(50)
BINARY SUBTRACT – SBB(51)
SIGNED BINARY MULTIPLY – MBS(––)
SIGNED BINARY DIVIDE – DBS(––)
Double-word (Long) Instructions
DOUBLE 2’S COMPLEMENT – NEGL(––)
DOUBLE BINARY ADD – ADBL(––)
DOUBLE BINARY SUBTRACT – SBBL(––)
DOUBLE SIGNED BINARY MULTIPLY – MBSL(––)
DOUBLE SIGNED BINARY DIVIDE – DBSL(––)
1-7-1 Definition of Signed Binary Data
The CQM1H provides instructions that operate on either one or two words of
data. Signed binary data is manipulated using 2’s complements and the MSB
of the one- or two-word data is used as the sign bit. The range of data that can
be expressed using one or two words is thus as follows:
One-word data:
–32,768 to 32,767 (8000 to 7FFF hexadecimal)
Two-word data:
–2,147,483,648 to 2,147,483,647 (8000 0000 to 7FFF FFFF hexadeci-
mal)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CQM1H - PROGRAM and is the answer not in the manual?

Omron CQM1H - PROGRAM Specifications

General IconGeneral
BrandOmron
ModelCQM1H - PROGRAM
CategoryController
LanguageEnglish

Related product manuals