4. Motion Control Instructions 4.6.32. MOVF Explanation of the instruction: When EN is on, the content of S1 is sent to the zone with D as the starting register and the data length is specified by S2. When the data length S2 is larger than maximum 64, it is counted as 64. And the part above 64 is invalid. MOVF is used for sending one 16-bit integer to multiple target registers. Explanation of input and output parameter of the instruction: Note: This instruction can be used for multi-point transmission of 16-bit integer only.
Program example 20 20 D10 20 D11 20 D12 S2=5 20 D13 20 D14 DVP-MC operating manual 4-135 API Move 16-bit integer to multiple registers Controller MOVF 159 10MC11T Parameter Data Available Explanation name type device EN “MOVF” is executed as “EN” turns on. BOOL M,I,Q, constant S1 The source where the data comes from. INT Constant,D S2 The length of the transmitted zone, the max value for S2 is 64. UINT Constant,D D The starting one of the target registers INT D