beautypg.com

2 instructions, Bit unsigned bcd data, Bit unsigned binary data – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 258: Bit signed binary data 32-bit signed binary data

background image

2 Instructions

2-222

CP1E CPU Unit Instructions Reference Manual(W483)

16-bit Unsigned BCD Data

The input data and/or the output data can
be 16-bit unsigned BCD data. Also, the lin-
ear extrapolation function can be set to
operate on the value specified in S directly
or on X

m

-S. (X

m

is the maximum value of X

in the line-segment data.)

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 specified in S directly
or on X

m

-S. (X

m

is the maximum value of X

in the line-segment data.)

16-bit Signed Binary Data

32-bit Signed Binary 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

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

1: 32-bit signed binary
data

Floating-point specification

09

0: Integer data

This manual is related to the following products: