Movc (Move Characters) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

MOVC (Move Characters)

The MOVC instruction moves a character string with the specified character set.
Ladder Diagram
MOVC
Operation
When the input is on, a NULL terminator (0x00) (1 byte) is added to the character string specified by S1, and that data is
sequentially transferred to the devices specified by D1 starting from the upper byte of the device.
S1='1234'
Notes:
• The maximum size of the character string that can be specified as S1 is 1,023 bytes.
• This instruction can be used to store a character sting in the data registers that are specified in EMAIL instruction for inserting data registers.
Valid Devices
Device
S1 (Source 1)
D1 (Destination 1)
*1 Special data registers cannot be used.
Settings
S1
D1
N
*****
*****
**
String size
Stored Value
Device
Upper Byte
D0000
'1'=0x31
D0001
'3'=0x33
D0002
0x00
D0003
Function
Character string
Transfer destination
(2)
FC6A S
MICROS
ERIES
MART
Lower Byte
'2'=0x32
'4'=0x34
I
Q
M
(1)
(4)
(5)
(6)
L
P
M
ADDER
ROGRAMMING
ANUAL
5: M
OVE
R
T
C
D
P
Constant
*1
X
(3)
FC9Y-B1726
I
NSTRUCTIONS
Repeat
X
5-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents