Fnc 305 - Flstrd / Fx - 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
34.6
FNC 305 – FLSTRD / FX
Outline
The FLSTRD instruction reads the status (including the error information and file information) of the FX
1. Instruction format
FNC 305
FLSTRD
2. Set data
Operand Type
S
D
n
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
n
Explanation of function and operation
1. 16-bit operation (FLSTRD)
Command
input
FNC305
FLSTRD
The FLSTRD instruction reads the status information of the CF-ADP. The following contents can be read.
The number of data stored in
• When
is "K0" to "K63" the FLSTRD instruction reads the final line position and final column position
S
of each file.
• When
is "K256 (H100)" the FLSTRD instruction reads file IDs stored in the CompactFlash
S
• When
is "K512 (H200)" the FLSTRD instruction reads the data capacity.
S
• When
is "K768 (H300)" the FLSTRD instruction reads the version information of the CF-ADP.
S
• When
is "K1024 (H400)" the FLSTRD instruction reads the error information (error flag) for errors
S
having occurred in the CF-ADP.
• When
is "K1280 (H500)" the FLSTRD instruction reads error codes and error code details. Up to 5 of
S
the latest error codes and error code details can be stored.
For details, refer to Subsection 34.6.1.
-CF-ADP status read
3U
Mnemonic
16-bit Instruction
FLSTRD
7 steps
Contents of status to be read (Refer to Subsection 34.6.1)
Head device to which the read status is written (Refer to Subsection 34.6.1)
Used channel number [contents of setting : K1 = ch1, K2 = ch2]
Digit Specification
S
D
n
varies depending on the contents of the read status.
D
34 FX3U-CF-ADP Applied Instructions – FNC300 to FNC305
34.6 FNC 305 – FLSTRD / FX3U-CF-ADP status read
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Index
Unit
V Z Modify K H
Used channel number
Head device to which the read status is written
Contents of status to be read
-CF-ADP.
3U
Mnemonic
Operation Condition
Data Type
16-bit binary
16-bit binary
16-bit binary
Others
Con-
Real
Charac-
Pointer
stant
Number
ter String
E
" "
P
TM
card.
799
31
32
33
34
35
36
37
38
A
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents