FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726 5-9
5: M
OVE
I
NSTRUCTIONS
MOVC (Move Characters)
The MOVC instruction moves a character string with the specified character set.
Ladder Diagram
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.
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
*1 Special data registers cannot be used.
Settings
Device
Stored Value
Upper Byte Lower Byte
S1='1234'
D0000 '1'=0x31 '2'=0x32
D0001 '3'=0x33 '4'=0x34
D0002 0x00
D0003
N
**
D1
*****
S1
*****
MOVC
String size
Device Function I Q M R T C D P Constant Repeat
S1 (Source 1) Character string — — — — — — — — X —
D1 (Destination 1) Transfer destination — — — — — — X
*1
—— —