Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 614

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Special Math Instructions
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)
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)
1: f(x) = f(X
S)
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
6
5
4
3
2
1
0
Number of coordinates minus one (m-1),
00 to FF hex (1
m
6
5
4
3
2
1
0
Number of coordinates minus one (m-1),
00 to FF hex (1
m
–S). Bit 14 determines whether
m
Section 3-14
256)
256)
256)
–S): OFF
m
575

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Table of Contents