Omron CS1G/H-CPUxxH Instructions Manual page 521

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Special Math Instructions
500
binary. In CS1-H, CJ1-H, and CJ1M CPU Units, the source data can also be
signed binary data or floating-point data.
Unsigned Integer Data (Binary or BCD)
15
14 13 12 11
10
9
8
7
0
0
0
0
0
C
Floating-point specification for S and D
0: Integer data
Signed data specification for S and D
0: Unsigned binary data
Source data form
0: f(x) = f(S)
− S)
1: f(x) = f(X
m
Output (D) data format
0: Binary
1: BCD
Input (S) data format
0: Binary
1: BCD
Signed Integer Data (Binary)
15
14 13 12 11
10
9
8
7
0
0
0
0
1
0
0
C
Floating-point specification for S and D
0: Integer data
Data length specification for S and D (note 1)
0: 16-bit signed binary data
1: 32-bit signed binary data
Signed data specification for S and D
1: Signed binary data
Single-precision Floating-point Data
15
14 13 12 11
10
9
8
7
0
0
0
0
0
0
1
0
C
Floating-point specification for S and D
1: Single-precision floating-point data
If 16-bit binary or BCD data is being used, the line-segment data is contained
in words C+ 1 through C+2m+2. If 32-bit binary or floating point data is being
used (CS1-H, CJ1-H, and CJ1M CPU Units only), the line-segment data is
contained in words C+ 1 through C+4m+4.
Bits 00 to 07 contain the number (binary) of line coordinates less 1, m–1. Bits
08 to 12 are not used. Bit 13 specifies either f(x)=f(S) or f(x)=f(X
specifies f(x)=f(S) and ON specifies f(x)=f(X
the output is BCD or binary: OFF specifies binary and ON specifies BCD. Bit
6
5
4
3
2
1
0
Number of coordinates minus one (m-1),
00 to FF Hex (1 ≤ m ≤ 256)
6
5
4
3
2
1
0
Number of coordinates minus one (m-1),
00 to FF Hex (1 ≤ m ≤ 256)
6
5
4
3
2
1
0
Number of coordinates minus one (m-1),
00 to FF Hex (1 ≤ m ≤ 256)
–S). Bit 14 determines whether
m
Section 3-14
–S): OFF
m

Advertisement

Table of Contents
loading

Table of Contents