Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 494

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Special Math Instructions
Setting the Data Format in Control Word C
• 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
specified in S directly or on X
line-segment data.)
Setting name
Input data (S) format
Output data (D) format
Source data form
Signed data specification for S and D
Data length specification for S and D
Floating-point specification
• 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
line-segment data.)
Setting name
Input data (S) format
Output data (D) format
Source data form
Signed data specification for S and D
Data length specification for S and D
Floating-point specification
• 16-bit Signed Binary Data
Setting name
Input data (S) format
Output data (D) format
Source data form
Signed data specification for S and D
Data length specification for S and D
Floating-point specification
• 32-bit Signed Binary Data
Setting name
Input data (S) format
Output data (D) format
Source data form
Signed data specification for S and D
Data length specification for S and D
Floating-point specification
–S. (X
is the maximum value of X in the
m
m
Bit in C
15
0: Binary
1: BCD
14
0: Binary
1: BCD
13
0: Operate on S
1: Operate on X
11
0: Unsigned data
10
Invalid (fixed at 16 bits)
09
0: Integer data
–S. (X
is the maximum value of X in the
m
m
Bit in C
15
0: Binary
1: BCD
14
0: Binary
1: BCD
13
0: Operate on S
1: Operate on X
11
0: Unsigned data
10
Invalid (fixed at 16 bits)
09
0: Integer data
Bit in C
15
0: Binary
14
0: Binary
13
0
11
1: Signed data
10
0: 16-bit signed binary data
09
0: Integer data
Bit in C
15
0: Binary
14
0: Binary
13
0
11
1: Signed data
10
1: 32-bit signed binary data
09
0: Integer data
Section 3-13
Setting
–S
m
Setting
–S
m
Setting
Setting
461

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents