Fnc 77 - Pr / Print (Ascii Code) - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
15.8
FNC 77 – PR / Print (ASCII Code)
Outline
This instruction outputs ASCII code data to outputs (Y) in parallel.
1. Instruction format
FNC 77
PR
2. Set data
Operand Type
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
Explanation of function and operation
1. 16-bit operation (PR)
ASCII codes stored in low-order 8 bits (1 byte) of
one character at a time in the time division method.
Command
input
FNC 77
The timing chart below shows a case in which the following ASCII codes are stored in
Eight bytes are sent from
S
A (H41)
464
Mnemonic
16-bit Instruction
5 steps
PR
Head device number storing ASCII code data
Head output (Y) number to which ASCII code data is output
Digit Specification
S
D
PR
= "A" at first to "
S
S
+1
S
+2
B (H42)
C (H43)
15 External FX I/O Device – FNC 70 to FNC 79
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Unit
to
+7 are output to
S
S
+7 = "H" at the end.
S
S
+3
S
+4
D (H44)
E (H45)
15.8 FNC 77 – PR / Print (ASCII Code)
Mnemonic
Operation Condition
Character string
(only ASCII codes)
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
to
D
D
to
S
S
+5
S
+6
F (H46)
G (H47)
Data Type
Bit
Charac-
Pointer
ter String
" "
P
+7 in turn by
+7.
S
S
+7
H (H48)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents