Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
14 Applied Instructions (External FX I/O Device)
14.8 PR / Print (ASCII Code)
378
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
14.8 PR / Print (ASCII Code)
Outline
This instruction performs parallel output of ASCII code data to the output (Y).
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
Function and operation explanation
1. 16-bit operation (PR)
ASCII code stored in lower 8 bits (1 byte) of to +7 is issued to to +7 sequentially in time
division character by character.
The following timing chart explains the ASCII code stored in the device specified by .
The transmission sequence begins from ="A", and ends with +7="H", and 8 bytes are transmitted in
total.
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD ST
PR 16 bits Continuous PR(EN, s, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Head device for storing data of ASCII code. String
Output
variable
ENO Execution state Bit
Head device for output data of ASCII code. Bit
Operand
type
Bit Devices Word Devices Others
System user Digit designation
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
""
P
zzz
S1
z
zz
+1 +2 +3 +4 +5 +6 +7
A(H41) B(H42) C(H43) D(H44) E(H45) F(H46) G(H47) H(H48)
PR
EN
s
ENO
d
Command input
PR
EN
s
ENO
d
Head device for storing
data of ASCII code.
Head device for output
data of ASCII code.