Fnc182 - Comrd / Read Device Comment Data - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
24.1
FNC182 – COMRD / Read Device Comment Data
Outline
This instruction reads the comment data for registered devices written to the PLC by programming software such as
GX Developer.
1. Instruction format
FNC 182
P
COMRD
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
S
D
Explanation of function and operation
1. 16-bit operation (COMRD and COMRDP)
1)
The comment registered for device
Command
input
Comment of device specified in
- When M8091 is OFF, "0000H" is written to the device following the final character.
- When M8091 is ON, the device following the final character does not change.
For example, when the comment of
Comment of
S
LineNo.1Start
- When M8091 is OFF, "0000H" is written to the next device following the final character.
- When M8091 is ON, the device following the final character does not change.
Series
Mnemonic
16-bit Instruction
5 steps COMRD
COMRDP
Device number for which comment to be read is registered
Head device number storing read comment
Digit Specification
is read, and stored in ASCII code in
S
FNC182
S
D
COMRDP
+0
D
+1
+2
S
+3
+7
+8
S
D
24.1 FNC182 – COMRD / Read Device Comment Data
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D
R U \G
V
b15
b8 b7
ASCII code of 2nd character
ASCII code of 4th character
ASCII code of 6th character
ASCII code of 8th character ASCII code of 7th character
ASCII code of 14th character ASCII code of 13th character
ASCII code of 16th character
0000H
is "LineNo.1Start", it is stored in
b15
b8 b7
+0
69H(i)
+1
65H(e)
+2
6FH(o)
+3
31H(1)
+4
74H(t)
+5
72H(r)
+6
20H(space)
+7
20H(space)
+8
0000H
24 Others – FNC181 to FNC189
Mnemonic
Operation Condition
Data Type
Device name
Character string
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z
Modify K
H
E
" "
and later.
D
b0
ASCII code of 1st character
ASCII code of 3rd character
ASCII code of 5th character
16
characters
can be
stored.
ASCII code of 15th character
and later as shown below.
D
b0
4CH(L)
6EH(n)
4EH(N)
2EH(.)
53H(S)
61H(a)
74H(t)
20H(space)
21
22
23
24
Pointer
P
25
26
27
28
29
30
581

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents