7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
775
7
• (D)+0 and (D)+1 to (D)+9 store the execution result of the instruction and module model name, respectively. A value stored
in (D) is as follows:
■When the model name has been written to the target module (example: QJ71GP21-SX)
The following table shows the examples of model names stored in (D)+1 to (D)+9.
■When the model name has not been written to the target module (example: QX40)
The following table shows the examples of character strings stored in (D)+1 to (D)+9.
Target module Stored model name
CPU module Q06UDEHCPU
Intelligent function module QJ71GP21-SX
GOT GOT1000
Target module Stored character string
Input module (16 points) INPUT_16
Output module (32 points) OUTPUT_32
I/O combined module (64 points) MIXED_64
Intelligent function module (16 points) INTELLIGENT_16
[Character string indicating module type]
• Input module: INPUT
• Output module: OUTPUT
• I/O combined module: MIXED
• Intelligent function module (includes the QI60 and GOT): INTELLIGENT
[Character string indicating the number of points]
• 16 points: _16
• 32 points: _32
• 48 points: _48
• 64 points: _64
• 128 points: _128
• 256 points: _256
• 512 points: _512
• 1024 points: _1024
4AH (J)
D
0
b15 to b8 b7 to b0
31
H (1)
50
H (P)
31
H (1)
53
H (S)
00
H
00H
00H
00H
00H
00H
00H
51H (Q)
Stores 0.
Stores the model name that has been
written to the target module
(stored in ASC II).
Stores the remaining model name and
00
H to the 12th to 17th devices and
the 18th device, respectively.
Indicates that the model name
that has been written to
the target module is stored.
37
H (7)
47
H (G)
32
H (2)
2D
H (-)
58
H (X)
+0
D
+1
D
+2
D
+3
D
+4
D
+5
D
+6
D
+7
D
+8
D
+9
Nine words are used.
4EH (N)
D
1
b15 to b8 b7 to b0
55
H (U)
5F
H (_)
36
H (6)
00
H
00H
00H
00H
00H
00H 00H
00H
00H
00H
49H (I)
Stores 1.
Stores the character string consists
of module type and the number of points.
(stored in ASC II).
Stores the remaining model name and
00
H to the 12th to 17th devices and
the 18th device, respectively.
Indicates that the character
string consists of module type and
the number of points is stored.
50
H (P)
54
H (T)
31
H (1)
+0
D
+1
D
+2
D
+3
D
+4
D
+5
D
+6
D
+7
D
+8
D
+9
Nine words are used.