Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
16 Applied Instructions (External Device)
16.2 ANRD / Read from F2-6A
421
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
16.2 ANRD / Read from F2-6A
Outline
This instruction writes the analog input of F2-6A type analog input and output unit.
1. Format and operation, execution form
2. Set data
3. Applicable devices
Function and operation explanation
To read in analog input of F2-6A type analog input and output unit.
The content of the device specified by , is determined by the
connection position of FX
2-24EI type special adapter.
In the device specified by , 8-bit binary analog data is stored.
Caution
The instruction is not provided in the FXU and FX2C PLCs Ver. 3.30 or later.
This instruction is disused from V3.30 and later.
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
ANRD 16 bits Continuous ANRD(EN, s, n, d1, d2);
ANRDP 16 bits Pulse ANRDP(EN, s, n, d1, d2);
Variable Description Data type
Input
variable
EN Execution condition Bit
Head input number of FX2-24EI connected to F2-6A (16 points occupied) Bit
Channel number of analog input (n=10,11,12,13) ANY16
Output
variable
ENO Execution state Bit
Head output number of FX2-24EI connected to F2-6A (8 points occupied) Bit
Device storing analog input value (8-bit binary) ANY16
Operand
type
Bit Devices Word Devices Others
System user Digit designation
System
user
Special
unit
Index
Con
stant
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
z
zz
z
z z z zzz zz z
ANRD
EN
s
n
ENO
d1
d2
ANRDP
EN
s
n
ENO
d1
d2
X000
Y030X040
ANRD
EN
s
n
ENO
d1
d2K10 D300
To read out from analog
input CH10 to D300.