9: MOVE INSTRUCTIONS9-4 « FC4A MICRO SMART USER ’S MANUAL »MOVN (Move Not)Applicable CPU ModulesValid OperandsFor the valid operand number range, see pages 6-1 and 6-2.▲ Internal relays M0 through M1277 can be designated as D1. Special internal relays cannot be designated as D1.When T (timer) or C (counter) is used as S1, the timer/counter current value is read out. When T (timer) or C (counter) isused as D1, the data is written in as a preset value which can be 0 through 65535.Valid Data TypesExamples: MOVNFC4A-C10R2/C FC4A-C16R2/C FC4A-C24R2/C FC4A-D20K3/S3 FC4A-D20RK1/RS1 & FC4A-D40K3/S3X X X X XOperand Function I Q M R T C D Constant RepeatS1 (Source 1) First operand number to move X X X X X X X X 1-99D1 (Destination 1) First operand number to move to — X ▲ X X X X — 1-99W (word) I (integer)X XS1 NOT → D1When input is on, 16-bit data from operand designated by S1 is invertedbit by bit and moved to operand designated by D1.REP**S1(R)*****D1(R)*****MOVN(*)When a bit operand such as I (input), Q (output), M (internal relay), or R (shift register) isdesignated as the source or destination, 16 points are used. When repeat is designated for abit operand, the quantity of operand bits increases in 16-point increments.When a word operand such as T (timer), C (counter), or D (data register) is designated as thesource or destination, 1 point is used. When repeat is designated for a word operand, thequantity of operand words increases in 1-point increments.M10 NOT → M50When input I0 is on, the 16 internal relays starting with M10 designatedby source operand S1 are inverted bit by bit and moved to 16 internalrelays starting with M50 designated by destination operand D1.M10 through M17, M20 through M27 NOT M50 through M57, M60 through M67The ON/OFF statuses of the 16 internal relays M10through M17 and M20 through M27 are invertedand moved to 16 internal relays M50 through M57and M60 through M67. M50 is the LSB (least signif-icant bit), and M67 is the MSB (most significant bit).Before inversion 0 1 0010 0 0 0 1 0010 1 1MSB LSBS1After inversion 1 0 1101 1 1 1 0 1101 0 0MSB LSBD1I0REPS1 –M10 D1 –M50MOVN(W)(M27-M10):(M67-M50):810 NOT → D2When input I1 is on, decimal constant 810 designated by source operandS1 is converted into 16-bit binary data, and the ON/OFF statuses of the16 bits are inverted and moved to data register D2 designated by destina-tion operand D1.D1D064725D2 810Before inversion (810): 0 0 1000 0 1 0 1 1000 1 0MSB LSBS1After inversion (64725): 1 1 0111 1 0 1 0 0111 0 1MSB LSBD1I1REPS1 –810 D1 –D2MOVN(W)D30 NOT → D20When input I2 is on, the data in data registerD30 designated by S1 is inverted bit by bit andmoved to data register D20 designated by D1.64605D20930D30I2REPS1 –D30 D1 –D20MOVN(W)