7 Applied Instructions
7.16 External Device
589
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Function and operation explanation
1. 16-bit operation (WR3A, WR3AP)
<For FX3U and FX3UC PLCs>
This instruction writes a digital value to the analog block FX
0N-3A or FX2N-2DA.
: Special block number
FX
3U and FX3UC (D, DSS) series PLCs: :K0 to K7
FX
3UC-32MT-LT(-2) :K1 to K7 (K0 indicates the built-in CC-Link/LT master.)
: Analog output channel number
FX
0N-3A : K1(ch1)
FX
2N-2DA : K21(ch1), K22(ch2)
: Data to be written
This specifies the value to be written to the analog block.
FX
0N-3A : 0 to 255 (8 bits)
FX
2N-2DA : 0 to 4095 (12 bits)
<For FX
1N and FX1NC PLCs>
This instruction writes a digital value to the analog block FX
0N-3A.
: Special block number
K0 to K7
: Analog output channel number
Valid for K1 only
: Data to be written
This specifies the value to be written to the analog block.
FX
0N-3A : 0 to 255 (8 bits)
<For FX
2N and FX2NC PLCs>
This instruction writes a digital value to the analog block FX
0N-3A or FX2N-2DA.
: Special block number
K0 to K7
: Analog output channel number
FX
0N-3A : K1(ch1)
FX
2N-2AD : K21(ch1), K22(ch2)
: Data to be written
This specifies the value to be written to the analog block.
FX
0N-3A : 0 to 255 (8 bits)
FX
2N-2DA : 0 to 4095(12 bits)
Cautions
1) The FX2N and FX2NC PLCs of V3.00 or later support RD3A instruction.
2) Some restrictions to applicable devices.
S1: Applicable to the FX
3U and FX3UC PLCs only.
[Structured ladder]
WR3A
EN
m1
m2
ENO
s
Data to be written or word device
storing data to be written.
Command
input
Special block number
Analog output channel
[ST]
WR3A(EN,m1,m2,s);