Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
22 Applied Instructions (External Device)
22.3 RD3A / Read form Dedicated Analog Block
572
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 16-bit operation (RD3A, RD3AP)
<For FX3G, FX3GC, FX3U and FX3UC PLCs>
This instruction reads an analog input value from the analog block FX
0N-3A or FX2N-2AD.
: Special block number
FX
3G, FX3GC, FX3U and FX3UC (D, DS, DSS) series PLCs: K0 to K7
FX
3UC-32MT-LT(-2) : K1 to K7 (K0 indicates the built-in CC-Link/LT master.)
: Analog input channel number
FX
0N-3A
*1
: K1(ch1), K2(ch2)
FX
2N-2AD : K21(ch1), K22(ch2)
: Read data
A value read from the analog block is stored.
FX
0N-3A
*1
: 0 to 255 (8 bits)
FX
2N-2AD : 0 to 4095 (12 bits)
*1. The FX
0N-3A is available only for the FX3U and FX3UC PLCs.
<For FX
1N and FX1NC PLCs>
This instruction reads an analog input value from the analog block FX
0N-3A.
: Special block number
K0 to K7
: Analog input channel number
FX
0N-3A : K1(ch1), K2(ch2)
FX
2N-2AD : K21(ch1), K22(ch2)
: Read data
A value read from the analog block is stored.
FX
0N-3A : 0 to 255 (8 bits)
<For FX
2N and FX2NC PLCs>
This instruction reads an analog input value from the analog block FX
0N-3A or FX2N-2AD.
: Special block number
K0 to K7
: Analog input channel number
FX
0N-3A : K1(ch1), K2(ch2)
FX
2N-2AD : K21(ch1), K22(ch2)
: Read data
A value read from the analog block is stored.
FX
0N-3A : 0 to 255 (8 bits)
FX
2N-2AD : 0 to 4095 (12 bits)
Cautions
1) RD3A instruction is provided in the FX2N and FX2NC PLCs Ver.3.00 or later.
2) Some restrictions to applicable devices
S1: The FX
3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
[Structured ladder/FBD]
RD3A
EN
m1
m2
ENO
d
Word device storing
the read data
Command
input
Special block number
Analog input channel
[ST]
RD3A(EN,m1,m2,d);