Mitsubishi Electric FX3G SERIES Programming Manual page 447

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
Extension function
When M8161 is set to ON for making the extension function valid, a half-width alphanumeric character string specified
in
S
is converted into ASCII codes, and transferred in turn only to low-order 8 bits (1 byte) of
Command
input
FNC 76
M8000
"H00" is stored in high-order 8 bits.
D
D
+1
D
+2
D
+3
D
+4
D
+5
D
+6
D
+7
Related devices
Device
M8161
Extension function flag
Caution
1. Number of occupied devices
1)
While the extension function is OFF
-
D
occupies as many devices as the number of characters divided by "2". (The decimal point is rounded
up.)
2)
While the extension function is ON
-
D
occupies as many devices as the number of characters in the character string.
2. When using RS (FNC 80), ASCI (FNC 82), HEX (FNC 83) and/or CCD (FNC 84) instructions
The extension function flag M8161 is also used for other instructions.
When using an instruction described above and the ASC instruction in the same program, make sure to set M8161 to
ON or OFF just before the ASC instruction so that M8161 does not apply to another instruction.
S
ASC
Example: ABCDEFGH
High-order 8 bits
00
00
00
00
00
00
00
00
Name
8-bit processing mode for ASC (FNC 76), RS (FNC 80), ASCI (FNC 82), HEX (FNC 83) and
CCD (FNC 84) instructions
OFF:
Two characters are stored to low-order 8 bits and high-order 8 bits in this order at one
time (2 characters/word).
ON:
One character is stored to low-order 8 bits at one time (1 character/word).
15 External FX I/O Device – FNC 70 to FNC 79
15.7 FNC 76 – ASC / ASCII Code Data Input
M8161
D
M8161
D
Low-order 8 bits
41
42
43
44
45
46
47
48
Description
D
.
S
Character string
A
B
C
D
E
F
G
H
445
11
12
13
14
15
16
17
18
19
20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents