Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
16 Applied Instructions (External Device)
16.3 ANWR / Write to F2-6A
423
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.3 ANWR / Write to F2-6A
Outline
This instruction writes data from the PLC in the F2-6A type analog input and output unit, and issues as analog
data.
1. Format and operation, execution form
2. Set data
3. Applicable devices
Function and operation explanation
Data is written in from PLC into F2-6A type analog input and output
unit, and issued as analog data.
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 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
ANWR 16 bits Continuous ANWR(EN, s1, s2, n, d);
ANWRP 16 bits Pulse ANWRP(EN, s1, s2, n, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Device for storing analog output data (8-bit binary) ANY16
Head input number of FX2-24EI connected to F2-6A Bit
Channel number of analog output ANY16
Output
variable
ENO Execution state Bit
Head output number of FX2-24EI connected to F2-6A Bit
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 z z z zzz zz z zz
zz
zz
z
ANWR
EN
s1
s2
ENO
d
n
ANWRP
EN
s1
s2
ENO
d
n
X000
Y030
D310
X040
ANWR
EN
s1
s2
ENO
d
n
K0
To write in from D310
into analog input CN0