![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030614.webp)
574
Special Math Instructions
Section 3-14
binary. In CS1-H, CJ1-H, CJ1M, and CS1D CPU Units, the source data can
also be signed binary data or floating-point data.
Unsigned Integer Data (Binary or BCD)
Signed Integer Data (Binary)
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
m
–S): OFF
specifies f(x)=f(S) and ON specifies f(x)=f(X
m
–S). Bit 14 determines whether
the output is BCD or binary: OFF specifies binary and ON specifies BCD. Bit
C
0
3
14 13 12 11
9
10
8
7
6
5
4
2
1
15
0
0
0
0
0
Number of coordinates minus one (m
−
1),
00 to FF hex (1
≤
m
≤
256)
Source data form
0: f(x) = f(S)
1: f(x) = f(X
m
−
S)
Output (D) data format
0: Binary
1: BCD
Input (S) data format
0: Binary
1: BCD
Floating-point specification for S and D
0: Integer data
Signed data specification for S and D
0: Unsigned binary data
C
0
3
14 13 12 11
9
10
8
7
6
5
4
2
1
15
0
0
0
0
1
0
0
Number of coordinates minus one (m
−
1),
00 to FF hex (1
≤
m
≤
256)
Floating-point specification for S and D
0: Integer data
Signed data specification for S and D
1: Signed binary data
Data length specification for S and D (note 1)
0: 16-bit signed binary data
1: 32-bit signed binary data
C
0
3
14 13 12 11
9
10
8
7
6
5
4
2
1
15
0
0
1
0
0
0
0
0
Number of coordinates minus one (m
−
1),
00 to FF hex (1
≤
m
≤
256)
Floating-point specification for S and D
1: Single-precision floating-point data
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...