FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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
*1
A6FD
, for example).
It is supposed that data to be displayed is stored in hexadecimal codes in D300 to D307.
1)
Program
X000
2)
Connection example of the external display unit A6FD
The PLC shown in the example below is the FX
FX
-32M .
3U
COM1 Y020 Y021 Y022 Y023 Y024 Y025 Y026 Y027 COM2 Y030
12V
24V
COM
D 0 D 1 D 2 D 3 D 4 D 5 D 6 D 7
External display unit A6FD
*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)
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.
Related devices
Device
*2
M8027
*2.
Cleared when the PR mode is changed from RUN to STOP.
M8027
FNC 77
D300
Y020
PR
*1
Operation is started when X000 turns ON from OFF.
Head
character
T
T
T
Name
OFF:
8-byte serial output (fixed to 8 characters)
PR mode
ON:
16-byte serial output (1 to 16 characters)
15 External FX I/O Device – FNC 70 to FNC 79
15.8 FNC 77 – PR / Print (ASCII Code)
*1
-16EYT (sink output) connected to the
2N
PLC
Y031 Y032
NC
STR
Last
character*
T: Operation cycle
or interrupt time
Description
Y033
AC100/200V
∼
AC
AC
LG
11
12
13
14
15
16
17
18
19
20
447