Mitsubishi Electric MELSEC-Q Structured Programming Manual page 100

Hide thumbs Also See for MELSEC-Q:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
[Device & Common]
d) Transferring the contents of a data register to another data register
3) Using unoccupied timers and counters as data registers
Operation example using the MOV instruction
Timers and counters not used in a program can be used as devices for storing 16-bit or 32-bit numeric
values (data registers).
With regard to 32-bit data, two 16-bit timers or counters (such as C1 and C0) can express 32-bit data in
the same way as data registers.
Each 32-bit counter (such as C200) can handle 32-bit data individually.
98
MOV
EN
ENO
s
d
D10
MOV
EN
ENO
s
d
K300
TN10
MOV
EN
ENO
s
d
TN10
CN20
The contents of D10 are transferred to D20.
D20
"300 (decimal value)" is transferred to T10.
The contents of T10 are transferred to the current
value register of C20.
In this case, T10 is not working as a timer, but is
working as a data register.
2 Devices in Detail
2.8 Data Register and File Register [D]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-lMelsec-fFx3sFx3gFx3gcFx3u ... Show all

Table of Contents