Mitsubishi — 5.6 Descriptions of the Applied Instructions

AH500 Motion Control Module Manual  m 1 : Special module number ( m 1 is in the range of 0 to 255.); m 2 : Control register number ( m 2 is in the range of 0 to 499.); D : Data which will be written into a control register; n : Quantity of data which will be written (16-bit instruction: 1~(500- m 2 ); 32-bit instruction: 1~(500- m 2 )/2  A motion control module can write data into a control register in a special module by means of the instruction. Explanation  The 32-bit instruction DTO is used. The value in (D11, D10) is written into (CR#13, CR#12) in special module 0. One value is written at a time.  When X0.0 is ON, the instruction is executed.

When X0.0 is turned OFF, the instruction is not executed, and the value which is written remains unchanged. Example X0.0 5-76 API Instruction code Operand Function Writing data into a 79 D TO P m , m , S, n 1 2 control register in a special module Device Xn.n Yn.n M S K 16# F KnM KnS D W T C V Z m 1         m 2         S         n         Pulse instruction 16-bit instruction (9 steps) 32-bit instruction (13 steps )    DTO K0 K12 D10 K1