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

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

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
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
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
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.
588
Mnemonic
16-bit Instruction
P
5 steps COMRD
COMRDP
Device number for which comment to be read is registered
Head device number storing read comment
Digit Specification
S
FNC182
S
COMRDP
S
S
S
24.1 FNC182 – COMRD / Read Device Comment Data
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
is read, and stored in ASCII code in
D
b15
+0
ASCII code of 2nd character
D
+1
ASCII code of 4th character
+2
ASCII code of 6th character
+3
ASCII code of 8th character ASCII code of 7th character
ASCII code of 14th character ASCII code of 13th character
+7
ASCII code of 16th character
+8
is "LineNo.1Start", it is stored in
b15
+0
69H(i)
D
+1
65H(e)
+2
6FH(o)
+3
31H(1)
+4
74H(t)
+5
72H(r)
+6
20H(space)
+7
20H(space)
+8
24 Others – FNC181 to FNC189
Mnemonic
32-bit Instruction
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
and later.
D
b8 b7
ASCII code of 1st character
ASCII code of 3rd character
ASCII code of 5th character
ASCII code of 15th character
0000H
and later as shown below.
D
b8 b7
b0
4CH(L)
6EH(n)
4EH(N)
2EH(.)
53H(S)
61H(a)
74H(t)
20H(space)
0000H
Operation Condition
Data Type
Device name
Character string
Others
Charac-
Pointer
ter String
" "
P
b0
16
characters
can be
stored.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents