Fnc182 - Comrd / Read Device Comment Data - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
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
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 T C D R U \G
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.
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
S
FNC182
S
D
COMRDP
+0
D
+1
+2
S
+3
+7
+8
24.1 FNC182 – COMRD / Read Device Comment Data
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Index
Unit
V Z Modify K H
is read, and stored in ASCII code in
b15
b8 b7
ASCII code of 2nd character
ASCII code of 1st character
ASCII code of 4th character
ASCII code of 3rd character
ASCII code of 6th character
ASCII code of 5th 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
ASCII code of 15th character
0000H
24 Others – FNC181 to FNC189
Mnemonic
Operation Condition
Data Type
Device name
Character string
Others
Con-
Real
Charac-
Pointer
stant
Number
ter String
E
" "
P
and later.
D
b0
16
characters
can be
stored.
613
21
22
23
24
25
26
27
28
29
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents