EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 495

Omron CJ - INSTRUCTIONS
1308 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
Loading...
457
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Special Math Instructions
3
APR
z 16-bit Unsigned BCD Data
The input data and/or the output data can be 16-bit
unsigned BCD data. Also, the linear extrapolation
function can be set to operate on the value speci-
fied in S directly or on X
m
-S. (X
m
is the maximum
value of X in the line-segment data.)
z 16-bit Unsigned Binary Data
The input data and/or the output data can be 16-bit
unsigned binary data. Also, the linear extrapolation
function can be set to operate on the value speci-
fied in S directly or on X
m
-S. (X
m
is the maximum
value of X in the line-segment data.)
z 16-bit Signed Binary Data (CJ2, CS1-
H, CJ1-H, CJ1M, and CS1D Only)
z 32-bit Signed Binary Data (CJ2, CS1-
H, CJ1-H, CJ1M, and CS1D Only)
Setting name Bit in C Setting
Input data (S) format
15
0: Binary
1: BCD
Output data (D) format
14
0: Binary
1: BCD
Source data form
13
0: Operate on S
1: Operate on X
m
-S
Signed data specification for S
and D
11
0: Unsigned data
Data length specification for S
and D
10
Invalid (fixed at 16 bits)
Floating-point specification 09 0: Integer data
Setting name Bit in C Setting
Input data (S) format
15
0: Binary
1: BCD
Output data (D) format
14
0: Binary
1: BCD
Source data form
13
0: Operate on S
1: Operate on X
m
-S
Signed data specification for S
and D
11
0: Unsigned data
Data length specification for S
and D
10
Invalid (fixed at 16 bits)
Floating-point specification 09 0: Integer data
Setting name Bit in C Setting
Input data (S) format 15 0: Binary
Output data (D) format 14 0: Binary
Source data form 13 0
Signed data specification for S
and D
11
1: Signed data
Data length specification for S
and D
10
0: 16-bit signed binary
data
Floating-point specification 09 0: Integer data
Note If the “Data length specification for S and D” in bit 10 of C is set to 1 and
a 16-bit constant is input for S, the input data will be converted to 32-bit
signed binary before the linear extrapolation calculation.
Setting name Bit in C Setting
Input data (S) format 15 0: Binary
Output data (D) format 14 0: Binary
Source data form 13 0
Signed data specification for S
and D
11
1: Signed data
Data length specification for S
and D
10
0: 32-bit signed binary
data
Floating-point specification 09 0: Integer data

Table of Contents

Related product manuals