Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
444
FX3G/FX3U/FX3UC Series Programmable Controllers
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)
Extension function
1. 16-byte serial output
Depending on the ON/OFF status of the special auxiliary relay M8027, the number of characters output by one-time
execution of the instruction varies.
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, for example).
It is supposed that data to be displayed is stored in hexadecimal codes in D300 to D307.
1) Connection example of the external display unit A6FD
*1
The PLC shown in the example below is the FX2N-16EYT (sink input/sink output) connected to the
FX
3U-32M.
*1. A6FD was distributed only inside Japan, however, production of the external display unit A6FD was
terminated in November 2002.
2) Timing chart (while M8027 is ON)
Related devices
*1. Cleared when the PR mode is changed from RUN to STOP.
Device Name Description
M8027
*1
PR mode
OFF: 8-byte serial output (fixed to 8 characters)
ON: 16-byte serial output (1 to 16 characters)
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 Y007 to Y000
Strobe Y010
Execution flag Y011
Execution complete flag M8029
* If "H00 (NUL code)" is contained in the data (16 characters), the character just before "H00 (NUL code)"
is handled as the last character.