439
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
15 External FX I/O Device – FNC 70 to FNC 79
15.8 FNC 77 – PR / Print (ASCII Code)
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High-Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
Extension function
1. 16-byte serial output
The number of output characters varies depending on the ON/OFF status of the special auxiliary relay M8027.
While M8027 is OFF, 8-byte serial output (fixed to 8 characters) is executed. While M8027 is ON, 16-byte serial
output (1 to 16 characters) is executed.
In the example shown below, up to 16 characters (1 character/byte) are output to the display unit (external display unit
A6FD
*1
, for example).
It is supposed that data to be displayed is stored in hexadecimal codes in D300 to D307.
1) Program
2) Connection example of the external display unit A6FD
*1
The PLC shown in the example below is the FX2N-16EYT (sink output) connected to the
FX3U-32M.
*1. A6FD was distributed only inside Japan, however, production of the external display unit A6FD was
terminated in November 2002.
3) Timing chart (while M8027 is ON)
Related devices
*2. Cleared when the PR mode is changed from RUN to STOP.
Device Name Description
M8027
*2
PR mode
OFF: 8-byte serial output (fixed to 8 characters)
ON: 16-byte serial output (1 to 16 characters)
X000
FNC 77
PR
M8027
D300 Y020
External display unit A6FD
*1
PLC
AC100/200V
LG
Y031 Y032
24V
D 0 D 1 D 2 D 3 D 4 D 5 D 6 D 7
Y033
COM1
Y020 Y021 Y022 Y023 Y024 Y025 Y026 Y027
COM2
Y030
STR
COM
12V
AC AC
NC
∼
Head
character
Last
character*
Operation is started when X000 turns ON from OFF.
TTT
T: Operation cycle
or interrupt time
Drive input X000
Data Y020 to Y027
Strobe Y030
Execution flag Y031
Execution complete flag M8029
* If "H00 (NULL code)" is contained in the data (16 characters), the character just before "H00 (NULL code)"
is handled as the last character.