Mitsubishi Electronics FX3GC Garage Door Opener User Manual


 
587
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
24 Others – FNC181 to FNC189
24.1 FNC182 – COMRD / Read Device Comment Data
21
FNC160-FNC169
Real Time Clock
Control
22
FNC170-FNC179
External Device
23
FNC180
Alternate
Instructions
24
FNC181-FNC189
Others
25
FNC190-FNC199
Block Data
Operation
26
FNC200-FNC209
Character String
Control
27
FNC210-FNC219
Data
Operation 3
28
FNC220-FNC249
Data
Comparison
29
FNC250-FNC269
Data Table
Operation
30
FNC270-FNC276
Ex-Device
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 Works2.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (COMRD and COMRDP)
1) The comment registered for device is read, and stored in ASCII code in and later.
For example, when the comment of is "LineNo.1Start", it is stored in and later as shown below.
Operand Type Description Data Type
Device number for which comment to be read is registered Device name
Head device number storing read comment Character string
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD
.b KnX KnY KnM KnS T C D R
U\G
V Z Modify K H E "
"P
 

P
FNC 182
COMRD
Mnemonic Operation Condition
16-bit Instruction
5 steps
COMRD
COMRDP
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
S
D
S
D
S
D
Command
input
FNC182
COMRDP
S
D
S
D
+0
+1
+2
- 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.
b15 b8 b7 b0
.......
+3
ASCII code of 6th character
ASCII code of 2nd character
ASCII code of 4th character
ASCII code of 1st character
ASCII code of 3rd character
ASCII code of 5th character
ASCII code of 8th character ASCII code of 7th character
ASCII code of 16th character
ASCII code of 14th characterASCII code of 13th character
ASCII code of 15th character
0000H
...
Comment of device specified in
16
characters
can be
stored.
+7
+8
S
D
S
D
+0
+1
+2
- 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.
b15 b8 b7 b0
+3
Comment of
LineNo.1Start
+4
+5
+6
6FH(o)
69H(i)
65H(e)
4CH(L)
6EH(n)
4EH(N)
31H(1) 2EH(.)
20H(space)
74H(t)
72H(r)
53H(S)
61H(a)
74H(t)
20H(space) 20H(space)+7
+8
0000H