Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
34 Applied Instructions (FX3U-CF-ADP)
34.5 FLCMD / FX3U-CF-ADP command
787
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Applied Instructions
(Data Transfer 3)
32
Applied Instructions
(High Speed
Processing 2)
33
Applied Instructions
(Extension File
Register Control)
34
Applied Instructions
(FX
3U
-CF-ADP)
35
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
B
Applied
Instruction List
34.5 FLCMD / FX3U-CF-ADP command
Outline
The FLCMD instruction gives instruction for operation to the FX3U-CF-ADP.
As for explanation of the instruction, see the FX
3U-CF-ADP User's Manual.
1. Format and operation, execution form
2. Set data
3. Applicable devices
Function and operation explanation
1. 16-bit operation (FLCMD)
The FLCMD instruction gives instruction for operation to the CF-ADP.
The contents of instruction are as follows.
1) When is "K-1", the FLCMD instruction forcibly writes all buffered data (stored in the buffer inside the
CF-ADP) to the CompactFlash
TM
card.
2) When is "K0" to "K63", the FLCMD instruction forcibly writes the buffered data of the specified file ID
(stored in the buffer inside the CF-ADP) to the CompactFlash
TM
card.
3) When is "K256 (H100)", the FLCMD instruction sets the CompactFlash
TM
card to the mounted
status if it is in the unmounted status.
4) When is "K512 (H200)", the FLCMD instruction sets the CompactFlash
TM
card to the unmounted
status if it is in the mounted status.
5) When is "K1280 (H500)", the FLCMD instruction clears error codes stored in the CF-ADP.
For details, refer to Detailed explanation of setting data.
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
FLCMD 16 bits Continuous FLCMD(EN,s,n);
Variable Description Data type
Input
variable
EN Execution condition Bit
Instruction for operation (Refer to Detailed explanation of setting data) ANY16
Used channel number [contents of setting : K1 = ch1, K2 = ch2] ANY16
Output
variable
ENO Execution state Bit
Operand
type
Bit Devices Word Devices Others
System user Digit specification
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
VZModifierKH E
""
P
zz z zz
zz
FLCMD
EN ENO
s
n
FLCMD
EN
Instruction for operation
Used channel number
ENO
s
n
Command input