Mitsubishi Electronics FXCPU Welding System User Manual


 
5.3 Standard Arithmetic Functions
148
FXCPU Structured Programming Manual
(Application Functions)
5.3.7 MOVE(_E)
Outline
This function transfers data stored in a device to another device.
1. Format
*1. Output variable
2. Set data
In explanation of functions, I/O variables inside ( ) are described.
Explanation of function and operation
This function transfers data stored in a device specified in to a device specified in .
Cautions
1) Use the function having "_E" in its name to connect a bus.
2) When handling 32-bit data in structured programs, you cannot specify 16-bit devices directly, different
from simple projects. Use labels when handling 32-bit data.
You can specify 32-bit counters directly, however, because they are 32-bit devices.
Use global labels when specifying labels.
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S
FX
U
/FX
2C
FX0N FX0(S)
Function name
Expression in each language
Structured ladder ST
MOVE
MOVE(_IN);
Example:
D10:=
MOVE(D0);
MOVE_E
MOVE_E(EN,_IN,Output label);
Example:
MOVE_E(X000,D0,D10);
Variable Description Data type
Input
variable
EN Execution condition Bit
_IN ( )
Transfer source data, or word device which stores such data ANY
Output
variable
ENO Execution status Bit
*1 ( )
Transfer destination word device ANY
MOVE
*1
D10D0 _IN
MOVE_E
EN ENO
*1
D10
X000
D0
_IN
s
d
s d
1212
Word [signed] data
s
Word [signed] data
d