C
· Single-precision Floating-point Data
C
16-bit BCD16-bit binary (signed or
unsigned) or 16-bit BCD data
C+1
C+2
C+3
C+4
C+5
C+6
C+ (2m+1)
C+ (2m+2)
Note: Write Xm (max. X
value in the table) in word
C+1 when the I/O data in S
and D contain unsigned
data (bit 11 of C = 0).
Note: The X coordinates must be in ascending order: X
Operand Specifications
Area
CIO
WR
HR
C
S
OK
OK
OK
R
CS/CJ/NSJ Series Instructions Reference Manual (W474)
· Signed Integer Data (Binary)
15
14 13 12 11
10
9
8
7
0
0
0
0
1
0
0
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
15
14 13 12 11
10
9
8
7
0
0
0
0
0
0
1
0
Floating-point specification for S and D
1: Single-precision floating-point data
32-bit signed binary data
C+1
X0 (rightmost 16 bits)
X0 (*1)
C+2
X0 (leftmost 16 bits)
Y0
Y0 (rightmost 16 bits)
C+3
X1
C+4
Y0 (leftmost 16 bits)
Y1
X1 (rightmost 16 bits)
C+5
X2
C+6
X1 (leftmost 16 bits)
Y2
Y1 (rightmost 16 bits)
C+7
Y1 (leftmost 16 bits)
C+8
Xn
to
to
Yn
Xn (rightmost 16 bits)
C+ (4n+1)
Xn (leftmost 16 bits)
C+ (4n+2)
Xm
Yn (rightmost 16 bits)
C+ (4n+3)
Ym
C+ (4n+4)
Yn (leftmost 16 bits)
to
to
C+ (4m+1)
Xm (rightmost 16 bits)
C+ (4m+2)
Xm (leftmost 16 bits)
Ym (rightmost 16 bits)
C+ (4m+3)
Ym (leftmost 16 bits)
C+ (4m+4)
all values of (X
, Y
) as binary data, regardless of the data format
n
n
specified in control word C.
Word addresses
AR
T
C
DM
EM
OK
OK
OK
OK
OK
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)
_
_
C+1
C+2
C+3
C+4
C+5
C+6
C+7
C+8
to
C+ (4n+1)
C+ (4n+2)
C+ (4n+3)
C+ (4n+4)
to
C+ (4m+1)
C+ (4m+2)
C+ (4m+3)
C+ (4m+4)
< X
1
2
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
OK
OK
OK
OK
---
3. Instructions
Floating-point data
X0 (rightmost 16 bits)
X0 (leftmost 16 bits)
Y0 (rightmost 16 bits)
Y0 (leftmost 16 bits)
X1 (rightmost 16 bits)
X1 (leftmost 16 bits)
Y1 (rightmost 16 bits)
Y1 (leftmost 16 bits)
to
Xn (rightmost 16 bits)
Xn (leftmost 16 bits)
Yn (rightmost 16 bits)
Yn (leftmost 16 bits)
to
Xm (rightmost 16 bits)
Xm (leftmost 16 bits)
Ym (rightmost 16 bits)
Ym (leftmost 16 bits)
< ... < X
. Input
m
Registers
Flags
Pulse
Indirect
IR
TK
CF
using IR
---
OK
---
---
3
TR
bits
bits
---
---
455
Need help?
Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?
Questions and answers